IOError: Failed to lock /var/cache/apt/archives/lock

Bug #98556 reported by Alan Pope 🍺🐧🐱 🦄
2
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/python2.5/site-packages/GDebi/GDebiCli.py", line 105, in install
    res = self._cache.commit(fprogress,iprogress)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 200, in commit
    res = self._fetchArchives(fetcher, pm)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 144, in _fetchArchives
    raise IOError, "Failed to lock %s" % lockfile
IOError: Failed to lock /var/cache/apt/archives/lock

alan@box:~$ sudo rm /var/cache/apt/archives/lock
rm: cannot remove `/var/cache/apt/archives/lock': No such file or directory

Run it again, the same thing happens.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I can install the package with

sudo dpkg -i foo.deb
then
sudo apt-get -f install

but this isnt nice.

Revision history for this message
Michael Vogt (mvo) wrote :

Could you please try this again with the current gdebi from feisty? sudo gdebi foo.deb should work

Changed in gdebi:
status: Unconfirmed → Needs Info
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gdebi (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.