Re: [gentoo-user] Cleanup kde-3.4
On Thu, 08 Dec 2005 23:26:44 -0600, Kevin Hanson wrote: qpkg -I -nc -g kde-base | xargs emerge --prune This is what I use and it works well: #!/bin/bash for x in `ls /usr/portage/kde-base`; do if [ $x != CVS ]; then echo -n =kde-base/$x-3.4* fi done |xargs emerge -Cpv This only works for 3.4, whereas --prune removed all older packages. Also, by using -I with qpkg, it only acts on packages that are installed, not the whole of kde-base. On the other hand,your approach works better if you used the monolithic ebuild for 3.5 and the split ebuilds for 3.5. -- Neil Bothwick I've got a mind like a... a... what's that thing called? signature.asc Description: PGP signature
Re: [gentoo-user] Cleanup kde-3.4
Neil Bothwick wrote: On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune This is what I use and it works well: #!/bin/bash for x in `ls /usr/portage/kde-base`; do if [ $x != CVS ]; then echo -n =kde-base/$x-3.4* fi done |xargs emerge -Cpv Cheers, Kevin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cleanup kde-3.4
Isn't qpkg deprecated? Does anybody know the equivalent un-deprecated replacement of this command? Neil Bothwick wrote: On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune
Re: [gentoo-user] Cleanup kde-3.4
On 12/7/05, Catalin Grigoroscuta [EMAIL PROTECTED] wrote: Isn't qpkg deprecated? Does anybody know the equivalent un-deprecated replacement of this command? Neil Bothwick wrote: On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune equery is the actual replacement -- Andres -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cleanup kde-3.4
And listed from the kde docs, the best way to remove is:equery list kde-base/ | grep 3.4 | xargs emerge --unmerge --pretendOn 12/7/05, Andres Becerra Sandoval [EMAIL PROTECTED] wrote: On 12/7/05, Catalin Grigoroscuta [EMAIL PROTECTED] wrote:Isn't qpkg deprecated?Does anybody know the equivalent un-deprecated replacement of this command? Neil Bothwick wrote:On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote:I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages.As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --pruneequery is the actual replacement --Andres--gentoo-user@gentoo.org mailing list-- Steven Susbauer
Re: [gentoo-user] Cleanup kde-3.4
On Wed, 2005-12-07 at 17:46 +0200, Catalin Grigoroscuta wrote: Isn't qpkg deprecated? Does anybody know the equivalent un-deprecated replacement of this command? Neil Bothwick wrote: As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune The replacement is equery. However since equery lists version numbers in it's output, the command to replace the above is more complex: equery -q list -f kde-base/.* | sed 's/-r[0-9].*$//;s/\(^.*\/*\)-.*/\1/' | uniq | xargs emerge --prune Another option is app-portage/portage-utils. Using the qlist applet, the above command is: qlist -C -I kde-base | uniq | xargs emerge --prune Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cleanup kde-3.4
On Wed, 07 Dec 2005 17:46:12 +0200, Catalin Grigoroscuta wrote: Isn't qpkg deprecated? Yes, but it still works and is the best tool for this particular task. Does anybody know the equivalent un-deprecated replacement of this command? equery is generally the replacement for qpkg, but its output isn't as suitable for this task. -- Neil Bothwick Plagarism prohibited. Derive carefully. signature.asc Description: PGP signature
Re: [gentoo-user] Cleanup kde-3.4
Am Mittwoch, 7. Dezember 2005 01:42 schrieb ext Neil Bothwick: On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune I posted this to the german list a few minutes ago: Libtool (*.la) files in /usr still contain references to /usr/kde/3.4, so like after a GCC upgrade you should also replace 3.4 with 3.5: find /usr/lib -name *.la -exec sed -i s%/kde/3.4/%/kde/3.5/%g {} \; Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net pgp4Bm8Gg4TwA.pgp Description: PGP signature
Re: [gentoo-user] Cleanup kde-3.4
On Tue, 6 Dec 2005 18:19:27 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. As posted yesterday: qpkg -I -nc -g kde-base | xargs emerge --prune -- Neil Bothwick Fascinating, said Spock, watching Kirk's lousy acting. signature.asc Description: PGP signature
Re: [gentoo-user] Cleanup kde-3.4
On Tue, 2005-12-06 at 18:19 -0600, Boyd Stephen Smith Jr. wrote: I've just completed an upgrade to kde-meta-3.5 from kde-meta-3.4 -- what's the beast way to clean up all the old kde 3.4 packages. emerge -C kde-meta; emerge --depclean doesn't work: depclean does not show any of the kde 3.4 packages as candidates for removal. Check if this one will do it: emerge -Ca /var/db/pkg/kde-base/*3.4* -- #Joseph -- gentoo-user@gentoo.org mailing list