On Fri, Dec 10, 2021 at 10:07:41AM +0100, Andrei POPESCU wrote: > On Jo, 09 dec 21, 18:37:02, A. F. Cano wrote: > > On Thu, Dec 09, 2021 at 07:44:09PM +0100, Andrei POPESCU wrote: > > > On Du, 05 dec 21, 18:08:35, A. F. Cano wrote: > > > > > > > > Something got really messed up during the upgrade. There are broken > > > > dependencies and some packages (like some vim addon) don't work at all. > > > > Vim, for instance is unusable. > > > > > > > > I have tried all the dpkg/apt/apt-get commands to fix broken > > > > dependencies, > > > > broken packages, etc, and they all return without error now [1], but > > > > aptitude > > > > starts "resolving dependencies" and it soon uses up all the available > > > > RAM, > > > > then all the available swap and the system slows down (thrashing) and > > > > then > > > > freezes. > > > > > > Did you try `dpkg --audit`? > > > > yes, it returns immediately with no errors and no output. > > > > I have tried 'aptitude search '-b' and it returns a list of broken > > packages. I have manually removed a few and am now down to 51 broken > > packages, but I'm afraid that even if I remove all the broken packages, > > aptitude is still going to behave the same way while attempting to > > resolve all the dependencies and never finish. > > > > What would be nice is some command that would install the dependencies > > of the broken packages, but would that get into the same loop of > > resolving dependencies that never finishes? > > Try checking the output of: > > dpkg -l | grep -v ^ii > > > In case there are any packages listed, depending on their state, it > should be possible to download them manually and install with `dpkg -i`.
After many iterations of installing, autoremoving, updating and upgrading, some packages were installed along with their dependencies, but I'm also getting: E; Packae '<package name>' has no installation candidate or <package name> is alerady the newest version (<version number>) dpkg -l | grep -v ^ii | wc -l 209 Which is lower than before, but aptitude still runs for hours resolving dependencies and exhausts RAM and swap. The remaining lines begin with 'ri' and 'rc'. I will keep trying and again boot this disk on the machine with 32GB RAM. Hopefully with fewer broken packages and dependencies, it will complete. > > Kind regards, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser Thanks for replying. Augustine