View previous topic :: View next topic |
Author |
Message |
Edgaer Tux's lil' helper
Joined: 01 Jul 2002 Posts: 145 Location: The Isle of the Sundered
|
Posted: Wed Oct 08, 2003 6:59 pm Post subject: qt wants to downgrade to 3.1.2 |
|
|
I've got qt-3.2.1-r1 installed as part of the kde3.2 alpha testing I'm doing. However when I emerge -pu world portage wants to downgrade my qt to 3.1.2-r4. I've even tried several different methods of pinning an exact version into the world file with no luck. What is going on that I can't pin qt? every other program I've got a pin in the world file for behaves properly _________________ --First General Edgaer
Hope is the last to die. Unlike the icq flower. |
|
Back to top |
|
|
Shigure n00b
Joined: 27 Sep 2003 Posts: 33
|
Posted: Wed Oct 08, 2003 9:41 pm Post subject: |
|
|
A quick, dirty fix to this problem is to create a file in /etc/portage/ called package.mask, and stick the following lines in it.
Code: | <kde-base/kdebase-3.2.0_alpha1
<kde-base/kdelibs-3.2.0_alpha1
<kde-base/arts-3.2.0_alpha1
<x11-libs/qt-3.2.1-r1 |
As for it trying to downgrade qt, if it looks like this in emerge -pu world
Code: | [ebuild N ] x11-libs/qt-3.2.1-r1 |
and doesn't have a D next to the N, it's not actually trying to downgrade the package. Instead, it is trying to install that version alongside the current one installed for compatibility purposes.
Hope that helps. |
|
Back to top |
|
|
Edgaer Tux's lil' helper
Joined: 01 Jul 2002 Posts: 145 Location: The Isle of the Sundered
|
Posted: Thu Oct 09, 2003 12:28 am Post subject: |
|
|
Shigure wrote: | A quick, dirty fix to this problem is to create a file in /etc/portage/ called package.mask, and stick the following lines in it.
Code: | <kde-base/kdebase-3.2.0_alpha1
<kde-base/kdelibs-3.2.0_alpha1
<kde-base/arts-3.2.0_alpha1
<x11-libs/qt-3.2.1-r1 |
|
Yeah I'd thought of masking it temporarily in the main mask file but I was hoping for a non-hacky way of doing it.
Quote: | As for it trying to downgrade qt, if it looks like this in emerge -pu world
Code: | [ebuild N ] x11-libs/qt-3.2.1-r1 |
and doesn't have a D next to the N, it's not actually trying to downgrade the package. Instead, it is trying to install that version alongside the current one installed for compatibility purposes.
Hope that helps. |
Well that obviously isn't what mine looks like since the N means it's a new package that isn't installed. Mine looks like this actually,
Code: | [ebuild UD] x11-libs/qt-3.1.2-r4 [3.2.1-r1] |
So yeah it's trying to downgrade it.
And I had checked into this already to see if it was an issue or if the two versions would coexist, and qt-3.1 and qt-3.2 exist in the same slot and overwrite each other rather than installing along side. _________________ --First General Edgaer
Hope is the last to die. Unlike the icq flower. |
|
Back to top |
|
|
Shigure n00b
Joined: 27 Sep 2003 Posts: 33
|
Posted: Thu Oct 09, 2003 2:10 am Post subject: |
|
|
Hmm. You could also do emerge -Up world instead of -up. That should hopefully make it stop with the desire to savagely downgrade qt.
Other than that, the dirty hack will at least work for the now.
On a completely unrelated side note, I love your avatar. |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Oct 09, 2003 3:04 am Post subject: |
|
|
Yes, "emerge -U world" should do the trick. It prevents packages from downgrading unless they have been flagged as buggy or insecure. |
|
Back to top |
|
|
Edgaer Tux's lil' helper
Joined: 01 Jul 2002 Posts: 145 Location: The Isle of the Sundered
|
Posted: Thu Oct 09, 2003 5:22 am Post subject: |
|
|
Interesting...Is there a long equivalent to -U? I usually use --update when I do acutal updating (I used to do --pretend --update but I got tired of typing a lot). _________________ --First General Edgaer
Hope is the last to die. Unlike the icq flower. |
|
Back to top |
|
|
Shigure n00b
Joined: 27 Sep 2003 Posts: 33
|
Posted: Thu Oct 09, 2003 1:40 pm Post subject: |
|
|
Yes. From man emerge:
Code: | --upgradeonly (-U)
Updates packages, but excludes updates that would result in a
lower version of the package being installed. SLOTs are consid-
ered at a basic level.
|
|
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Thu Oct 09, 2003 2:34 pm Post subject: |
|
|
i think that's the official solution for this problem:
Code: | emerge inject x11-libs/qt-3.1.2-r4 |
_________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
Manu-BE Tux's lil' helper
Joined: 11 Jun 2003 Posts: 75 Location: World, North Emisphere, Europe, Benelux, Belgium, Wallonie, Hainaut, Borinage, Mons [Target Located]
|
Posted: Wed Oct 15, 2003 10:05 am Post subject: |
|
|
Same problem here , I'd like to emerge -U world and he wants to downgrade fluxbox ...
Code: | [ebuild UD] x11-wm/fluxbox-0.1.14-r2 [0.9.6_pre8] |
How can I remove the downgrade of FB ? _________________ There are 10 types of people in the world: Those who understand binary, and those who don't...
Linux user #321297. |
|
Back to top |
|
|
|