IOError: Failed to lock /var/cache/apt/archives/lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gdebi
Installing a home made deb (using equivs-build) gdebi crashes out.
Traceback (most recent call last):
File "/usr/bin/gdebi", line 95, in <module>
debi.install()
File "/usr/lib/
res = self._cache.
File "/usr/lib/
res = self._fetchArch
File "/usr/lib/
raise IOError, "Failed to lock %s" % lockfile
IOError: Failed to lock /var/cache/
alan@box:~$ sudo rm /var/cache/
rm: cannot remove `/var/cache/
Run it again, the same thing happens.
I can install the package with
sudo dpkg -i foo.deb
then
sudo apt-get -f install
but this isnt nice.