我无法安装它,我看了所有可以的指南,但出现了同样的问题
sudo dpkg --add-architecture i386 && apt-get update && apt-get install wine32
出现这样的情况:
Reading package list ... Done
E: Could not open lock file "/ var / lib / apt / lists / lock" - open (13: Permission denied)
E: Could not lock directory / var / lib / apt / lists /
W: There was a problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: There was a problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
答案1
你正在运行dpkg
,sudo
但apt-get
没有。在每个命令之后,&&
您都会有一个新命令,并且还需要另一个命令sudo
:
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32