How to fix dpkg needs configuring every time I install a new package?
by maybeJosiah from LinuxQuestions.org on (#6QQ41)
https://community.kde.org/Guidelines..._crash_reports
Just for reference, I did what it says for BEFORE Ubuntu 22.10. I could at least have dpkg update or repair packages before this. Every time I try to install a new package including those on that page I have to run at request 'dpkg --configure a' or at least I think that is what it is and that sort of fixes it but it happens every time now. I have about all programming languages installed on this machine except Go and C stuff. How do I fix this for good. Sorry I have not done much if any research, I briefly looked at "man dpkg" in terminal, I do not know what to look up. I am on an upgraded Lenovo Thinkpad T460 with Ubuntu desktop pro 22.04.4 currently installed. This all started because snap Kate (KDE Advanced Text Editor) now cannot "save as", it crashes, and does not display its icon any more.
echo -e "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse\ndeb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse\ndeb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
sudo apt install ubuntu-dbgsym-keyring
sudo apt update
Those are commands I used. Each line is a new command. I tried to do repair and more specifically advanced options, repair packages, it failed, seemingly because of that new addition. KDE is saying take up that dpkg stuff with Ubuntu/Canonical, don't know how or if it is free. They also said I should try to update Kate. I don't think there is an update, at least my package manager does not seem to think so. X E.
Just for reference, I did what it says for BEFORE Ubuntu 22.10. I could at least have dpkg update or repair packages before this. Every time I try to install a new package including those on that page I have to run at request 'dpkg --configure a' or at least I think that is what it is and that sort of fixes it but it happens every time now. I have about all programming languages installed on this machine except Go and C stuff. How do I fix this for good. Sorry I have not done much if any research, I briefly looked at "man dpkg" in terminal, I do not know what to look up. I am on an upgraded Lenovo Thinkpad T460 with Ubuntu desktop pro 22.04.4 currently installed. This all started because snap Kate (KDE Advanced Text Editor) now cannot "save as", it crashes, and does not display its icon any more.
echo -e "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse\ndeb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse\ndeb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
sudo apt install ubuntu-dbgsym-keyring
sudo apt update
Those are commands I used. Each line is a new command. I tried to do repair and more specifically advanced options, repair packages, it failed, seemingly because of that new addition. KDE is saying take up that dpkg stuff with Ubuntu/Canonical, don't know how or if it is free. They also said I should try to update Kate. I don't think there is an update, at least my package manager does not seem to think so. X E.