Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108725 - dev-lang/python-2.4.1-r1: /usr/sbin/python-updater gives useless message
Summary: dev-lang/python-2.4.1-r1: /usr/sbin/python-updater gives useless message
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 06:29 UTC by Toralf Förster
Modified: 2005-10-10 07:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-10-10 06:29:15 UTC
Calling the update again shows nothing to do, but therefor the message(s)
"Re-ordering packages to merge .." and later are not needed.

n22 ~ # /usr/sbin/python-updater
 * Logging disabled due to permissions
 * Starting Python Updater from 2.3 to 2.4 :
 * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3
/usr/lib64/python2.3 ..
 * Calculating Upgrade Package List ..
 * Re-ordering packages to merge ..
 * Preparing to merge these packages in this order:
 * Python update completed successfully.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-10 06:47:05 UTC
Please, read the code...
Comment 2 Toralf Förster gentoo-dev 2005-10-10 07:13:10 UTC
Ok, I read the code. What's about:

n22 /usr/sbin # diff -u python-updater.old python-updater
--- python-updater.old  2005-10-10 16:07:59.000000000 +0200
+++ python-updater      2005-10-10 16:11:57.000000000 +0200
@@ -200,6 +200,13 @@
     done
 done

+
+if [[ -z "${PKGS_TO_REMERGE}" ]]; then
+       eloginfo "nothing to do :-)"
+       exit 0
+fi
+
+
 # now we have to do each emerge seperately because if an installed version
 # does not have the corresponding ebuild in portage, then it will bail.