Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: sotnik on 2023/07/09, 09:28:57

Title: System partialy start after upgrade
Post by: sotnik on 2023/07/09, 09:28:57
Hello
With the last upgrade the system will not start. I get a black screen. I have to startx to get the desktop.
What is the possible problem?
Thank you
Title: Re: System partialy start after upgrade
Post by: devil on 2023/07/10, 18:51:27
To try to find an answer to that, we need to know your desktop environment. If it is KDE Plasma, check if sddm is installed.
Title: Re: System partialy start after upgrade
Post by: hsp on 2023/07/10, 19:16:48

downgrade  udisks2,  libudisks2-0 and all installed  libblockdev-*

...
Title: Re: System partialy start after upgrade
Post by: hendrikL on 2023/07/10, 19:20:50
udisks2 could be the reason,

Downgrading it should help,

https://snapshot.debian.org/package/udisks2/2.9.4-4/#udisks2_2.9.4-4

https://snapshot.debian.org/package/libblockdev/2.28-2/

check the logfile

/var/log/apt$ sudo cat history.log


but best is, do not upgrade your system till that is fixed
Title: Re: System partialy start after upgrade
Post by: hsp on 2023/07/10, 20:01:16
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040793

...
Title: Re: System partialy start after upgrade
Post by: graviton on 2023/07/10, 20:06:35
I have the same problem, plasma practically no longer usable.

graviton

Title: Re: System partialy start after upgrade
Post by: graviton on 2023/07/10, 20:31:08
udisks2 could be the reason,

Downgrading it should help,


Do you have to set the debian.list to testing for the downgrade, or is there an easier way?

Title: Re: System partialy start after upgrade
Post by: hendrikL on 2023/07/10, 21:04:18

Do you have to set the debian.list to testing for the downgrade, or is there an easier way?



No, debian has something like a Time Machine called snapshots. See the links above.

You need to download all the needed files from there, You can find them, the needed files, in /var/log(apt/history.log.
In my case, it was:

Quote
libblockdev-part3, libblockdev-swap3, libblockdev-fs3, libnvme1:amd64 (1.5-1, automatic), libblockdev-loop3:amd64 (3.0.1-1, automatic), libblockdev3:amd64 (3.0.1-1, automatic), libblockdev-utils3:amd64 (3.0.1-1, automatic), libblockdev-nvme3:amd64 (3.0.1-1, automatic), libblockdev-crypto3:amd64 (3.0.1-1, automatic) udisks2-0 and libudisks2-0

Remove all that "amd64 automatic version number stuff", and you have your needed packages, download them from snapshots.debian.org.



Title: Re: System partialy start after upgrade
Post by: hendrikL on 2023/07/10, 21:10:38
To install the downloaded package, use apt!

Like, as root: "apt install ./your.downloaded.package.deb"
Title: Re: System partialy start after upgrade
Post by: graviton on 2023/07/10, 21:33:10
To install the downloaded package, use apt!

Like, as root: "apt install ./your.downloaded.package.deb"

Thanks, I've downgraded to the previous version number with apt (apt-cache policy udisks2 etc.), which temporarily solved the problem.
Title: Re: System partialy start after upgrade
Post by: sotnik on 2023/07/10, 22:15:55
Sorry I didn't notice the answers and I opened a new question in https://forum.siduction.org/index.php?topic=9056.0 which can be ignored

I use xfce (default installation) and I downgraded usedk2, as suggested, but the problem remains.
It load the lightdm and not the siduction (I installed  lightdm to overcome the problem. See above link)

At the moment my question is, how I can restore the default siduction display manager
Title: Re: System partialy start after upgrade
Post by: hendrikL on 2023/07/10, 23:18:26
As a workaround, you can install libblockdev-mdraid3!

Code: [Select]
sudo apt install libblockdev-mdraid3
From the bugreport
Quote
The crash is definitely not expected.

libblockdev-{crypto3,mdraid3,nvme3} are currently optional (Recommends
or Suggests).
It appears though, if they are missing udisks2 is crashing. So for a
short-term fix, you can manually install those packages.

Will have to check, whether to make those plugins hard dependencies or
if a different solution can be found.

Title: Re: System partialy start after upgrade
Post by: hschn on 2023/07/11, 07:44:35
fixed with
udisks=2.10.0-3
Title: Re: System partialy start after upgrade
Post by: DeepDayze on 2023/07/11, 23:36:40
Now it looks like mdadm now is required even if not used as libblockdev-mdraid3 is now a dependency for udisks2.