Раньше у меня была проблема с пакетом, и я (ошибочно) запустил следующее:
rm -r /var/lib/dpkg/*
См. Также мой другой вопрос .
Теперь, когда я пытаюсь выполнить обновление, я получаю следующее:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
masoud@masoud-PC:~$ sudo apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
и когда я использую: sudo dpkg --configure -a
, я получаю следующее:
dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory
и для sudo apt-get upgrade - f get:
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