Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reverse dependencies & unneeded packages
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
BearingSpacer
n00b
n00b


Joined: 17 Feb 2003
Posts: 19

PostPosted: Fri Aug 27, 2004 6:56 pm    Post subject: Reply with quote

looks like it works, mostly.
I get an error with gtk+, same error as upper in the thread :(

I'll try to measure the output against the world file, to see what's left.
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Tue Aug 31, 2004 5:44 pm    Post subject: Reply with quote

the problem seems to be gone.
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
duderonomy
Guru
Guru


Joined: 20 Mar 2004
Posts: 340
Location: SF Bay Area

PostPosted: Tue Aug 31, 2004 9:21 pm    Post subject: Reply with quote

Thank you for testing pkdep and verifying the results.
We are listening for feedback and encourage use of the tool.

Repeating the URL to download pkdep
(on page two of this thread for convenience):

http://www.mediaweb.com/gentoo/scripts/pkdep/

Cheers,
D
Back to top
View user's profile Send private message
Kurse
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 169
Location: Midwest, USA

PostPosted: Fri Nov 12, 2004 10:38 pm    Post subject: Reply with quote

Just found this script and thought I would try it.
This cant be right, can it?

Code:

gentoo root # ./pkdep-r1.4
The following packages are not depended upon by anything else:

        app-accessibility/mbrola-3.0.1h-r1
        app-accessibility/speechd-0.56-r1
        app-admin/metalog-0.8_pre20031130
        app-admin/sudo-1.6.7
        app-admin/sysstat-5.0.2
        app-admin/webmin-1.160
        app-antivirus/clamav-0.75.1
        app-arch/cabextract-1.1
        app-arch/rpm2targz-9.0-r2
        app-arch/sharutils-4.2.1-r10
        app-arch/tar-1.14
        app-cdr/cdrtools-2.1
        app-cdr/k3b-0.11.17
        app-crypt/cryptplug-0.3.16
        app-crypt/hashalot-0.3
        app-dicts/aspell-en-0.51.1
        app-editors/gvim-6.3-r1
        app-editors/nano-1.3.4
        app-editors/vim-6.3-r1
        app-editors/vim-core-6.3-r2
        app-misc/colordiff-1.0.4
        app-misc/screen-4.0.2
        app-office/openoffice-1.1.3
        app-portage/gentoolkit-0.2.0_pre8-r1
        app-portage/mirrorselect-0.86
        app-portage/portagemaster-0.2.1
        app-shells/sash-3.7
        app-shells/tcsh-6.12-r3
        app-text/dgs-0.5.10-r1
        app-text/docbook-sgml-dtd-4.1-r2
        app-text/docbook-sgml-dtd-3.1-r2
        app-text/docbook-sgml-dtd-4.0-r2
        app-text/docbook-sgml-dtd-3.0-r2
        app-text/docbook-xml-dtd-4.2
        app-text/ghostscript-7.7.1-r7
        dev-java/avalon-logkit-bin-1.2.2
        dev-java/blackdown-jdk-1.4.1
        dev-java/blackdown-jre-1.4.1
        dev-java/jzlib-1.0.5
        dev-java/regexp-1.3
        dev-lang/swig-1.3.21
        dev-libs/libcdio-0.64
        dev-libs/libcroco-0.5.1
        dev-perl/DBD-mysql-2.1027
        dev-perl/libnet-1.16
        dev-python/pyxml-0.8.3
        dev-util/ccache-2.3
        dev-util/pccts-1.33.33
        dev-util/yacc-1.9.1-r2
        gnome-base/gnome-2.8.0-r1
        kde-base/kde-3.3.1
        kde-base/kde-env-3-r3
        kde-base/kdeaccessibility-3.3.1
        kde-base/kdeaddons-3.3.1
        kde-base/kdeadmin-3.3.1
        kde-base/kdeartwork-3.3.1
        kde-base/kdeedu-3.3.1
        kde-base/kdegames-3.3.1
        kde-base/kdegraphics-3.3.1-r2
        kde-base/kdemultimedia-3.3.1
        kde-base/kdenetwork-3.3.1-r1
        kde-base/kdepim-3.3.1
        kde-base/kdetoys-3.3.1
        kde-base/kdeutils-3.3.1
        kde-base/kdewebdev-3.3.1
        kde-misc/ksensors-0.7.2
        mail-client/mozilla-thunderbird-0.8
        mail-client/mutt-1.5.6-r4
        mail-filter/procmail-3.22-r6
        mail-mta/postfix-2.1.5-r1
        media-fonts/corefonts-1-r2
        media-fonts/freefonts-0.10-r2
        media-gfx/bootsplash-0.6.1-r4
        media-gfx/fbgrab-1.0
        media-gfx/pornview-0.2.0_pre1
        media-libs/alsa-oss-1.0.6
        media-libs/glut-3.7.1
        media-libs/libquicktime-0.9.2_pre1
        media-libs/musicbrainz-2.1.1
        media-libs/xine-lib-1_rc6
        media-libs/xvid-0.9.1
        media-plugins/gst-plugins-alsa-0.8.5
        media-plugins/gst-plugins-esd-0.8.5
        media-plugins/gst-plugins-oss-0.8.5
        media-sound/alsa-utils-1.0.6
        media-video/gxine-0.3.3-r1
        media-video/nvidia-kernel-1.0.5336-r4
        media-video/nvidia-settings-1.0.6111
        media-video/transcode-0.6.11
        net-analyzer/nmap-3.55
        net-misc/dhcpcd-1.3.22
        net-misc/iputils-21109-r3
        net-misc/ntp-4.2.0-r2
        net-misc/rsync-2.6.0-r3
        net-misc/tsclient-0.132
        net-misc/urlview-0.9
        net-www/mozilla-firefox-1.0_pre-r2
        net-www/netscape-flash-6.0.81
        sys-apps/ed-0.2-r4
        sys-apps/fbset-2.1
        sys-apps/findutils-4.1.20-r1
        sys-apps/hdparm-5.7-r1
        sys-apps/help2man-1.29
        sys-apps/kbd-1.12-r2
        sys-apps/less-382-r2
        sys-apps/lm-sensors-2.8.7
        sys-apps/logwatch-4.3.2
        sys-apps/man-pages-1.67
        sys-apps/net-tools-1.60-r9
        sys-apps/pciutils-2.1.11-r1
        sys-apps/psmisc-21.4
        sys-apps/qingy-0.5.2
        sys-apps/setserial-2.17-r2
        sys-apps/slocate-2.7-r5
        sys-apps/vixie-cron-4.1-r3
        sys-boot/grub-0.94-r1
        sys-devel/bc-1.6-r5
        sys-devel/bin86-0.16.0
        sys-devel/bison-1.875
        sys-devel/distcc-2.16-r2
        sys-devel/gnuconfig-20040214
        sys-devel/libperl-5.8.4-r1
        sys-devel/libtool-1.5.2-r5
        sys-devel/prelink-20040707
        sys-fs/devfsd-1.3.25-r8
        sys-kernel/gentoo-dev-sources-2.6.9-r1
        sys-kernel/gentoo-dev-sources-2.6.8-r10
        sys-kernel/linux26-headers-2.6.8
        sys-kernel/nitro-sources-2.6.9-r3
        sys-kernel/nitro-sources-2.6.9-r2
        sys-libs/db-1.85-r1
        sys-libs/libtermcap-compat-1.2.3-r1
        sys-libs/pwdb-0.62
        x11-misc/idesk-0.5.6
        x11-misc/transset-0.1_pre20040821
        x11-misc/xcompmgr-1.1.1
        x11-misc/xscreensaver-4.16
        x11-plugins/karamba-docker-0.2
        x11-plugins/karamba-kroller-0.94
        x11-plugins/karamba-news_panel-0.5
        x11-plugins/karamba-smbwho-0.1
        x11-plugins/karamba-sys-0.1
        x11-plugins/karamba-test-0.17
        x11-plugins/karamba-time-0.17
        x11-plugins/karamba-xmmsbar-0.3
        x11-terms/eterm-0.9.2-r6
        x11-terms/xterm-196
        x11-themes/gkrellm-themes-0.1
        x11-themes/liquid-0.9.7
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 651

PostPosted: Wed Jan 05, 2005 1:55 am    Post subject: Reply with quote

Indeed, this doesn't seem to work. Here's my output of pkdep:

Code:
root # ./pkdep-r1.4
The following packages are not depended upon by anything else:

   app-admin/amanda-2.4.4
   app-admin/bacula-1.34.4
   app-admin/bastille-2.1.1-r2
   app-admin/furball-0.5
   app-admin/logsentry-1.1.1
   app-admin/mon-0.99.2-r1
   app-admin/prelude-lml-0.8.6
   app-admin/prelude-manager-0.8.10
   app-admin/swatch-3.1
   app-admin/syslog-ng-1.6.4
   app-admin/tenshi-0.3.1
   app-admin/torsmo-0.17
   app-admin/webmin-1.160
   app-admin/yaala-0.7.2
   app-antivirus/clamav-0.75.1
   app-antivirus/f-prot-4.4.6
   app-arch/cabextract-0.6
   app-arch/flexbackup-1.2.1
   app-arch/lzop-1.1
   app-arch/ncompress-4.2.4
   app-arch/rpm2targz-9.0-r2
   app-arch/sharutils-4.2.1-r9
   app-cdr/cdw-0.2.0
   app-crypt/mcrypt-2.6.4
   app-editors/gvim-6.3
   app-editors/nano-1.3.2-r1
   app-editors/vim-6.3
   app-editors/vim-core-6.3-r1
   app-emulation/bochs-2.1.1
   app-emulation/mol-0.9.70
   app-emulation/qemu-0.6.0
   app-forensics/chkrootkit-0.43-r4
   app-i18n/scim-1.0.1
   app-i18n/zhcon-0.2.3
   app-misc/cmatrix-1.2a
   app-misc/dfm-0.99.9
   app-misc/grc-1.0.6
   app-misc/pax-utils-0.0.2
   app-misc/tinyca-0.6.6
   app-misc/welcome2l-3.4
   app-portage/esearch-0.6.2
   app-portage/genlop-0.20.2
   app-portage/mirrorselect-0.84
   app-portage/porthole-0.3.1
   app-portage/ufed-0.34
   app-text/docbook-sgml-dtd-3.0-r1
   app-text/docbook-sgml-dtd-3.1-r1
   app-text/docbook-sgml-dtd-4.0-r1
   app-text/ghostscript-7.7.1-r7
   app-text/scrollkeeper-0.3.14
   app-text/wv-1.0.0-r1
   dev-db/phpmyadmin-2.6.0
   dev-java/ibm-jdk-bin-1.4.1-r2
   dev-java/java-config-1.2.6
   dev-libs/DirectFB-0.9.20-r1
   dev-libs/beecrypt-3.1.0-r2
   dev-libs/fribidi-0.10.4
   dev-libs/icu-2.8
   dev-libs/libmcal-0.7-r3
   dev-libs/mm-1.2.1
   dev-libs/ucl-1.1-r1
   dev-perl/Digest-Nilsimsa-0.6-r1
   dev-perl/ExtUtils-MakeMaker-6.21
   dev-perl/Time-Local-1.7
   dev-perl/mod_perl-1.99.11
   dev-perl/net-ping-2.31
   dev-php/php-4.3.8
   dev-python/python-selinux-2.15
   dev-python/pyzor-0.4.0-r1
   dev-util/cvs-1.11.17
   games-misc/cowsay-3.3
   games-misc/fortune-mod-tao-1
   gnome-extra/yelp-2.6.2
   mail-client/mozilla-thunderbird-0.7.3-r1
   mail-client/mutt-1.5.6
   mail-client/squirrelmail-1.4.3a-r1
   mail-client/squirrelmail-1.4.3a
   mail-filter/amavisd-new-20040701
   mail-filter/dcc-1.2.28
   mail-filter/maildrop-1.5.3-r1
   mail-filter/rblcheck-1.5
   mail-filter/spamassassin-3.0.2
   mail-mta/postfix-2.1.3
   media-fonts/artwiz-fonts-2.4
   media-fonts/corefonts-1-r2
   media-fonts/freefonts-0.10-r2
   media-fonts/sharefonts-0.10-r3
   media-fonts/terminus-font-4.7
   media-fonts/ttf-bitstream-vera-1.10-r2
   media-fonts/twmoefonts-0.1-r1
   media-fonts/unifont-1.0-r2
   media-libs/glut-3.7.1
   media-libs/pdflib-5.0.2
   net-analyzer/arping-1.6-r1
   net-analyzer/nessus-2.0.12
   net-analyzer/netcat-110-r6
   net-analyzer/nmap-3.48
   net-analyzer/piwi-0.8.0
   net-analyzer/portsentry-1.2
   net-analyzer/prelude-nids-0.8.6
   net-analyzer/traceroute-1.4
   net-dns/libidn-0.3.7
   net-firewall/firehol-1.214
   net-libs/c-client-2002e-r2
   net-libs/libnet-1.0.2a-r3
   net-mail/autorespond-2.0.4
   net-mail/checkpassword-0.90-r1
   net-mail/cmd5checkpw-0.22-r1
   net-mail/courier-imap-3.0.7
   net-mail/dot-forward-0.71-r1
   net-mail/ezmlm-idx-mysql-0.40-r2
   net-mail/queue-fix-1.4-r2
   net-mail/tnef-1.2.1
   net-misc/3proxy-0.4.5b
   net-misc/dante-1.1.14-r2
   net-misc/dhcpcd-1.3.22
   net-misc/iputils-21109-r3
   net-misc/keychain-2.3.5
   net-misc/rsync-2.6.0-r2
   net-misc/tightvnc-1.3_alpha5
   net-misc/tor-0.0.9
   net-misc/xf4vnc-4.3.0
   net-misc/xfsamba-0.47
   net-print/hpijs-1.5
   net-www/awstats-6.1
   net-www/mod_security-1.8.6
   net-www/mozilla-firefox-0.9.3-r1
   net-www/webapp-config-1.10-r6
   sys-apps/acl-2.2.13-r2
   sys-apps/apmd-3.0.2-r3
   sys-apps/checkpolicy-1.16
   sys-apps/chpax-0.7
   sys-apps/daemontools-0.76-r3
   sys-apps/diffutils-2.8.7
   sys-apps/dmapi-2.2.0
   sys-apps/fbset-2.1
   sys-apps/hdparm-5.4
   sys-apps/help2man-1.29
   sys-apps/kbd-1.12-r2
   sys-apps/less-381
   sys-apps/logwatch-5.2.2
   sys-apps/lsof-4.68
   sys-apps/man-pages-1.67
   sys-apps/modutils-2.4.26
   sys-apps/most-4.9.5
   sys-apps/net-tools-1.60-r8
   sys-apps/parted-1.6.15
   sys-apps/policycoreutils-1.16
   sys-apps/psmisc-21.4
   sys-apps/setserial-2.17-r2
   sys-apps/slocate-2.7-r5
   sys-apps/smartmontools-5.30
   sys-apps/ucspi-tcp-0.88-r5
   sys-apps/vixie-cron-3.0.1-r5
   sys-apps/xinetd-2.3.11
   sys-boot/yaboot-1.3.12-r1
   sys-devel/bc-1.6-r5
   sys-devel/bison-1.875
   sys-devel/gnuconfig-20030708
   sys-devel/libperl-5.8.2
   sys-devel/libtool-1.5.2-r5
   sys-devel/patch-2.5.9
   sys-fs/devfsd-1.3.25-r6
   sys-fs/dosfstools-2.10-r1
   sys-fs/lvm2-2.0.15
   sys-fs/mac-fdisk-0.1-r2
   sys-fs/ntfsprogs-1.9.2
   sys-fs/quota-3.6-r2
   sys-fs/reiserfsprogs-3.6.17
   sys-fs/udev-30
   sys-kernel/hardened-dev-sources-2.6.7-r10
   sys-kernel/linux26-headers-2.6.7-r4
   sys-libs/db-4.0.14-r3
   sys-libs/pam_mysql-0.5
   sys-libs/pwdb-0.62
   www-apps/dspam-web-3.1.1
   www-apps/egroupware-1.0.0
   www-apps/horde-pear-1.3-r1
   www-apps/horde-vacation-2.2
   www-apps/moregroupware-0.7.2
   www-apps/phpgroupware-0.9.16
   www-proxy/privoxy-3.0.2
   x11-libs/fltk-1.1.4
   x11-libs/libsvg-cairo-0.1.4
   x11-libs/libwnck-2.6.2
   x11-libs/libxklavier-1.3
   x11-libs/rep-gtk-0.18
   x11-misc/fsv-0.9
   x11-misc/habak-0.2.1
   x11-misc/obconf-1.5-r1
   x11-misc/xdaliclock-2.20
   x11-misc/xdesktopwaves-1.0
   x11-misc/xscreensaver-4.14-r2
   x11-plugins/desklet-psidisplays-20040420
   x11-plugins/gkrellm-bfm-0.5.1
   x11-plugins/gkrellm-console-0.1.2
   x11-plugins/gkrellm-logwatch-1.0
   x11-plugins/gkrellm-mailwatch-2.4.3
   x11-plugins/gkrellmitime-1.0.1
   x11-plugins/gkrellmoon-0.6
   x11-plugins/gkrellmouse-0.0.2
   x11-plugins/gkrellmwho-0.4
   x11-plugins/gkrelltop-2.2.4
   x11-terms/gnome-terminal-2.6.1-r1
   x11-terms/mlterm-2.8.0
   x11-terms/xterm-197
   x11-themes/fvwm-themes-extra-0.7.0
   x11-themes/fvwm_icons-1.0
   x11-themes/gkrellm-themes-0.1
   x11-themes/gtk-engines-xfce-2.1.9
   x11-themes/hicolor-icon-theme-0.4
   x11-themes/lila-backgrounds-0.3.2
   x11-themes/lila-backgrounds-green-0.3
   x11-themes/lila-gnome-0.5-r1
   x11-themes/lila-gtk-green-0.4-r1
   x11-themes/metacity-themes-1.0
   x11-wm/fluxbox-0.9.9
   x11-wm/xfce-3.8.18-r2
   xfce-base/xfce-mcs-plugins-4.1.90
   xfce-base/xfce4-4.0.6
   xfce-base/xfce4-session-4.1.90
   xfce-base/xfdesktop-4.1.90
   xfce-extra/xfcalendar-4.1.90
   xfce-extra/xfce4-appfinder-4.1.90
   xfce-extra/xfce4-iconbox-4.1.90
   xfce-extra/xfce4-systray-4.1.90
   xfce-extra/xfce4-toys-4.1.90
   xfce-extra/xfce4-trigger-launcher-4.1.90
   xfce-extra/xfwm4-themes-4.1.90


and this is my world file:
Code:
dev-libs/mm
app-forensics/chkrootkit
dev-libs/libmcal
media-fonts/ttf-bitstream-vera
x11-misc/xscreensaver
mail-filter/maildrop
games-misc/fortune-mod-tao
dev-db/mysql
x11-libs/gtk+
media-fonts/unifont
app-arch/unzip
sys-apps/most
dev-perl/gtk-perl
sys-fs/udev
app-portage/mirrorselect
app-admin/mon
dev-python/gnome-python
x11-misc/obconf
net-misc/dante
media-libs/fontconfig
sys-kernel/linux26-headers
app-crypt/mcrypt
net-analyzer/netcat
net-www/apache
mail-filter/rblcheck
net-analyzer/fping
media-fonts/twmoefonts
gnome-extra/gdesklets-core
mail-client/mutt
sys-apps/smartmontools
x11-plugins/gkrellmouse
app-misc/dfm
app-misc/welcome2l
app-admin/syslog-ng
app-misc/grc
net-misc/tightvnc
net-misc/tor
x11-plugins/gkrellmitime
x11-wm/fluxbox
app-editors/gvim
x11-libs/libsvg-cairo
sys-kernel/hardened-dev-sources
x11-plugins/gkrellm-console
mail-filter/procmail
app-i18n/scim
mail-filter/spamassassin
net-mail/courier-imap
sys-fs/dosfstools
sys-fs/reiserfsprogs
net-www/awstats
x11-wm/xfce
games-misc/cowsay
app-emulation/qemu
x11-themes/lila-backgrounds
x11-themes/metacity-themes
net-print/hpijs
sys-fs/quota
app-arch/lzop
net-libs/libwww
sys-fs/mac-fdisk
net-misc/keychain
media-libs/pdflib
x11-plugins/gkrellm-mailwatch
x11-misc/xdaliclock
dev-util/cvs
sys-apps/chpax
app-admin/torsmo
games-misc/fortune-mod
mail-filter/amavisd-new
net-analyzer/piwi
x11-themes/fvwm_icons
app-misc/pax-utils
net-analyzer/nmap
sys-apps/sh-utils
app-editors/nano
media-fonts/sharefonts
sys-apps/vixie-cron
mail-client/mozilla-thunderbird
app-portage/genlop
net-print/cups
dev-libs/DirectFB
dev-libs/cyrus-sasl
net-analyzer/nessus
www-apps/dspam-web
app-antivirus/clamav
x11-terms/mlterm
app-admin/bastille
www-apps/horde-pear
media-fonts/artwiz-fonts
app-admin/amanda
net-misc/xfsamba
x11-plugins/gkrellm-bfm
app-text/ghostscript
x11-plugins/gkrelltop
net-analyzer/prelude-nids
x11-misc/habak
dev-db/phpmyadmin
app-editors/vim
net-misc/xf4vnc
media-fonts/corefonts
media-libs/freetype
net-www/mozilla-firefox
sys-fs/ntfsprogs
net-fs/samba
www-apps/phpgroupware
x11-themes/gkrellm-themes
x11-plugins/gkrellmoon
app-emulation/mol
x11-base/xorg-x11
sys-apps/apmd
media-libs/libsvg
app-misc/tinyca
x11-themes/lila-backgrounds-green
app-admin/bacula
net-misc/3proxy
app-portage/ufed
app-admin/logrotate
app-admin/gkrellm
app-admin/webmin
x11-themes/lila-gtk-green
www-apps/egroupware
sys-libs/pam_mysql
dev-php/mod_php
sys-apps/modutils
www-apps/moregroupware
x11-plugins/gkrellm-logwatch
sys-apps/logwatch
sys-apps/lsof
app-portage/esearch
x11-libs/qt
media-fonts/freefonts
sys-fs/lvm2
sys-apps/fileutils
mail-client/squirrelmail
dev-python/pygtk
net-analyzer/traceroute
media-fonts/arphicfonts
media-fonts/terminus-font
dev-java/ibm-jdk-bin
x11-themes/fvwm-themes
sys-apps/parted
net-analyzer/arping
x11-wm/openbox
x11-plugins/gkrellmwho
media-libs/jpeg
app-admin/fam
app-admin/furball
app-admin/logsentry
sys-apps/textutils
app-admin/swatch
www-proxy/privoxy
x11-terms/xterm
app-emulation/bochs
net-analyzer/portsentry
app-text/aspell
app-portage/gentoolkit
x11-misc/xdesktopwaves
x11-plugins/desklet-psidisplays
dev-perl/mod_perl
app-admin/tenshi
x11-themes/fvwm-themes-extra
app-arch/cabextract


pkdep list xterm along with many other package that are in my world file as "packages are not depended upon by anything else". It may be true, but how useful it is if I have emerged a lot of package that does not need any dependency?
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
BearingSpacer
n00b
n00b


Joined: 17 Feb 2003
Posts: 19

PostPosted: Thu Mar 17, 2005 8:26 pm    Post subject: Reply with quote

to remove the packages listed in the world file, do this :
in the global vars definition, add this :
Code:
worldfile  = '/var/lib/portage/world'
and at the end of the script, between these 2 lines
Code:
   if len(packages) > 0:
      print 'The following packages are not depended upon by anything else:'
add
Code:
      #****************************************************
      # added to remove contents of world file from list
      #****************************************************
      world    = {}
      fworld = open(worldfile, "r")
      for worldline in fworld:
         world[worldline.replace("\n","")] = 1
      fworld.close()
      for name in packages.keys():
         if world.has_key(name) == 1:
            del packages[name]
      #****************************************************


I know, it certainly could be cleaner (list instead of dict, but I'm not easy on exceptions yet), but be kind, I'm still a beginner in Python :(
and, BTW, it works ;)
Back to top
View user's profile Send private message
BearingSpacer
n00b
n00b


Joined: 17 Feb 2003
Posts: 19

PostPosted: Thu Mar 17, 2005 8:36 pm    Post subject: Reply with quote

wow... that's weird, some packages I remember emerging explicitly are not in my world file...
_________________
No, I haven't lost my mind...
it must be backed up on a disk, somewhere...
Back to top
View user's profile Send private message
mallchin
l33t
l33t


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

PostPosted: Sat Apr 23, 2005 4:06 pm    Post subject: Reply with quote

You can run regenworld to regenerate the world file, but even then some packages don't get added :/
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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