Jump to content

Ubuntu: dpkg fails on Ubuntu Server

From Wiki
Revision as of 01:49, 31 March 2025 by Kangtain (talk | contribs) (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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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