Bug#49420: Don't lock status DB with --download-only (or while downloading generally)
Hi
Jason Gunthorpe schrieb:
> On Sun, 7 Jan 2001, Arthur Korn wrote:
>
> > Apt-get upgrade blocks me from testing my own packages while it
> > is downloading files (takes me hours over my slow link). It
> > locks the status-DB (even dpkg refuses to installs), though it
> > doesn't touch it while downloading (or does it?).
>
> Use the no-locking option in this case, -o Debug::no-locking=true
Thanks for the hint, but it does not work for some reason:
13:24:43 arthur@turing:~$ alias apt-download
alias apt-download='sudo apt-get --download-only -o Debug::no-locking=true '
13:25:28 arthur@turing:~$ apt-download install libdockapp-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libdockapp1 libxaw-dev xlib6g-dev
The following NEW packages will be installed:
libdockapp-dev libdockapp1 libxaw-dev xlib6g-dev
0 packages upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 365kB of archives. After unpacking 1154kB will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.at.debian.org unstable/main libdockapp-dev 1:0.4.0-1 [9238B]
Get:2 http://ftp.at.debian.org unstable/main libdockapp1 1:0.4.0-1 [8404B]
While this is running on another rxvt:
13:25:45 arthur@turing:~$ sudo dpkg -i
src/msyslog/msyslog_1.01-10_i386.deb
dpkg: status database area is locked by another process
13:26:12 arthur@turing:~$
Get:3 http://ftp.at.debian.org unstable/main libxaw-dev 4.0.2-1 [290kB]
Get:4 http://ftp.at.debian.org unstable/main xlib6g-dev 4.0.2-1 [57.4kB]
Fetched 365kB in 57s (6373B/s)
13:26:48 arthur@turing:~$
ciao, 2ri
--
Options are optional.
man 5 autofs
Reply to: