The officially official Devuan Forum!

You are not logged in.

#1 2019-12-07 20:01:51

w3
Member
Registered: 2018-08-27
Posts: 20  

Eudev broke down after upgrade.

eudev broke down after the update and I can't access my desktop or have an internet connection.

The problem happened after enabling the proposed repository in my source.list and upgrading to eudev-3.2.2-16.

any solution in mind?

I thought about downloading the eudev-3.2.2-13 .deb package, saving it to a pendrive and installing it using dpkg, but I can't find a place to download the binary.

Offline

#2 2019-12-07 20:29:45

bgstack15
Member
Registered: 2018-02-04
Posts: 154  

Re: Eudev broke down after upgrade.

I see 3.2.2-13 available under http://pkgmaster.devuan.org/devuan/pool/main/e/eudev/. Is that what you're looking for? Of course, make sure you grab a package that fits which suite you're using if applicable.


This space intentionally left blank.

Offline

#3 2019-12-07 21:16:04

w3
Member
Registered: 2018-08-27
Posts: 20  

Re: Eudev broke down after upgrade.

thanks man. Problem solved

Offline

#4 2019-12-10 16:27:42

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

I have also hit this problem with eudev after an upgrade.

Looking in /var/log/rc.log I can see :-

OpenRC 0.23 is starting up Linux 4.18.0-0.bpo.1-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
Service `eudev' needs non existent service `unmountroot'
[ ok ]
eudev                 | * ERROR: eudev needs service(s) unmountroot
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78

What I am seeing is that the keyboard and mouse appear dead but the screen is still live, with the time updating.

I can log in via ssh.

Geoff

Offline

#5 2019-12-10 16:31:25

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

Looking in /var/log/dpkg.log I see :-

2019-12-10 10:32:15 upgrade eudev:amd64 3.2.2-13 3.2.2-16

Geoff

Offline

#6 2019-12-10 17:09:10

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

I have tried reinstalling with the version 13 :-

apt install --reinstall  eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13

but is fails with

dpkg: error processing archive /var/cache/apt/archives/eudev_3.2.2-13_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
insserv: warning: script 'savecache' missing LSB tags and overrides
dpkg: warning: downgrading libeudev1:amd64 from 3.2.2-16 to 3.2.2-13
Preparing to unpack .../libeudev1_3.2.2-13_amd64.deb ...
Unpacking libeudev1:amd64 (3.2.2-13) over (3.2.2-16) ...
Errors were encountered while processing:
/var/cache/apt/archives/eudev_3.2.2-13_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Geoff

Offline

#7 2019-12-10 19:58:51

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,571  

Re: Eudev broke down after upgrade.

Geoff 42 wrote:

I have tried reinstalling with the version 13 :-

apt install --reinstall  eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13

but is fails with <snip>


Geoff


Try adding --force-downgrade

Offline

#8 2019-12-10 20:08:42

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

Thank you.

I have now tried unsuccessfully :-

apt install --reinstall  --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

apt-get install --reinstall  --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

apt install --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

I expect I am overlooking something simple!

I have also managed to open a vnc window from my laptop and then run Synaptic, but that also gets the same problem unpacking eudev that I got with apt.

Geoff

Offline

#9 2019-12-10 20:41:13

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

Ah, I think it is allow-downgrades.

This still produces the same problem with unpacking eudev.

Geoff

Offline

#10 2019-12-11 01:18:10

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,571  

Re: Eudev broke down after upgrade.

Oops! I gave you the option that goes with dpkg, not apt. Sorry about that.

You could try downloading the packages and installing with dpkg --force-downgrade -i <packages>.
Or maybe install an older package from /var/cache/apt/archives/

I'm not exactly sure what the problem is. If you're ambitious, you could unpack the deb, add a 'set -x' to the preinst script(s) and then repack. That might give useful information.

Not sure if this is relevant, but I recently had trouble upgrading  eudev to a lower package version (220:something from when ascii was in testing to 3.2.2-something). I had to comment out a couple lines in /var/lib/dpkg/info/libeudev1:amd64.list and .md5sums to nullify a dependency that was getting in the way.

These two:
/lib/x86_64-linux-gnu/libudev.so.1.6.3
/lib/x86_64-linux-gnu/libudev.so.1

Offline

#11 2019-12-11 14:15:15

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

OK, I decided to come at this from a different angle and see if the eudev problem was a simple configuration problem.

rc.log was reporting :-

Service `eudev' needs non existent service `unmountroot'
[ ok ]
eudev                 | * ERROR: eudev needs service(s) unmountroot

I had a look in /etc/init.d/eudev and it started :-

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          eudev udev
# Required-Start:    mountkernfs
# Required-Stop:     unmountroot
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO

so it was asking for unmountroot, however, on my Beowulf laptop, it wants umountroot and there is indeed a service umountroot. I saved a copy of eudev in /root and then edited out the unwanted "n", so that eudev now starts :-

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          eudev udev
# Required-Start:    mountkernfs
# Required-Stop:     umountroot
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO

This now boots just fine and rc.log reports :-

OpenRC 0.23 is starting up Linux 4.19.0-0.bpo.4-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78
eudev                 |[....] Starting hot-plug events dispatcher: udevd[ ok .
eudev                 |[....] Synthesizing the initial hotplug events...[ ok done.
eudev                 |[....] Waiting for /dev to be fully populated...keyboard-setup.sh     |[ ok done.
[ ok done.

Geoff

Offline

#12 2019-12-11 22:57:40

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,571  

Re: Eudev broke down after upgrade.

Thanks for finding that!

There's a new version in ascii-proposed with the fix. (3.2.2-17)  Please test and report.

Offline

#13 2019-12-12 09:33:25

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

OK, but I can't afford to break my machine today, so it will probably have to wait until Friday.

Geoff

Offline

#14 2019-12-13 09:03:32

Geoff 42
Member
Registered: 2016-12-15
Posts: 336  

Re: Eudev broke down after upgrade.

Yes, a routine update has moved eudev and libeudev1 from 3.2.2-16 to 3.2.2-17 and I can reboot and still log in ;-)

rc.log reports :-

OpenRC 0.23 is starting up Linux 4.19.0-0.bpo.4-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78
eudev                 |[....] Starting hot-plug events dispatcher: udevd[ ok .
eudev                 |[....] Synthesizing the initial hotplug events...[ ok done.
eudev                 |[....] Waiting for /dev to be fully populated...keyboard-setup.sh     |[ ok done.
[ ok done.

Thank you.

Geoff

Offline

Board footer