[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: auto-apt (automatic apt-get)

At Fri, 7 Jul 2000 14:02:57 -0700,
Joey Hess <joeyh@debian.org> wrote:
> Another problem -- it has issues with dpkg and re-entrancy. For example:
> root@gumdrop:/home/joey>auto-apt run zsh
> Entering auto-apt mode: zsh
> To end of auto-apt mode, exit command
> root@gumdrop:/home/joey>dpkg --purge mutt
> (Reading database ... 61149 files and directories currently installed.)
> Removing mutt ...
> Install:dhelp   file:/usr/sbin/dhelp_parse      by:perl
> /usr/sbin/install-docs -r mutt
> Do you want to install dhelp now? [Y/n]y
> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily
> unavailable)
> E: Unable to lock the administration directory, are you root?
> Document `mutt' is not installed, cannot remove.
> Purging configuration files for mutt ...
> Ok, this is minor, and could easily be fixed by checking if the dpkg
> datbase is locked before prompting. 

Hmm, I never try it that.  
Is it enough to check /var/lib/dpkg/lock is locked?

> BTW, change "To end of auto-apt mode, exit command" with 
> "Exit the command to leave auto-apt mode."

I see. I'll change it.

Fumitoshi UKAI

Reply to: