Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clean out your world file
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Tue May 18, 2004 11:06 am    Post subject: Reply with quote

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 8)

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
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Tue May 18, 2004 6:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Wed May 19, 2004 4:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 20, 2004 3:20 am    Post subject: Reply with quote

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 :oops:
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 20, 2004 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
plainzwalker
n00b
n00b


Joined: 22 Nov 2003
Posts: 62
Location: Rose Barracks, Vilseck, Germany

PostPosted: Thu May 20, 2004 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Thu May 20, 2004 8:05 am    Post subject: Reply with quote

you could try running the script as:
Code:
bash -x pruneworld

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
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Thu May 20, 2004 12:09 pm    Post subject: Reply with quote

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 :oops:


Oh not my mistake this time, jolly good. Works fine now.
_________________
undvd - ripping dvds should be as simple as unzip
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 20, 2004 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat May 22, 2004 1:31 am    Post subject: Reply with quote

Have found an error in the USE code, though. Fixed and released as 0.1.7 "Open the pod bay doors, HAL."
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
teedog
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 211

PostPosted: Sat May 22, 2004 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat May 22, 2004 7:43 am    Post subject: Reply with quote

Yeah, that's a known bug in Portage. It doesn't really matter as portage exits at that point anyway.

Oh, 0.1.8 "Insertion Sort" is now available; it sorts the output of e.g. pruneworld gtk+* properly by version.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
teedog
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 211

PostPosted: Sat May 22, 2004 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat May 22, 2004 10:01 pm    Post subject: Reply with quote

Oops, forgot to sync the website copy. Thanks.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Sun May 23, 2004 10:27 am    Post subject: Reply with quote

!!!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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sun May 23, 2004 4:47 pm    Post subject: Reply with quote

Oh yeah, didn't think of that. Thanks.
btw, you might want to switch your virtual/linux-sources virtual to vanilla-sources (/var/cache/edb/virtuals) then you can unmerge the other sources you have installed.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Sun May 23, 2004 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sun May 23, 2004 5:29 pm    Post subject: Reply with quote

Oops, yeah, I though virtual/linux-sources was in the system profile, turns out I added it with my custom stacked profile. I'll look into virtuals in the world file, thanks for the heads up.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 24, 2004 1:02 am    Post subject: Reply with quote

Well, that was a little work. Virtuals are now handled properly (though some testing may be good).
I give you: version 0.1.10 "Indistinguishable from a rigged demo".
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Mon May 24, 2004 6:12 pm    Post subject: Reply with quote

well, it still can't detect (ie.) vixie-cron is depending on virtual/mta ...
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 24, 2004 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Tue May 25, 2004 2:42 pm    Post subject: Reply with quote

maybe because my virtual/mta is net-mail/sendmail ?
(/var/cache/edb/virtuals:virtual/mta net-mail/sendmail)
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue May 25, 2004 4:06 pm    Post subject: Reply with quote

No, that won't make a difference... so strange!

What does "pruneworld --exec rdepend sys-apps/vixie-cron-3.0.1-r4" give?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Tue May 25, 2004 4:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue May 25, 2004 4:39 pm    Post subject: Reply with quote

Now that ain't right! :D

I've rewritten the dep extracting code - can you redownload it and try again?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4 ... 27, 28, 29  Next
Page 3 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum