[Bug 830492] Re: Downloads should not lock apt

James Haigh James.R.Haigh at Gmail.com
Wed Jan 4 16:52:35 UTC 2012


While cleaning up the code, I realised how to show the details. So now
details for each file works as well.

I've tried it with Software Centre and Update Manager and they both work
well.

I'm using this myself now, not just testing. I'm quite happy with it. As
far as I'm concerned this bug is fixed and no longer affects me.

Just need Bittorrent and LPD now. But I'm not sure where to lookup the
BTIHs from, as they won't be on Ubuntu's servers. (At least not for a
while.) Maybe I could use DHT, but I don't know the scope of DHT or
whether that's possible. Or Avahi for a LAN-only solution.

I'll file a new ticket.

The branch is branched off r661 as that's is the latest version for good
ol' Natty.

** Changed in: aptdaemon
     Assignee: James Haigh (james.r.haigh) => (unassigned)

** Branch linked: lp:~aptdaemon-developers/aptdaemon/separation

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/830492

Title:
  Downloads should not lock apt

Status in APT:
  Won't Fix
Status in Aptboost:
  Incomplete
Status in Aptdaemon:
  In Progress
Status in The synaptic package manager:
  Won't Fix
Status in “apt” package in Ubuntu:
  Won't Fix
Status in “synaptic” package in Ubuntu:
  Won't Fix

Bug description:
  It should be possible to download while installing, or download 2
  things at once.

  Currently an apt-get command with '--download-only' will lock apt
  (/var/lib/dpkg/lock). Synaptic even locks apt just by being open!

  Examples:
  * I might be updating my system. The update is still in the download stage, and I want to download and install a small package for something. Currently I would have to stop the download, install the package, and resume the download.
  * I'm installing lots of application from the Software Centre. While 1 app is installing the next should be downloading.
  * Run apt-get from command line while browsing software in Synaptic.

  To avoid multiple instances of apt downloading the same file, each
  partial file should have it's own lock (For example,
  /var/cache/apt/archives/partial/inkscape_0.48.1-2ubuntu2_i386.deb
  would have inkscape_0.48.1-2ubuntu2_i386.lock). It may also be
  necessary to prevent updating package lists (sudo apt-get update) when
  any download lock exists as well as apt's main lock.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/830492/+subscriptions




More information about the foundations-bugs mailing list