Compatability with FreeBSD Ports [debian package tools]
Sarunas Vancevicius
svan at redbrick.dcu.ie
Thu Aug 18 06:41:03 PDT 2005
On 11:38, Thu 18 Aug 05, Steve O'Hara-Smith wrote:
> On Wed, 17 Aug 2005 10:11:25 -0700 (PDT)
> Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Illusion. Every time I have ever used portupgrade, the result has
> > been a completely broken system. Every time.
>
> I do use source builds by habit - I've been bitten several times
> by binary ports depending on different system libraries to those I have
> installed. I also tend to have a number of build options selected (like
> I don't want a GUI for mplayer) - for flwm I even have a custom patch file
> with my preferences in it :)
>
> I live in fear of ever deciding I need OpenOffice.Org :)
I usually prefer binary ports because its much faster(my laptop is
an old P3 500), so building large packages is a no-no.
I usually delete all of packages, and get a new binary packages once
in a while (like 4-6 months).
(single user mode)
change roots shell to a standard one(if it was zsh/bash)
# pkg_info -a | awk 'BEGIN {FS = "-"}; {print $1}' > ~/pkg_info_before_upgrade #save what packages are now installed
# pkg_delete -a #delete all ports
Then pkg_add -r $few_large_packages_with_tons_of_dependencies (X,
firefox, etc).
Get currently installed packages(without the version) and do a diff
on what we had before, install few packages, repeat the diff,
install again, until I have all of packages that I had before.
Use this at your own risk, so far I did this 2 or 3 times
and has worked fine. YMMV.
Sarunas
More information about the Users
mailing list