The officially official Devuan Forum!

You are not logged in.

#2 Re: Other Issues » [SOLVED] libelogind-compat : Conflicts: libsystemd0 » 2024-04-14 18:00:40

The new version of elogind seems to have fixed the problem. Thanks to all who answered!

#3 Re: Other Issues » [SOLVED] libelogind-compat : Conflicts: libsystemd0 » 2024-04-14 11:26:33

Update #3: I removed systemd-standalone-sysusers as well, which also removed cron and cron-daemon-common. Again, no effect on the error message.

I reinstalled cron and cron-daemon-common. They pulled systemd-standalone-sysusers back in.

#4 Re: Other Issues » [SOLVED] libelogind-compat : Conflicts: libsystemd0 » 2024-04-14 11:14:37

Thanks for the quick reply. FWIW here's the full error message:

~> sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libelogind-compat : Conflicts: libsystemd0
E: Broken packages

The "apt upgrade" error persists even after "apt full-upgrade" succeeds, which is part of what confuses me. The other thing that confuses me is that libsystemd0 isn't installed, so can't conflict anything.

I tried "apt purge libsystemd0" in case there's something lurking, but the error remains.

Further update: I noticed that systemd-standalone-tmpfiles is in the autoremove list, so I removed it manually. Also no effect.

#5 Other Issues » [SOLVED] libelogind-compat : Conflicts: libsystemd0 » 2024-04-14 10:26:22

TheLancashireman
Replies: 7

I've been running unstable for some time, so I'm kind of used to strange things happening occasionally. However, this one seems persistent.

"apt upgrade" gives me the following error:

  The following packages have unmet dependencies:
   libelogind-compat : Conflicts: libsystemd0
  E: Broken packages

However, "apt full-upgrade" runs through without problems.

"dpkg -l libelogind-compat" says I have 252.9-2 installed:

  ii  libelogind-compat:amd64 252.9-2      amd64        user, seat and session management library compatibility

"dpkg -l libsystemd0" says it isn't installed:

  un  libsystemd0    <none>       <none>       (no description available)

If I uninstall  libelogind-compat, apt also wants to remove a whole load of stuff, including most or all of xorg. Similar if I use "apt satisfy" with the "conflicts" message. So I won't do that.

Any ideas?

Update:  "dpkg -l \*systemd\*" tells me that I have systemd-standalone-sysusers and systemd-standalone-tmpfiles installed. If I try to remove them, apt also wants to remove cron and cron-daemon-common, which I also don't want to do.

#6 Re: Hardware & System Configuration » merged /usr » 2024-02-28 17:59:09

For what it's worth - just ran apt-update and noticed new versions of eudev and libeudev1 incoming. After upgrading them (and only them) PC boots with no problems.
Then did a full upgrade. Now cryptsetup is causing trouble, but that's a different matter.

I got the warning from dpkg too, and a few warnings about dependency problems during the upgrade.

#7 Re: Other Issues » System starts without modules following an upgrade » 2024-02-26 20:43:13

I just solved a similar problem by downgrading eudev and libeudev from 3.2.14 to 3.2.12.

See this comment and those preceding it:  https://dev1galaxy.org/viewtopic.php?pid=48499#p48499

#8 Re: Hardware & System Configuration » merged /usr » 2024-02-26 20:37:12

I've found a solution or a workaround: downgraded to eudev_3.2.12-4+deb11u1_amd64.deb and libeudev1_3.2.12-4+deb11u1_amd64.deb
Removed my hacked list of modules from /etc/initramfs-tools/modules and ran update-initramfs -u

Now my system boots kernel 6.6.15 correctly. Keyboard and mouse both working. At some point I should tidy up /boot again and regenerate all the initrd.img files

So it might not be related to usrmerge after all.

What now? Should I report a bug against eudev?

#9 Re: Hardware & System Configuration » merged /usr » 2024-02-26 19:14:24

The non-standard choices that I made earlier were:
* adding modprobe, lsmod & co as symlinks to kmod
* editing some shellscripts to add /usr/bin and /usr/sbin to the hard coded paths at the top

Anyway, FWIW the logs are here: https://experimental.thelancashireman.org/devuan-logs/
There's a description file (info.txt)

#10 Re: Hardware & System Configuration » merged /usr » 2024-02-26 16:21:29

First inkling of a problem:  https://bugs.devuan.org/cgi/bugreport.cgi?bug=828

That was before usrmerge was forced. Some scripts had hard-coded paths to /bin and /sbin, but the programs they use moved to /usr/bin and /usr/sbin

But the problem of hard-coded paths should go away after usrmerge, shouldn't it?

#11 Re: Hardware & System Configuration » merged /usr » 2024-02-26 14:39:15

I can't get the dmesg output for the last known good case, but I can extract the information from syslog. It'll take a while though.

In the cases where the kernel doesn't find the root fs there's no dmesg and no log, of course.

I just tried transplanting the kernel files (config-, initrd.img-, System.map- and vmlinuz-6.5.0-4-amd) from my laptop. Also ceres, but not updated for a while. I never had 6.5.0-4 on my desktop so I wouldn't expect it to work properly (missing modules) but in fact it works almost as well as the setup with the forced modules in the initrd. With that in mind, I can switch back to a boot set from an earlier kernel (probably 6.1.xxx). I still have those kernels installed, but all the initrd files in /boot have been polluted by mkinitramfs. Fortunately I made a backup before I started fiddling :-)

One more "interesting" fact: my work laptop runs debian sid/unstable. A couple of updates ago it appeared to stop booting at the point where the text display switches from 80x25 to high-res. In fact, it didn't stop booting - it was the console that didn't work. An older kernel worked fine, so I uninstalled the generic kernel package and nailed the kernel version at 6.1.27-1. Now that I look at the fs more closely, it has been usrmerged - /bin, /sbin etc. are symlinks. So maybe my trouble there was an early indication of usrmerge trouble. I'm leaving the company at the end of March, so I won't do any more updates in case they break something.

#12 Re: Hardware & System Configuration » merged /usr » 2024-02-26 06:21:47

An update at the weekend (unstable/ceres) forced a usrmerge. Since then the PC doesn't boot correctly. The error message says that if cannot find the root filesystem.

The immediate cause is that the kernel fails to load any modules. I forced that by adding a list of modules to /etc/initramfs-tools/modules - the list obtained from lsmod in the repair system. Now the PC boots. I get a gui login. Unfortunately X doesn't recognise the keyboard and mouse. I can log in by ssh from my laptop and see that there are no errors in Xorg.log.0, but also no information about loading X modules for HID.

My guess is that the problem is related to udev.  Any ideas or comments?

#13 Installation » [SOLVED] Dependency of cryptsetup on cryptsetup-initramfs » 2019-07-01 19:09:31

TheLancashireman
Replies: 1

Hi,

I recently updated from ascii to ceres (unstable)

After the full upgrade I got a warning message along the lines of:
"your ramdisk configuration doesn't contain any encrypted drives. Consider removing cryptsetup-initramfs to get rid of this message."

So I did that, and apt removed cryptsetup as well.

I don't have any encrypted disks on my laptop, but I do have encrypted filesystems (e.g. usb sticks, image files etc.) So I'd like to get rid of the warning but keep cryptsetup. Why does cryptsetup require cryptsetup-initramfs? The other way round would seem more logical.

Board footer

Forum Software