[gentoo-user] Unmerge KDE script

2006-06-22 Thread Mick
Hi All, I am trying to unmerge KDE 3.4 using the script below and it comes up with an error. = for x in `ls /usr/portage/kde-base`; do if [ $x != CVS ]; then echo -n =kde-base/$x-3.4* fi done |xargs emerge -Cv

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 13:46, Mick wrote: I am trying to unmerge KDE 3.4 using the script below and it comes up with an error. [SNIP] How do I get over this problem? Use this instead: cd /var/db/pkg emerge -Cva kde-base/*-3.4* -- Bo Andresen pgpaqsW971xYC.pgp Description: PGP

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 14:12, Neil Bothwick wrote: Because it doesn't try to remove anything by explicit version number, it won't have the sort of error you found. Well actually the big difference is that you are using the list of installed packages from the kde-base category whereas he is

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Dirk Heinrichs
Am Donnerstag, 22. Juni 2006 13:46 schrieb ext Mick: Hi All, I am trying to unmerge KDE 3.4 using the script below and it comes up with an error. What about emerge --unmerge kde emerge -a --depclean revdep-rebuild ? Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Neil Bothwick
On Thu, 22 Jun 2006 14:18:51 +0200, Bo Ørsted Andresen wrote: Well actually the big difference is that you are using the list of installed packages from the kde-base category whereas he is using the complete list of packages in /usr/portage/kde-base and assuming that everyone of them have a

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 15:03, Dirk Heinrichs wrote: What about emerge --unmerge kde emerge -a --depclean revdep-rebuild ? This assumes that kde was the only package that he added to the world file. If he wants to do something like this the following would make more sense: # emerge --clean

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Mick
On 22/06/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Thursday 22 June 2006 15:03, Dirk Heinrichs wrote: What about emerge --unmerge kde emerge -a --depclean revdep-rebuild ? This assumes that kde was the only package that he added to the world file. If he wants to do something like

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Bo Ørsted Andresen
On Thursday 22 June 2006 15:31, Mick wrote: Thank you all for your replies.  I have not installed KDE 3.5 yet.  I am just trying to remove monolithic 3.4 first. In that case you can replace --clean (or --prune) with --unmerge. You had a look at [1]? The original error was because you didn't

Re: [gentoo-user] Unmerge KDE script

2006-06-22 Thread Mick
On 22/06/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: In that case you can replace --clean (or --prune) with --unmerge. You had a look at [1]? One worked nicely thank you. :-) Finally you should know that because kde is slotted you do not have to remove kde-3.4 before installing