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

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



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. BTW, change "To end of auto-apt
mode, exit command" with "Exit the command to leave auto-apt mode."

-- 
see shy jo



Reply to: