升级到 Ubuntu 20.04 时出现以下提示:
Configuration file '/etc/sane.d/dll.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ?
我选择D
先看看差别,然后再做决定。现在程序不允许我继续。
看起来缓存仍然被锁定,但它让我回到提示。我得到了:
Could not get lock /var/lib/dpkg/lock. It is held by process 2743 (dpkg)... 234s
有任何想法吗?
答案1
尝试运行以下命令:
sudo killall -9 dpkg
sudo rm -f /var/lib/dpkg/lock
sudo apt-get -f install
如果您没有配置扫描仪,请回答y
问题。如果您有扫描仪,请保留当前文件。