Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3182 - installportage downgrades packages w/o a warning.
Summary: installportage downgrades packages w/o a warning.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 5773 6105 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-29 12:31 UTC by Vitaly Kushneriuk (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
6 users (show)

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 Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-05-29 12:31:40 UTC
I just emerged latest qt, and surprisingly it downgraded my postgresql
from 7.2-r2 to 7.1.3 which has incompatible database format, so now I have to
remerge the latest postgres back so that I can access my DB.
in the DEPEND of qt there's a line " postgres? ( =dev-db/postgresql-7.1.3* )"
so at least posrtage does what it was told to ;)
And I even can understand that qt might be incompatible with the latest postgres.
But I think downgrading sensitive packages by this kind of obscure dependency is
a no-no.
Maybe portage should refuse by default to downgrade a package becouse of other
package dependancy. with a flag to --force-downgrade or something.
Comment 1 SpanKY gentoo-dev 2002-06-03 19:25:50 UTC
maybe you could have passed a -p flag before issueing the emerge 
the docs on the gentoo webpage suggest this as a matter of habit 
emerge qt -u -p 
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 16:30:16 UTC
*** Bug 6105 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 16:55:54 UTC
*** Bug 5773 has been marked as a duplicate of this bug. ***
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-11-18 01:23:56 UTC
could it be easily done that if some package is downgrading the [ebuild ] 
output shows RED, that the package is downgrading ?

orginal:
[ebuild   U ] media-libs/libpng-1.0.12-r1
result eg.:
[ebuild     D] media-libs/libpng-1.0.12-r1
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 05:58:20 UTC
Nick, whatcha think ?
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2002-12-02 06:50:15 UTC
addictional an idea from partition magic

you have to type OK in a box (GUI) to continue
maybe this is a little bit paranoid; just in case you are using this only on a 
few core packages.
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2002-12-09 14:00:55 UTC
In 2.0.45-r3 it gives a warning and shows the previous version
when you do a pretend. Kinda like comment #4.