Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc-0.4.1 update fails *solved*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 25

PostPosted: Sat Dec 27, 2008 2:18 am    Post subject: openrc-0.4.1 update fails *solved* Reply with quote

Hi,

Going from 0.3.0-r1, i get the following problem when trying to update to openrc-0.4.1:

Code:

# emerge -puDv world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N    ] sys-apps/sysvinit-2.86-r10  USE="(-ibm) (-selinux) -static" 0 kB
[ebuild  N    ] sys-fs/udev-124-r1  USE="(-selinux)" 0 kB
[ebuild     U ] sys-apps/openrc-0.4.1 [0.3.0-r1] USE="ncurses pam unicode -debug" 142 kB
[blocks B     ] <sys-fs/udev-133 (is blocking sys-apps/openrc-0.4.1)
[blocks B     ] <sys-apps/sysvinit-2.86-r11 (is blocking sys-apps/openrc-0.4.1)

Total: 3 packages (1 upgrade, 2 new, 2 blocks), Size of downloads: 142 kB



I put sysvinit and udev in package.provided, though portage still tries to pull in udev-124, but then there are no more blockers.


Anyone else upgraded from 0.3.0-r1 to 0.4.x ? What did you have to do?

(Solution was to update udev and sysvinit versions)


Last edited by Dr_b_ on Sun Dec 28, 2008 6:33 am; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Dec 27, 2008 3:45 am    Post subject: Re: openrc-0.4.1 update fails Reply with quote

Dr_b_ wrote:
I put sysvinit and udev in package.provided, though portage still tries to pull in udev-124, but then there are no more blockers.
That is the worst way to resolve blocks. There is probably a reason why portage requires higher versions of those packages.
Quote:
Anyone else upgraded from 0.3.0-r1 to 0.4.x ? What did you have to do?

Seriously, you need to read about masked and hardmasked packages:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3#doc_chap2
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 25

PostPosted: Sat Dec 27, 2008 5:11 am    Post subject: Reply with quote

This is resolved.

A package was pulling in udev-133, once that was downgraded, everything else worked. Not sure which package pulled in udev-133 though.

I am aware of the risks of hard masked packages, but I need to run openrc to mount an encrypted volume at boot.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7186
Location: Austria

PostPosted: Sat Dec 27, 2008 12:16 pm    Post subject: Reply with quote

Seriously, if you don't want to screw your system one day, read about masked and hardmasked packages as suggested. And learn to read what portage tries to tell you.

The right thing to do in your case: Quite simple, portage tells you everything you need. Which would have been:

~sys-fs/udev-133
=sys-apps/sysvinit-2.86-r12

or better, since minor releases tend to rather fix more things than break them:
~sys-fs/udev-135
~sys-apps/sysvinit-2.86

...simply to be put into /etc/portage/package.keywords.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 25

PostPosted: Sun Dec 28, 2008 6:29 am    Post subject: Reply with quote

Got it thanks for clearing that up.

wasn't paying attention to the "<"
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7186
Location: Austria

PostPosted: Sun Dec 28, 2008 12:31 pm    Post subject: Reply with quote

From the output I've seen, I think you are still using portage-2.1.x. portage-2.2* already solves a lot of blocks on its own where possible, or gives at least more unmistakable output, so I'd recommend upgrading to 2.2*. Latest version is _rc20, and hardmasked only to give 2.1.x some more testing, but it is actually safe to be used and would be ~ under normal circumstances.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Dec 28, 2008 1:32 pm    Post subject: Reply with quote

genstorm wrote:
From the output I've seen, I think you are still using portage-2.1.x. portage-2.2* already solves a lot of blocks on its own where possible, or gives at least more unmistakable output, so I'd recommend upgrading to 2.2*. Latest version is _rc20, and hardmasked only to give 2.1.x some more testing, but it is actually safe to be used and would be ~ under normal circumstances.
2.1.6 also removes blocks (b ones) by itself. At least the manpage claims so.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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