[SOLVED]Debian 8.1: can't process updates for udev & systemd

If none of the more specific forums is the right place to ask

[SOLVED]Debian 8.1: can't process updates for udev & systemd

Postby Dandi » 2015-06-06 22:27

I was trying to install recent updates, but apt-get couldn't do this. Here's the output I got:
Code: Select all
(Reading database ... 187979 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u1_i386.deb ...
Failed to execute operation: Connection reset by peer

Message from syslogd@debian-LAPTOP at Jun  6 14:56:49 ...
 kernel:[357720.299647] systemd[1]: segfault at b87cf92c ip b765e480 sp bf872e60 error 4 in systemd[b762f000+130000]
Unpacking udev (215-17+deb8u1) over (215-17) ...
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Failed to execute operation: Connection timed out
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Processing triggers for systemd (215-17) ...
Failed to execute operation: Connection timed out
dpkg: error processing package systemd (--unpack):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Now I can't continue upgrading because every time it tries to finish the previous update and fails to process udev.

PS. I don't know if it's relevant, but while upgrading udev for the first time, my laptop switched to tty1 on its own. When I switched it back to graphic subsystem, it still was in process of upgrading udev or systemd and after all failed to finish.
Last edited by Dandi on 2015-06-07 00:00, edited 1 time in total.
Dandi
 
Posts: 3
Joined: 2014-10-26 08:35

Re: Debian 8.1: can't process updates for udev & systemd

Postby fireExit » 2015-06-06 23:38

The first of my updates (in one of my VM's) went without problems; i will do the other systems next.

try
Code: Select all
apt-get -f install

Code: Select all
dpkg --configure -a
User avatar
fireExit
 
Posts: 559
Joined: 2014-11-20 11:22

Re: Debian 8.1: can't process updates for udev & systemd

Postby Dandi » 2015-06-06 23:58

Okay.
I finally rebooted, not without tricks though. Usual
Code: Select all
reboot
showed me an error (something about tasks and init scripts, I don't remember) and didn't want to do anything, so I had to use force reboot
Code: Select all
reboot -f
after which, fortunately, I was able to reinstall udev with just
Code: Select all
apt-get install udev
and then upgrade the rest of the packages.
Dandi
 
Posts: 3
Joined: 2014-10-26 08:35

Re: [SOLVED]Debian 8.1: can't process updates for udev & sys

Postby fireExit » 2015-06-07 00:01

Thanks for sharing the solution :D
User avatar
fireExit
 
Posts: 559
Joined: 2014-11-20 11:22


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable