每次我尝试在终端中安装 wine 时都会出现这些错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version.
The following packages were automatically installed and are no longer required:
acpid:i386 dh-apparmor libc6-dev:i386 libmail-sendmail-perl
libsys-hostname-long-perl libxv1:i386 libxvmc1:i386 linux-libc-dev:i386
make:i386 po-debconf
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up libssl1.0.0:i386 (1.0.1f-1ubuntu9.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libssl1.0.0:i386 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libpam-gnome-keyring:amd64 (3.10.1-1ubuntu7.1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam-gnome-keyring:amd64 (--configure)
subprocess installed post-installation script returned error exit status
Errors were encountered while processing:
libssl1.0.0:i386
libpam-gnome-keyring:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
当我尝试在 Ubuntu 软件中心安装它时,我收到一条错误消息,提示“需要安装不受信任的软件包”,我必须不断按退出才能将其从屏幕上删除。有一次我几乎成功在 Ubuntu 软件中心安装 wine,但在安装过程中它一直提示“正在等待 Apt-Get 退出”。有人能帮我解决我的问题吗?谢谢
答案1
我认为你的系统可能坏了
这可能会解决你的问题
首次重启
然后打开根终端然后按照这些命令
nano /etc/apt/sources.list
然后将其粘贴到您现有的源列表中(包含来自 VIVID VELVET)
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner
然后执行这些命令
sudo apt-get update
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get upgrade
也许是为了新的分发更新
sudo apt-get dist-upgrade
这是为了重新安装 Wine
sudo apt-get remove wine
sudo apt-get purge wine
sudo apt-get autoclean
sudo apt-get install wine