Re: apt-get locking dpkg
Jonas Meurer <email@example.com> writes:
> is there any good reason for apt-get locking dpkg already in download
> mode? what I mean is, that if I install some large packages with
> apt-get, I'd like to be able to remove, purge and install other packages
> while apt-get still is downloading.
> Maybe it's possible to add a break/quit choice in apt-get if dpkg is locked
> when apt-get tries to use it.
When you ask apt to do something, it makes decisions about what to do based
on the current state of the packaging system. Then, it downloads what it
needs, and then it does it. You aren't allowed to change the state of the
system out from under it.