我的终端显示此错误。我无法添加任何应用程序。请帮忙
ashwin@ash:~$ sudo add-apt-repository ppa:tualatrix/ppa
[sudo] password for ashwin:
The official Ubuntu Tweak stable repository
More info: https://launchpad.net/~tualatrix/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpwj1dey/secring.gpg' created
gpg: keyring `/tmp/tmpwj1dey/pubring.gpg' created
gpg: requesting key 0624A220 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpwj1dey/trustdb.gpg: trustdb created
gpg: key 0624A220: public key "Launchpad PPA for TualatriX" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ashwin@ash:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
答案1
首先关闭所有包管理器程序(例如Synaptic
或)Software Center
,然后重试apt-get update
。如果这不能解决您的问题,请查看建议的方法这里。