Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] udev blocks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1564

PostPosted: Sat Mar 09, 2013 2:58 pm    Post subject: [SOLVED] udev blocks Reply with quote

I am trying to emerge some packages but I get some errors about udev.

Code:

[blocks B      ] <sys-fs/udev-init-scripts-22 ("<sys-fs/udev-init-scripts-22" is blocking sys-fs/udev-197-r8)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-fs/udev-197-r8::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-fs/udev-197-r8[gudev,hwdb,kmod] required by (virtual/udev-197-r1::gentoo, ebuild scheduled for merge)
    sys-fs/udev required by @selected

  (sys-fs/udev-init-scripts-19-r1::gentoo, installed) pulled in by
    sys-fs/udev-init-scripts required by @selected
    >=sys-fs/udev-init-scripts-19-r1 required by (sys-fs/udev-197-r8::gentoo, ebuild scheduled for merge)


How do I solve this block?

Currently I have
Code:

[U] sys-fs/udev
     Available versions:  [M]171-r10 197-r8^t ~198^t **9999^t {{acl action_modeswitch build debug doc edd extras floppy gudev hwdb introspection keymap +kmod +openrc +rule_generator selinux static-libs test}}
   Installed versions:  197-r3^t(01:34:17 01/30/13)(acl gudev hwdb kmod openrc -doc -introspection -keymap -selinux -static-libs)
     Homepage:            http://www.freedesktop.org/wiki/Software/systemd
     Description:         Linux dynamic and persistent device naming support (aka userspace devfs)

[U] sys-fs/udev-init-scripts
     Available versions:  23^t **9999^t
    Installed versions:  19-r1^t(02:05:18 02/10/13)
     Homepage:            http://www.gentoo.org
     Description:         udev startup scripts for openrc

[U] virtual/udev
     Available versions:  [M]171 197-r1 {{gudev hwdb introspection keymap +kmod selinux static-libs}}
     Installed versions:  197(01:34:27 01/30/13)(gudev hwdb -introspection -keymap -selinux -static-libs)
     Description:         Virtual to select between sys-fs/udev and sys-fs/eudev


Last edited by queen on Sun Mar 10, 2013 7:03 am; edited 1 time in total
Back to top
View user's profile Send private message
jpc22
Apprentice
Apprentice


Joined: 29 Jan 2012
Posts: 195

PostPosted: Sat Mar 09, 2013 4:17 pm    Post subject: Reply with quote

WARNING: unmerging udev could break your system!!!

You could try unmerging udev on a chrooted copy of your current installation to be safe , then emerge the blocked packages and emerge the latest version of udev . play around the order in wich you emerge/unmerge the packages if that does not work.

I did that once on a system i was installing, but i had nothing to loose, unlike you, so be careful since packages like udev can be critical to your system.
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Mar 09, 2013 4:19 pm    Post subject: Reply with quote

Remove the old version of udev-init-scripts temporarily:

Code:

# emerge -C udev-init-scripts


Then let the udev upgrade pull it back in:

Code:

# emerge -1 udev
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1564

PostPosted: Sat Mar 09, 2013 9:30 pm    Post subject: Reply with quote

jpc22 wrote:
WARNING: unmerging udev could break your system!!!

You could try unmerging udev on a chrooted copy of your current installation to be safe , then emerge the blocked packages and emerge the latest version of udev . play around the order in wich you emerge/unmerge the packages if that does not work.

I did that once on a system i was installing, but i had nothing to loose, unlike you, so be careful since packages like udev can be critical to your system.


Yes, I am aware that it can break the system. That's why I posted before I try to do something else.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1564

PostPosted: Sat Mar 09, 2013 9:38 pm    Post subject: Reply with quote

ssuominen wrote:
Remove the old version of udev-init-scripts temporarily:

Code:

# emerge -C udev-init-scripts


Then let the udev upgrade pull it back in:

Code:

# emerge -1 udev


Thanks. I followed your suggestion and it pulled back udev-init-scripts. But I get this:

Code:

>>> Installing (3 of 3) sys-fs/udev-init-scripts-23
ln: failed to create symbolic link '//etc/runlevels/sysinit/udev': File exists
ln: failed to create symbolic link '/etc/runlevels/sysinit/udev-mount': File exists
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.


What should I do about the ln? Is it ok to leave it like that?

Code:
 ls -l /etc/runlevels/sysinit/
total 0
lrwxrwxrwx 1 root root 17 Sep 17 06:08 devfs -> /etc/init.d/devfs
lrwxrwxrwx 1 root root 17 Sep 17 06:08 dmesg -> /etc/init.d/dmesg
lrwxrwxrwx 1 root root 17 Nov 23 17:48 sysfs -> /etc/init.d/sysfs
lrwxrwxrwx 1 root root 16 Sep 17 06:36 udev -> /etc/init.d/udev
lrwxrwxrwx 1 root root 22 Nov 23 17:47 udev-mount -> /etc/init.d/udev-mount
Back to top
View user's profile Send private message
jpc22
Apprentice
Apprentice


Joined: 29 Jan 2012
Posts: 195

PostPosted: Sat Mar 09, 2013 11:11 pm    Post subject: Reply with quote

You should be fine with the symlink.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1564

PostPosted: Sat Mar 09, 2013 11:22 pm    Post subject: Reply with quote

jpc22 wrote:
You should be fine with the symlink.


Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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