Reply To: Managing problems after update/upgrade

Forum › Forums › New users › New Users and General Questions › Managing problems after update/upgrade › Reply To: Managing problems after update/upgrade

#190828
Xunzi_23
Member

    Hi stevesrO,

    You probably have done so already, if not you might find reading below informative.

    https://wiki.debian.org/AptCLI

    apt and aptitute are both frontends for dpkg, at times it is useful to
    know some of the direct commands. since i started running sid I have found dpkg --reconfigure -a
    a very useful rescue in times of package problems.

    According to manuals, If you have a corrupt or probably corrupt apt database you can do
    sudo rm /var/cache/apt/*pkgcache.bin
    With next use apt will rebuild those databases. It has rescued a few systems where updates were blocked
    for me and other users.

    Addition, also very useful: https://debian-handbook.info/browse/stable/sect.apt-frontends.html

    • This reply was modified 10 months ago by Xunzi_23.