You are not logged in.

#1 2012-08-30 18:42:13

89c51
Member
Registered: 2012-06-05
Posts: 741

[SOLVED]glibc update sbin/init: error

I upgraded glibc and systemd on my system and got this error from pacman

sbin/init: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

haven't rebooted my system yet.

any ideas

Last edited by 89c51 (2012-08-30 20:00:46)

Offline

#2 2012-08-30 19:13:55

adee
Member
From: The Moon
Registered: 2009-11-10
Posts: 110

Re: [SOLVED]glibc update sbin/init: error

You did a partial update, didn't you? Maybe using a little excessive --force?

Offline

#3 2012-08-30 19:21:07

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]glibc update sbin/init: error

no

 sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
:: Replace libsystemd with core/systemd? [Y/n] y
:: Replace systemd-tools with core/systemd? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Targets (9): cracklib-2.8.19-1  filesystem-2012.8-1  gdk-pixbuf2-2.26.3-1  glibc-2.16.0-4  libsystemd-188-2 [removal]  pkg-config-0.27.1-1  systemd-189-3  systemd-sysvcompat-189-3
             systemd-tools-188-2 [removal]

Total Download Size:    10.03 MiB
Total Installed Size:   51.69 MiB
Net Upgrade Size:       0.05 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
 glibc-2.16.0-4-x86_64                                                                      8.0 MiB   207K/s 00:40 [####################################################################] 100%
 cracklib-2.8.19-1-x86_64                                                                 239.1 KiB   213K/s 00:01 [####################################################################] 100%
 filesystem-2012.8-1-any                                                                    5.8 KiB   268K/s 00:00 [####################################################################] 100%
 systemd-189-3-x86_64                                                                    1203.0 KiB   212K/s 00:06 [####################################################################] 100%
 pkg-config-0.27.1-1-x86_64                                                                29.6 KiB   221K/s 00:00 [####################################################################] 100%
 systemd-sysvcompat-189-3-x86_64                                                            5.4 KiB   273K/s 00:00 [####################################################################] 100%
:: Retrieving packages from extra...
 gdk-pixbuf2-2.26.3-1-x86_64                                                              587.1 KiB   213K/s 00:03 [####################################################################] 100%
(7/7) checking package integrity                                                                                   [####################################################################] 100%
(7/7) loading package files                                                                                        [####################################################################] 100%
(7/7) checking for file conflicts                                                                                  [####################################################################] 100%
(9/9) checking available disk space                                                                                [####################################################################] 100%
(1/2) removing libsystemd                                                                                          [####################################################################] 100%
(2/2) removing systemd-tools                                                                                       [####################################################################] 100%
(1/7) upgrading glibc                                                                                              [####################################################################] 100%
sbin/init: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
Generating locales...
  el_GR.UTF-8... done
  el_GR.ISO-8859-7... done
  en_US.UTF-8... done
  en_US.ISO-8859-1... done

etc 
etc
 

Offline

#4 2012-08-30 19:37:37

adee
Member
From: The Moon
Registered: 2009-11-10
Posts: 110

Re: [SOLVED]glibc update sbin/init: error

Do you have /usr/lib/libudev.so.1.1.0 and /usr/lib/libudev.so.1 symlink pointing to the former?

Offline

#5 2012-08-30 19:41:47

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]glibc update sbin/init: error

Yes.

EilnHs.png

BTW could this be related to the order that the packages were installed and the removal of libsystemd and systemd-tools??

Last edited by 89c51 (2012-08-30 19:44:32)

Offline

#6 2012-08-30 19:50:28

adee
Member
From: The Moon
Registered: 2009-11-10
Posts: 110

Re: [SOLVED]glibc update sbin/init: error

89c51 wrote:

BTW could this be related to the order that the packages were installed and the removal of libsystemd and systemd-tools??

Initially I suspected that too, but the libudev.so.* files/links are all in the systemd package before/after the install, so they shouldn't be disappearing in the middle of the update. Despite I don't remember such message during this update, you should be able to safely reboot (I think). Maybe try it.

Offline

#7 2012-08-30 19:52:59

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]glibc update sbin/init: error

I ll try to reinstall glibc and see if anything changes.

update:
Yes

sudo pacman -S glibc 

gave no error.

reboot time.

Last edited by 89c51 (2012-08-30 19:54:36)

Offline

#8 2012-08-30 20:01:34

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]glibc update sbin/init: error

No idea what happened but the system rebooted and works just fine as it seems. Marking it solved.

Thanks for the help adee smile

Last edited by 89c51 (2012-08-30 20:04:22)

Offline

#9 2012-08-30 20:33:47

TheCycoONE
Member
From: Hamilton, Ontario, Canada
Registered: 2009-12-21
Posts: 31

Re: [SOLVED]glibc update sbin/init: error

Yes, I got the same thing, same solution.

Offline

#10 2012-08-30 20:36:54

TheCycoONE
Member
From: Hamilton, Ontario, Canada
Registered: 2009-12-21
Posts: 31

Re: [SOLVED]glibc update sbin/init: error

I'm pretty sure it is the upgrade order because libsystemd-tools which had libudev is removed, and systemd which now has it was installed after glibc.   For people to avoid this problem they should probably upgrade systemd on it's own first.

Offline

Board footer

Powered by FluxBB