[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: After upgrade from 10 to 11, 63 broken packages and aptitude never finishes.



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`.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: