View previous topic :: View next topic |
Author |
Message |
mmtung n00b
Joined: 16 Sep 2014 Posts: 2
|
Posted: Tue Sep 16, 2014 5:43 pm Post subject: sys-fs/udev and virtual/udev upgrade from 171 to 215 |
|
|
Hi!
I wish to upgrade udev and friends on my Gentoo 2.6.37-gentoo-r4 system with x86_64 Intel(R) i7 CPU 930 @ 2.80GHz and latest openrc 0.12.4.
For that I succeeded in replacing module-init-tools by kmod:
emerge -C module-init-tools
emerge -1 kmod
When I try to update from upower to upower-pm-utils with
emerge -C upower && emerge -1 upower-pm-utils
the compilation halts at the last step. With a lot of blockings:
Calculating dependencies... done!
[ebuild N ] sys-fs/eudev-1.9-r2 USE="gudev hwdb keymap kmod modutils openrc rule-generator static-libs -doc -introspection (-selinux) {-test}" ABI_X86="(64) (-32) (-x32)"
[ebuild U ] virtual/udev-215 [171] USE="-systemd%"
[ebuild U ] sys-apps/hwids-20140317 [20130915.1]
[ebuild N ] sys-fs/udev-init-scripts-26-r2
[ebuild N ] virtual/libgudev-215-r1 USE="static-libs -introspection -systemd" ABI_X86="(64) (-32) (-x32)"
[ebuild N ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios"
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-1.9-r2)
[blocks B ] <sys-fs/udev-186 ("<sys-fs/udev-186" is blocking sys-fs/udev-init-scripts-26-r2)
[blocks B ] <sys-fs/lvm2-2.02.103 ("<sys-fs/lvm2-2.02.103" is blocking sys-fs/eudev-1.9-r2)
I don't want to break my system. What is the best way to proceed? I have found http://wiki.gentoo.org/wiki/Udev/upgrade
for an udev upgrade from udev 171 to 204, but this is not from 171 to 215 as I have. Is there any danger to remove
the blocking packages via "emerge -C" and the re-emerge?
Which steps are next, sys-fs/eudev or any of the other system packages?
If anybody has advice, any help is greatly appreciated!
Best,
Mike |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue Sep 16, 2014 6:12 pm Post subject: |
|
|
mmtung,
Welcome to Gentoo.
You have two sorts of blocks
Code: | [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-1.9-r2) |
udev is installed an you have asked for eudev. You need to do the switch explicitly yourself.
Hint: don't reboot in the middle of that.
[blocks B ] <sys-fs/udev-186 ("<sys-fs/udev-186" is blocking sys-fs/udev-init-scripts-26-r2)
[blocks B ] <sys-fs/lvm2-2.02.103 ("<sys-fs/lvm2-2.02.103" is blocking sys-fs/eudev-1.9-r2)
Here you have the less tan symbol as in
Portage may be able to contine if you upgrade these packages first.
Code: | emerge -1av udev lvm2 | is a good next step.
Homework: What does -1av mean and why do you need it? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mmtung n00b
Joined: 16 Sep 2014 Posts: 2
|
Posted: Wed Sep 17, 2014 1:10 am Post subject: |
|
|
NeddySeagoon wrote: | mmtung,
Welcome to Gentoo.
You have two sorts of blocks
Code: | [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-1.9-r2) |
udev is installed an you have asked for eudev. You need to do the switch explicitly yourself.
Hint: don't reboot in the middle of that.
[blocks B ] <sys-fs/udev-186 ("<sys-fs/udev-186" is blocking sys-fs/udev-init-scripts-26-r2)
[blocks B ] <sys-fs/lvm2-2.02.103 ("<sys-fs/lvm2-2.02.103" is blocking sys-fs/eudev-1.9-r2)
Here you have the less tan symbol as in
Portage may be able to contine if you upgrade these packages first.
Code: | emerge -1av udev lvm2 | is a good next step.
Homework: What does -1av mean and why do you need it? |
Thanx NeddySeagoon!
The command Code: | emerge -1av udev lvm2 | still gives the following output
Calculating dependencies... done!
[ebuild U ] sys-block/thin-provisioning-tools-0.3.2-r1 [0.2.8-r1] USE="{-test}" 171 kB
[ebuild U ] sys-fs/udev-215-r1 [171-r9] USE="acl%* firmware-loader%* gudev kmod%* static-libs%* -doc% -introspection (-selinux) (-action_modeswitch%) (-build%) (-debug%) (-edd%) (-extras%) (-floppy%) (-hwdb%*) (-keymap%*) (-rule_generator%*) (-test%)" ABI_X86="(64%*) (-32) (-x32)" 2,825 kB
[ebuild U ] virtual/udev-215 [171] USE="-systemd% (-gudev%*) (-hwdb%*) (-introspection%) (-keymap%*) (-selinux%) (-static-libs%*)" 0 kB
[ebuild N ] sys-fs/udev-init-scripts-26-r2 5 kB
[ebuild U ] sys-apps/hwids-20140317 [20130915.1] USE="udev" 1,585 kB
[ebuild N ] virtual/libudev-215-r1:0/1 USE="static-libs -systemd" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild U ] sys-fs/lvm2-2.02.109 [2.02.97-r1] USE="readline static static-libs thin udev (-clvm) (-cman) -device-mapper-only% -lvm1* -lvm2create_initrd% (-selinux) -systemd%" 1,448 kB
[blocks b ] <sys-fs/lvm2-2.02.103 ("<sys-fs/lvm2-2.02.103" is blocking sys-fs/udev-215-r1)
[blocks B ] <sys-fs/udev-186 ("<sys-fs/udev-186" is blocking sys-fs/udev-init-scripts-26-r2)
So I thought about doing Code: | emerge -C =sys-fs/lvm2-2.02.103 | and Code: | emerge -C =sys-fs/udev-186 |
and then execute your command Code: | emerge -1av udev lvm2 |
Any danger of breaking something??? -- Of course I won't reboot until done.
Cheers, Mike
P.S.: Just wanted to add that I successfully compiled the kernel linux-3.14.14-gentoo with all the required settings CONFIG_DEVTMPFS=y, CONFIG_FHANDLE=y and CONFIG_NET=y with initramfs. Of course I haven't rebooted yet, crossing fingers... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Wed Sep 17, 2014 7:59 pm Post subject: |
|
|
mmtung,
Code: | [blocks b ] <sys-fs/lvm2-2.02.103 ("<sys-fs/lvm2-2.02.103" is blocking sys-fs/udev-215-r1) | is an improvemet.
The [blocks b ] indicates tah Portage con resolve this block for you.
emerge -C =sys-fs/udev-186 won't do anything. The command says to remove sys-fs/udev-186 but you don't have that version yet.
If all is well portage will tell you it can't find it.
Code: | [blocks B ] <sys-fs/udev-186 ("<sys-fs/udev-186" is blocking sys-fs/udev-init-scripts-26-r2) |
If you hah udev-186 or later, this block would not exist.
Code: | emerge -1av =sys-fs/udev-186 | is worth a try, if you emerge intermediate versions, it may help. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Thu Sep 18, 2014 1:36 pm Post subject: |
|
|
It's weird emerge is not taking the new udev to mean no blockage for the newer initscripts.
I'd try: Code: | emerge -1av udev lvm2 udev-init-scripts | as well. |
|
Back to top |
|
|
|