Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt wants to downgrade to 3.1.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Edgaer
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 145
Location: The Isle of the Sundered

PostPosted: Wed Oct 08, 2003 6:59 pm    Post subject: qt wants to downgrade to 3.1.2 Reply with quote

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
View user's profile Send private message
Shigure
n00b
n00b


Joined: 27 Sep 2003
Posts: 33

PostPosted: Wed Oct 08, 2003 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Edgaer
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 145
Location: The Isle of the Sundered

PostPosted: Thu Oct 09, 2003 12:28 am    Post subject: Reply with quote

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. :P 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
View user's profile Send private message
Shigure
n00b
n00b


Joined: 27 Sep 2003
Posts: 33

PostPosted: Thu Oct 09, 2003 2:10 am    Post subject: Reply with quote

Hmm. You could also do emerge -Up world instead of -up. That should hopefully make it stop with the desire to savagely downgrade qt. :P

Other than that, the dirty hack will at least work for the now. :lol:

On a completely unrelated side note, I love your avatar. :D
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Oct 09, 2003 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Edgaer
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 145
Location: The Isle of the Sundered

PostPosted: Thu Oct 09, 2003 5:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Shigure
n00b
n00b


Joined: 27 Sep 2003
Posts: 33

PostPosted: Thu Oct 09, 2003 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Thu Oct 09, 2003 2:34 pm    Post subject: Reply with quote

i think that's the official solution for this problem:

Code:
emerge inject x11-libs/qt-3.1.2-r4

_________________
Get a life...
Code:
:(){ :|:& };:
Use at own risk...
Back to top
View user's profile Send private message
Manu-BE
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2003
Posts: 75
Location: World, North Emisphere, Europe, Benelux, Belgium, Wallonie, Hainaut, Borinage, Mons [Target Located]

PostPosted: Wed Oct 15, 2003 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum