Ubuntu: dpkg fails on Ubuntu Server: Difference between revisions
Appearance
Created page with "I finally got this fixed, I found a YouTube video that fixed my issue. These are the commands that fixed my problem: <syntaxhighlight lang="bash"> sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent sudo mkdir /var/lib/dpkg/info sudo apt-get update sudo apt-get -f install sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent sudo rm -rf /var/lib/dpkg/info sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info </syntaxhighlight>" |
No edit summary |
||
| Line 10: | Line 10: | ||
sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info | sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Source == | |||
* [https://stackoverflow.com/questions/72448922/dpkg-fails-on-ubuntu-server-22-04-lts stackoverflow.com] | |||
Revision as of 01:50, 31 March 2025
I finally got this fixed, I found a YouTube video that fixed my issue. These are the commands that fixed my problem:
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info