Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] dpkg remove and don't work

$
0
0
I try to upgrade ubuntu and some packge break then I wrongly do this:


Quote:

sudo rm -r /var/lib/dpkg/*

and now I get this:


Quote:

masoud@masoud-PC:~$ sudo apt-get upgrade
[sudo] password for masoud:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch but it is not installable
wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu5) but it is not installable
E: Unmet dependencies. Try using -f.
and
Quote:

sudo dpkg --configure -a
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory
and

Quote:

masoud@masoud-PC:~$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch but it is not installable
wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu5) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Viewing all articles
Browse latest Browse all 26379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>