solved: apt update messed up after crash
Liam Proven
lproven at gmail.com
Wed Mar 28 10:23:29 UTC 2018
On 28 March 2018 at 07:05, robert <robert at redcor.ch> wrote:
>
> this did not work either, but the above link pointed to some other solution:
>
> This I have done:
> 1. I did run the script:
>
> (
> for i in `dpkg -l | grep '^ii' | awk '{print $2}'`; do
> echo $i; sudo dpkg-reconfigure $i;
> done
> ) 2>&1 | tee dpkg-reconfigure.log
>
> It reconfigures all installed packages and saves the log to
> dpkg-reconfigure.log file.
>
> 2. this produced:
> debconf: DbDriver ”config“: config.dat is locked by another process:
> Resource temporarily unavailable” while installing packages
>
> 3. to find and kill the process holding the lock i did
>
> fuser -vik /var/cache/debconf/config.dat
>
>
> 4. then I could run the above script again and all was well
>
> thanks again
> robert
Oh, that's great! Very glad to hear it, and you're entirely welcome.
--
Liam Proven • Profile: https://about.me/liamproven
Email: lproven at cix.co.uk • Google Mail/Hangouts/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven • Skype/LinkedIn: liamproven
UK: +44 7939-087884 • ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
More information about the ubuntu-users
mailing list