MX Linux fails to boot to login after updates

So I have gathered the info between CLI and the MX package installer and there are some listed in one that are not in the other. I understand that some are listed generally in MX package installer but include like files listed in terminal.

I tried to do the hold multiple files with the given command below but something is wrong in part of it:

dpkg -l | grep -i nvidia | awk ‘{print $2}’ | xargs sudo apt-mark hold
awk: cmd. line:1: ‘{print
awk: cmd. line:1: ^ invalid char '�' in expression

Files listed in dpkg that are not in the MX package manager:

So I am still having to go through each package in MX manager and see what is included just in case some of those red ones above are provided with them.

Will update with the results of that research.

Sheila

2 Likes

I think you can forget the libxxx packages … they should all be dependencies.

" To view the dependency tree of a package in Debian or Ubuntu, you can use the command apt-rdepends package_name, which will show you all the dependencies and their dependencies recursively. This helps you understand how packages are interconnected.

"

also apt show pkgname lists dependencies

I checked … apt does not automatically hold versions of dependencies, if a package version is held… because the new versions of dependencies may be required by other packages.
I would let the dependencies update … because the held package version will probably work with new versions of the dependencies and this will be safer for other packages that may require them.
Dependencies that are specifically nvidia may need to be held because they may be part of the problem … other packages should not require them.

This is messy. Your accountant skills may be needed.

1 Like

Right–replace numbers with package names–drill down :thinking:

Let me run the “names” with the commands you gave me and see if I can solve for x

Will update when I have a new list.

I know I can restore with TS, but I’d like to understand the dependency connections and see if I can fix this with the right holds.

Thanks @nevj

Sheila

2 Likes