View previous topic :: View next topic |
Author |
Message |
Paradoxx Apprentice
Joined: 13 Jan 2003 Posts: 197 Location: Sweden
|
Posted: Fri Jan 09, 2004 3:31 pm Post subject: downgrade packs? |
|
|
im traing to upgrade my gentoo whit emerge worl but it wanto downdrade programs i haw installd becus it in not stabel how do i setup so emerge ignor the packs i gount wanto downgrade?
bash-2.05b# emerge -p system
These are the packages that I would merge, in order:
Calculating system dependencies ...done!
[ebuild U ] sys-apps/portage-2.0.49-r21 [2.0.49-r20]
*** Portage will stop merging at this point and reload itself,
recalculate dependencies, and complete the merge.
You may avoid the remerging of packages by updating portage on its own.
[ebuild U ] sys-apps/module-init-tools-0.9.15_pre4 [0.9.12-r1]
[ebuild U ] sys-apps/groff-1.18.1-r4 [1.18.1-r3]
[ebuild UD] sys-devel/autoconf-2.57-r1 [2.58]
[ebuild UD] sys-devel/automake-1.7.5-r2 [1.7.8]
[ebuild UD] sys-devel/m4-1.4 [1.4-r1] _________________ //Jag är dyslectiker
//pless dount complain im dyslectic
//i whas born in hell im going to hell |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Fri Jan 09, 2004 3:38 pm Post subject: |
|
|
I always do emerge -uUDpv world just to be on the safe side. The U I think is the most important. |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Fri Jan 09, 2004 4:31 pm Post subject: |
|
|
Just in addition to what Paradoxx said -U is equivalent to --upgradeonly - which as it says, will only upgrade and not downgrade.
is what you want.
Andrew |
|
Back to top |
|
|
Dinini Apprentice
Joined: 11 Jun 2003 Posts: 236
|
Posted: Fri Jan 09, 2004 4:32 pm Post subject: Re: downgrade packs? |
|
|
Paradoxx wrote: | im traing to upgrade my gentoo whit emerge worl but it wanto downdrade programs i haw installd becus it in not stabel how do i setup so emerge ignor the packs i gount wanto downgrade?
|
You can't. That's the price you pay for mixing stable and unstable packages. -U will always want to downgrade unstable to stable packages if stable is what you have specified in your make.conf.
Either switch to unstable in your make.conf or get used to "emerge -UDp world" followed by "emerge --oneshot <individual packagenames>" for the packages you want to update in a mixed environment. |
|
Back to top |
|
|
Paradoxx Apprentice
Joined: 13 Jan 2003 Posts: 197 Location: Sweden
|
Posted: Fri Jan 09, 2004 4:39 pm Post subject: Re: downgrade packs? |
|
|
Dinini wrote: | Paradoxx wrote: | im traing to upgrade my gentoo whit emerge worl but it wanto downdrade programs i haw installd becus it in not stabel how do i setup so emerge ignor the packs i gount wanto downgrade?
|
You can't. That's the price you pay for mixing stable and unstable packages. -U will always want to downgrade unstable to stable packages if stable is what you have specified in your make.conf.
Either switch to unstable in your make.conf or get used to "emerge -UDp world" followed by "emerge --oneshot <individual packagenames>" for the packages you want to update in a mixed environment. |
i had unstabel in make.conf when i installd kde unstable but now its on stabel in make.conf _________________ //Jag är dyslectiker
//pless dount complain im dyslectic
//i whas born in hell im going to hell |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Fri Jan 09, 2004 6:30 pm Post subject: |
|
|
I always check for updates with "emerge -Uup world". (Actually "U" implies "u", so it's a bit redundant.) This flag tells emerge to suggest only upgrades, and never downgrades. This lets me run a mix of stable and unstable packages as I see fit.
See "man emerge" for more details. |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Fri Jan 09, 2004 11:47 pm Post subject: Re: downgrade packs? |
|
|
Sorry, but you can!
Code: |
man emerge
<snip>
--upgradeonly (-U)
Updates packages, but excludes updates that would result in a lower ver-
sion of the package being installed. SLOTs are considered at a basic
level.
|
|
|
Back to top |
|
|
Dinini Apprentice
Joined: 11 Jun 2003 Posts: 236
|
Posted: Sat Jan 10, 2004 12:12 am Post subject: |
|
|
I know what the man page says. I've also seen the bug reports. Portage often still tries to downgrade packages when you mix stable and unstable. It's always been rock solid when you keep the same use flag though. Yes, -U should work work according to the manual. Unfortunately "emerge -UuDp world" still wants to downgrade 5 packages on this system. |
|
Back to top |
|
|
|