Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] How to stay with KDE-4.9.5?
View unanswered posts
View posts from last 24 hours

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


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Sun Apr 21, 2013 10:30 pm    Post subject: [solved] How to stay with KDE-4.9.5? Reply with quote

Dear all,

how can I stay with KDE-4.9.5 when performing an "emerge -avuND world"?

I want to update my whole system except KDE related packages. Is there a "one-liner" for the package.mask file or do I have to mask each KDE package?

koschi
_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“


Last edited by koschi on Mon Apr 29, 2013 11:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3206

PostPosted: Sun Apr 21, 2013 11:40 pm    Post subject: Reply with quote

I hope portage-2.1 has --exclude. portage-2.2 has that and it is very easy if it is available. You can do the following to exclude most kde packages, except a few like kdevelop which are not in those categories:
Code:
emerge -auDNv world --exclude "kde-base/* kde-misc/*"

_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Mon Apr 22, 2013 12:34 pm    Post subject: Reply with quote

Thx!

Seems to work. Updating now.
_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Fri Apr 26, 2013 10:19 pm    Post subject: Reply with quote

Code:
emerge -auDNv world --exclude "kde-base/* kde-misc/*"


That worked but how can I make this permanently? E.g. in "package.mask". My aim is to avoid updates to kde-4.10 but allow updates for kde-4.9.x.
_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1491

PostPosted: Fri Apr 26, 2013 10:29 pm    Post subject: Reply with quote

mask them in package.mask. I think you can do it like this: >=kde-*/*-4.9.6

You want to mask the higher version rather than simply say greater than 4.9.5 because you don't want to mask the -r* bug fixes.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Sat Apr 27, 2013 1:26 am    Post subject: Reply with quote

The Doctor wrote:
mask them in package.mask. I think you can do it like this: >=kde-*/*-4.9.6

You want to mask the higher version rather than simply say greater than 4.9.5 because you don't want to mask the -r* bug fixes.


No doesn't work. It tells me "invalid atom":
Code:
# emerge -avuND world
--- Invalid atom in /etc/portage/package.mask: >=kde-*/*-4.9.6

_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1491

PostPosted: Sat Apr 27, 2013 2:04 am    Post subject: Reply with quote

Sorry, apparently the wild cards don't work with versions.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1491

PostPosted: Sat Apr 27, 2013 3:22 am    Post subject: Reply with quote

You may be able to qlist -IC kde-base/*, qlist -IC kde-misc/*, sed and awk to generate a list with numbers, but I am afraid I can't be of help there.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3206

PostPosted: Sat Apr 27, 2013 10:47 am    Post subject: Reply with quote

Assuming you have a /etc/portage/package.mask directory, here is what you can run
Code:
eix -ICc kde- --only-names | sed -e 's/^/>=/' -e 's/$/-4.10/' > /etc/portage/package.mask/kde.mask

_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sat Apr 27, 2013 1:14 pm    Post subject: Reply with quote

If I refer precisely to the title of your thread : "How to stay with 4.9.5", then there are miscellaneous other annoyances to be addressed.

BTW... Bug 462922 ended... WONTFIX! :evil:

This is what I do in order to stay on a particular kde release (adapted for 4.9.5) :

1/ Mask the new packages.

a/ Find in Bugzilla the bug requesting stabilization of kde 4.10.1 : https://bugs.gentoo.org/show_bug.cgi?id=462890
b/ Fetch from the attachements the list of packages to stabilize. In this case : List_v6
c/ Edit that list, (remove comments / packages not matching your arch...) AND
- Prepend all lines with the > sign.
d/ Save and cat the file >> package.mask

This will do the trick for a little while (very little as a matter of fact, devs were so happy that they dropped kdelibs-4.9.5... the morning after 4.10.1 stabilization... :roll:)
The problem is now that on your next emerge --sync, ebuilds will disappear from your tree =>
- Forget emerge -e
- Forget any update of whatever kde dependency that would force revdep-rebuild to suggest the rebuild of whatever kde package...

=> You just cannot expect to really stay on your release... unless you take great care to :

2/ Save kde-4.9.5 ebuilds into your local overlay.
_________________
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3949
Location: Irgendwo im Nirgendwo

PostPosted: Sat Apr 27, 2013 3:18 pm    Post subject: Reply with quote

aCOSwt wrote:
BTW... Bug 462922 ended... WONTFIX! :evil:

I really can understand the maintainance argument. Though it should not be THAT much extra work if changes in all versions of a package need to be done.
What I could not understand was the stabilization of a x.x.1-release! In kde's past .1 and quite often .2-releases had to fix quite some bugs. With kde-4.10 we got really many rewrites. Large parts in plasma were rewritten in QML. Nepomuk2 landed in many apps. kscreenlocker was redone (even got moved into ksmserver) That's not just a small rewrite - that are great changes in the underlying core-parts. And in this stage we get the earliest stabilization of a new minor release ever (as far as I remember). With the big additional issue to have Gentoo be fast with follow-up-stabilizations (4.10.2 IN_PROGRESS). That's why I went stable - I did not want to do compilation orgies every month.
I think I will wait now until 4.10.3 is released, then update to gcc-4.7 (stabilization in progress) and go kde-testing again (for the more stable kde experience ;))
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sat Apr 27, 2013 7:07 pm    Post subject: Reply with quote

franzf wrote:
aCOSwt wrote:
BTW... Bug 462922 ended... WONTFIX! :evil:

I really can understand the maintainance argument.
______
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).

I was suspecting you capable of such tolerance...An unsuspected Gentoo user phenomenon :wink:
_________________
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Sun Apr 28, 2013 6:27 am    Post subject: Reply with quote

aCOSwt wrote:
If I refer precisely to the title of your thread : "How to stay with 4.9.5", then there are miscellaneous other annoyances to be addressed.

BTW... Bug 462922 ended... WONTFIX! :evil:

This is what I do in order to stay on a particular kde release (adapted for 4.9.5) :

1/ Mask the new packages.

a/ Find in Bugzilla the bug requesting stabilization of kde 4.10.1 : https://bugs.gentoo.org/show_bug.cgi?id=462890
b/ Fetch from the attachements the list of packages to stabilize. In this case : List_v6
c/ Edit that list, (remove comments / packages not matching your arch...) AND
- Prepend all lines with the > sign.
d/ Save and cat the file >> package.mask

This will do the trick for a little while (very little as a matter of fact, devs were so happy that they dropped kdelibs-4.9.5... the morning after 4.10.1 stabilization... :roll:)
The problem is now that on your next emerge --sync, ebuilds will disappear from your tree =>
- Forget emerge -e
- Forget any update of whatever kde dependency that would force revdep-rebuild to suggest the rebuild of whatever kde package...

=> You just cannot expect to really stay on your release... unless you take great care to :

2/ Save kde-4.9.5 ebuilds into your local overlay.


I followed your steps but the problem is now (as you mentioned) that kdelibs-4.9.5 is gone... If I mask the kde-4.10.x packages portage wants to downgrade to kde-4.4.11 now :(

Looks like I have to stick to my half upgraded system now... Where can I get the kdelibs-4.9.5.ebuild ?
_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sun Apr 28, 2013 9:00 am    Post subject: Reply with quote

koschi wrote:
Where can I get the kdelibs-4.9.5.ebuild ?

Of course you can get everything back from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/ if you want to.
But it might... take some time.

If you prefer, you can give me a valid mail address via the pm facility and I'll send you a tarball of my kde-4.9.5 tree.
_________________
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 104
Location: Suzhou, CN

PostPosted: Mon Apr 29, 2013 11:51 pm    Post subject: Reply with quote

aCOSwt wrote:
koschi wrote:
Where can I get the kdelibs-4.9.5.ebuild ?

Of course you can get everything back from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/ if you want to.
But it might... take some time.

If you prefer, you can give me a valid mail address via the pm facility and I'll send you a tarball of my kde-4.9.5 tree.


THX! Got it in my local tree now and I'm able to perform a normal "emerge -avuND world" now.

Let's wait until kde-4.10.3 becomes stable...
_________________
„Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.“
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2403
Location: UK

PostPosted: Tue Apr 30, 2013 1:07 am    Post subject: Reply with quote

I don't recall the exact version but some kde update I did pretty recently (probably 4.10.1) was absolutely awful; plasma consistently losing programs in the taskbar/pager was my "favourite" bug. 4.10.2 seems to have fixed most of the worst problems on my end at least...
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