stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Hi folks, i ran into problems keeping my ports-collection up to date. Although i did a portsnap fet and install i think there are obsolete an old ports still on the disk. I tried to compile a programm and it complained about an older version of a depending package. I deleted the whole ports-dir,

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 15:27, Beastie-Boy wrote: i ran into problems keeping my ports-collection up to date. Although i did a portsnap fet and install i think there are obsolete an old ports still on the disk. portsnap will synchronise your ports tree with what is in the FreeBSD CVS repo. The way it

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Warren Block
On Sat, 19 May 2012, Matthew Seaman wrote: That's a bit drastic and pretty much something you'ld never actually want to do in normal usage. However, for completeness' sake: # pkg_delete -af will remove all installed ports. After doing that there should be hardly anything left under

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 16:07, Warren Block wrote: The -f is probably not needed. I've done this rarely enough to not recall, but -a should sort everything in the right order so dependencies are uninstalled in order. I find that 'pkg_delete -af' gives more reliable results. Agreed, it should not be

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Ok, many thanks for your replies. I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. The problem i had was that gdm, gnome didnt start after the upgrade. So i tried to build the gnome and gdm thing again via

Re: stay up to date with ports and packages, problem

2012-05-19 Thread RW
On Sat, 19 May 2012 11:08:19 -0700 (PDT) Beastie-Boy wrote: Ok, many thanks for your replies. I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. When you cross a major OS release boundary, you need to

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Polytropon
On Sat, 19 May 2012 19:43:09 +0100, RW wrote: On Sat, 19 May 2012 11:08:19 -0700 (PDT) Beastie-Boy wrote: Ok, many thanks for your replies. I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. When

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 20:08, Beastie-Boy wrote: I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. Ahah! That is exactly the situation where you do want to remove all your installed ports and rebuild them.

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Polytropon
On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote: Ok, many thanks for your replies. I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. When you do such an update (major version number), you should

Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 21:09, Polytropon wrote: Sorry i cant paste logs, bsd is running on another machine. You can use SSH to log into the BSD machine and cut text from the session. :-) Or just run: % script /tmp/session.log Do all your updating tasks, then type 'exit' when done, and you'll get

Re: stay up to date with ports and packages, problem

2012-05-19 Thread doug
On Sat, 19 May 2012, Polytropon wrote: On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote: Ok, many thanks for your replies. I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. That excplains maybe why i had obsolete/old packages/ports on my disk. When you do such an