View previous topic :: View next topic |
Author |
Message |
mallchin l33t
Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Tue May 18, 2004 11:06 am Post subject: |
|
|
ecatmur wrote: | Whoo, upgrade time. You can now do: Quote: | $ ./pruneworld gtk+-1*
preparing USE list.................................................................................................
x11-libs/gtk+-1.2.10-r10:
x11-libs/gtk+-1.2.10-r11:
app-emulation/XWine-0.3.2
gnome-base/gnome-libs-1.4.2
media-libs/imlib-1.9.14-r1
media-libs/libdv-0.102
media-libs/smpeg-0.4.4-r4
media-sound/lame-3.96
media-video/mplayer-1.0_pre4-r1
net-analyzer/nmap-3.50-r1
net-www/dillo-0.8.0-r2
net-www/netscape-flash-6.0.81
x11-themes/gtk-engines-2.2.0
|
Plus it now uses the portage depcache, for cleaner dependency resolution.
As a result it is dog slow. But them's the breaks - better slow and accurate, than fast and broken. |
Yep, definately the most garish colours I've seen in the forums as yet
Script looks sweet, I'll give it a try at home later on! _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Tue May 18, 2004 6:41 pm Post subject: |
|
|
I've got the following error on my server: Code: | !!!REDUNDANT ENTRY!!! net-misc/dhcp depended on by:
SYSTEM PROFILE (as net-misc/dhcpcd) |
net-misc/dhcp is a server, not a client! (and net-misc/dhcp != dhcpcd)
i suppose this is a simple ^$ error |
|
Back to top |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Wed May 19, 2004 4:33 pm Post subject: |
|
|
Lovely script! A bit odd however that I get this output (the package list probably doesn't matter but I included it just to be safe):
Code: | # pruneworld
/usr/local/bin/pruneworld: line 2: PORTDIR=/usr/portage: No such file or directo
ry
/usr/local/bin/pruneworld: line 2: DISTDIR=/distfiles: No such file or directory
/usr/local/bin/pruneworld: line 2: PKGDIR=/packages: No such file or directory
/usr/local/bin/pruneworld: line 2: PORT_LOGDIR=/var/log/portage: No such file or
directory
/usr/local/bin/pruneworld: line 2: PORTDIR_OVERLAY=/usr/local/portage: No such f
ile or directory
/usr/local/bin/pruneworld: line 2: PORTAGE_TMPDIR=/var/tmp: No such file or dire
ctory
/usr/local/bin/pruneworld: line 2: CCACHE_DIR=/ccache: No such file or directory
/usr/local/bin/pruneworld: line 2: CHOST=i386-pc-linux-gnu: command not found
/usr/local/bin/pruneworld: line 2: ARCH=x86: command not found
/usr/local/bin/pruneworld: line 2: ACCEPT_KEYWORDS=x86: command not found
cat: /profiles/base/use.defaults: No such file or directory
app-admin/gentoo-rsync-mirror
app-admin/metalog
app-admin/sudo
app-admin/superadduser
app-admin/webmin
app-arch/rar
app-misc/screen
app-portage/gentoolkit
app-portage/mirrorselect
dev-db/mysql
dev-db/phpmyadmin
dev-libs/cyrus-sasl
dev-perl/Mail-SpamAssassin
dev-php/mod_php
dev-util/ccache
dev-util/subversion
kde-base/kde
kde-base/kdeaccessibility
kde-base/kdeedu
kde-base/kdetoys
net-analyzer/iftop
net-analyzer/netselect
net-analyzer/nmap
net-dns/bind-tools
net-dns/ddclient
net-fs/nfs-utils
net-fs/samba
net-mail/courier-imap
net-mail/fetchmail
net-mail/fetchyahoo
net-mail/postfix
net-mail/procmail
net-misc/ltsp-core
net-misc/netkit-telnetd
net-misc/rdate
net-misc/tftp-hpa
net-www/apache
net-www/links
net-www/lynx
net-www/mod_gzip
sys-apps/vixie-cron
sys-apps/xinetd
sys-boot/grub
sys-devel/distcc
sys-fs/dosfstools
sys-fs/reiserfsprogs
x11-libs/gtk+
47 packages in world: 47 valid, 0 redundant;
70 packages in system;
264 packages installed: 26% in system, 17% in world, 55% deps. |
_________________ undvd - ripping dvds should be as simple as unzip |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Thu May 20, 2004 3:24 am Post subject: |
|
|
Meeuw wrote: | I've got the following error on my server: Code: | !!!REDUNDANT ENTRY!!! net-misc/dhcp depended on by:
SYSTEM PROFILE (as net-misc/dhcpcd) |
net-misc/dhcp is a server, not a client! (and net-misc/dhcp != dhcpcd)
i suppose this is a simple ^$ error | Well, pretty close. I took the opportunity to refactor the virtuals code, so it should all work now. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
plainzwalker n00b
Joined: 22 Nov 2003 Posts: 62 Location: Rose Barracks, Vilseck, Germany
|
Posted: Thu May 20, 2004 7:25 am Post subject: |
|
|
I think i found a little problem in the script... unless im missing something, but I get this error:
world-cleaner: line 434: syntax error near unexpected token `fi'
world-cleaner: line 434: `fi'
I don't know what to look.....but if someone can point me in the right direction I would love to give this script a try. |
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Thu May 20, 2004 8:05 am Post subject: |
|
|
you could try running the script as:
It should give you a complete trace of the program.
if it goes too fast: Code: | bash -x pruneworld 2>&1|less |
Last edited by Meeuw on Thu May 20, 2004 12:22 pm; edited 1 time in total |
|
Back to top |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Thu May 20, 2004 12:09 pm Post subject: |
|
|
ecatmur wrote: | numerodix wrote: | Lovely script! A bit odd however that I get this output (the package list probably doesn't matter but I included it just to be safe):
|
Sorry, you downloaded it at a bad time. It should be OK now |
Oh not my mistake this time, jolly good. Works fine now. _________________ undvd - ripping dvds should be as simple as unzip |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Thu May 20, 2004 5:23 pm Post subject: |
|
|
plainzwalker wrote: | I think i found a little problem in the script... unless im missing something, but I get this error:
world-cleaner: line 434: syntax error near unexpected token `fi'
world-cleaner: line 434: `fi'
I don't know what to look.....but if someone can point me in the right direction I would love to give this script a try. | No idea, sorry, I can't see any errors around that part of the script. _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
teedog Apprentice
Joined: 09 Mar 2004 Posts: 211
|
Posted: Sat May 22, 2004 5:27 am Post subject: |
|
|
I get the following error when I choose not to unemerge:
Code: |
Do you want me to unmerge these packages? [Yes/No] no
Traceback (most recent call last):
File "/usr/bin/emerge", line 2366, in ?
if 1==unmerge(myaction, myfiles):
File "/usr/bin/emerge", line 1833, in unmerge
__main__.myopts+=["--pretend"]
NameError: global name '__main__' is not defined
|
|
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
teedog Apprentice
Joined: 09 Mar 2004 Posts: 211
|
Posted: Sat May 22, 2004 8:42 pm Post subject: |
|
|
ecatmur wrote: |
Oh, 0.1.8 "Insertion Sort" is now available; it sorts the output of e.g. pruneworld gtk+* properly by version. |
The pruneworld script still says 0.1.7, btw. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Sun May 23, 2004 10:27 am Post subject: |
|
|
!!!REDUNDANT ENTRY!!! sys-kernel/vanilla-sources depended on by:
RUNNING KERNEL
i suppose this isn't true... when i remove it from my world file emerge depclean wants to remove it from my system ... |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Sun May 23, 2004 5:10 pm Post subject: |
|
|
I already had that virtual
But I still need virtual/linux-sources in my world file...
though it seems pruneworld doesn't look at the virtuals yet...
(i've added virtual/mta to my world file and pruneworld doesn't tell me it's redundant) |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Mon May 24, 2004 6:12 pm Post subject: |
|
|
well, it still can't detect (ie.) vixie-cron is depending on virtual/mta ... |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon May 24, 2004 7:11 pm Post subject: |
|
|
Weird, it definitely works for me: Code: | sys-boot/grub
sys-devel/prelink
sys-libs/libstdc++-v3
!!!REDUNDANT ENTRY!!! virtual/mta depended on by:
sys-apps/vixie-cron-3.0.1-r4
x11-misc/cosmos
x11-misc/electricsheep
x11-misc/fireflies
x11-misc/glunarclock
| I wonder what's different? _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Tue May 25, 2004 2:42 pm Post subject: |
|
|
maybe because my virtual/mta is net-mail/sendmail ?
(/var/cache/edb/virtuals:virtual/mta net-mail/sendmail) |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Tue May 25, 2004 4:22 pm Post subject: |
|
|
Code: | # bash pruneworld --exec rdepend sys-apps/vixie-cron-3.0.1-r4
-app
-devel/patch )
-lib
/
/cronba
/lib
/portage-2.0.47-r10 >=
>=
e-0.2.1-r3 virtual/mta
ed-4.0.5
elinux )
elinux ) !boot
elinux? (
trap? (
y
Return value: 0 |
Code: | # cat /var/cache/edb/dep/sys-apps/vixie-cron-3.0.1-r4
>=sys-apps/portage-2.0.47-r10 >=sys-apps/sed-4.0.5 selinux? ( sys-libs/libselinux ) !bootstrap? ( sys-devel/patch )
!virtual/cron >=sys-apps/cronbase-0.2.1-r3 virtual/mta selinux? ( sys-libs/libselinux )
0
mirror://gentoo/vixie-cron-3.0.1.tar.bz2
http://www.vix.com/
as-is
The Vixie cron daemon
x86 ~ppc sparc ~alpha mips hppa ~ia64 amd64 ppc64
eutils
selinux |
Code: | # sed '1ba;2ba;13ba;d;:a;s/\s\+/\n/g' /var/cache/edb/dep/sys-apps/vixie-cron-3.0.1-r4
>=
y
-app
/portage-2.0.47-r10 >=
y
-app
/
ed-4.0.5
elinux? (
y
-lib
/lib
elinux ) !boot
trap? (
y
-devel/patch )
!virtual/cron >=
y
-app
/cronba
e-0.2.1-r3 virtual/mta
elinux? (
y
-lib
/lib
elinux ) |
|
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
|