View previous topic :: View next topic |
Author |
Message |
Dr_b_ n00b

Joined: 18 Jan 2004 Posts: 33
|
Posted: Sat Dec 27, 2008 2:18 am Post subject: openrc-0.4.1 update fails *solved* |
|
|
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 |
|
 |
ppurka Advocate

Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sat Dec 27, 2008 3:45 am Post subject: Re: openrc-0.4.1 update fails |
|
|
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 |
|
 |
Dr_b_ n00b

Joined: 18 Jan 2004 Posts: 33
|
Posted: Sat Dec 27, 2008 5:11 am Post subject: |
|
|
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 |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9348
|
Posted: Sat Dec 27, 2008 12:16 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
Dr_b_ n00b

Joined: 18 Jan 2004 Posts: 33
|
Posted: Sun Dec 28, 2008 6:29 am Post subject: |
|
|
Got it thanks for clearing that up.
wasn't paying attention to the "<" |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9348
|
Posted: Sun Dec 28, 2008 12:31 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
ppurka Advocate

Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sun Dec 28, 2008 1:32 pm Post subject: |
|
|
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 |
|
 |
|