Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6050 - Portage dosesn't update dependent packages - small perl script helps :)
Summary: Portage dosesn't update dependent packages - small perl script helps :)
Status: RESOLVED DUPLICATE of bug 5872
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-05 12:21 UTC by Philipp Morger
Modified: 2011-10-30 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Small Perl Script (showoldpkgs.pl,1.18 KB, application/octet-stream)
2002-08-05 12:22 UTC, Philipp Morger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Morger 2002-08-05 12:21:58 UTC
Hi folks

I just wondered what packages are not going to be updated through emerge -u
world.... so I came up with a little perl script.... it lists all the packages
left unupdated... and only LISTS.... 

Please not, that I'm not a regular perl hacker, so check the code befor u use
it, and if you want - send me updates :)

cheers
xor
Comment 1 Philipp Morger 2002-08-05 12:22:48 UTC
Created attachment 2836 [details]
Small Perl Script
Comment 2 SpanKY gentoo-dev 2002-08-05 13:21:25 UTC
technically, this shouldnt be a problem, it is being worked on

`emerge gentoolkit` (if gentoolkit isnt installed)
for a simpler bash script, you could do:
#!/bin/bash
WD=/var/cache/edb/

mv ${WD}/world ${WD}/world.old
qpkg -nc -I>${WD}/world
emerge world -u
mv ${WD}/world.old ${WD}/world

*** This bug has been marked as a duplicate of 5872 ***
Comment 3 Philipp Morger 2002-08-05 14:23:13 UTC
cool.... my perl script survived 9m... until it got replaced by an evil shell
script ;) no... to be honest... it's cool, that there's such a simple way... and
now there's a solution also for the non "emerge perl"'d people.

but hey, it was got practice for me :)