Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Dandi
Posts: 3
Joined: 2014-10-26 08:35

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

#1 Post by Dandi »

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.

User avatar
fireExit
Posts: 559
Joined: 2014-11-20 11:22

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

#2 Post by fireExit »

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

Dandi
Posts: 3
Joined: 2014-10-26 08:35

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

#3 Post by Dandi »

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.

User avatar
fireExit
Posts: 559
Joined: 2014-11-20 11:22

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

#4 Post by fireExit »

Thanks for sharing the solution :D

Post Reply