当我输入这个时:
sudo apt-get install chromium-browser
我明白了:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
chromium-browser
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.3 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Get:1 http://dz.archive.ubuntu.com/ubuntu focal/universe amd64 chromium-browser amd64 80.0.3987.163-0ubuntu1 [48.3 kB]
Fetched 48.3 kB in 6s (8,267 B/s)
Preconfiguring packages ...
Selecting previously unselected package chromium-browser.
(Reading database ... 178512 files and directories currently installed.)
Preparing to unpack .../chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
error: snap "chromium" has "install-snap" change in progress
dpkg: error processing archive /var/cache/apt/archives/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb (--unpack):
new chromium-browser package pre-installation script subprocess returned error exit status 10
Errors were encountered while processing:
/var/cache/apt/archives/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
似乎是什么问题?
我认为您在后台有一些东西阻止您安装该软件包
跑步 $ snap changes
你会得到类似的东西,你应该搜索任何做/正在进行的过程,这样你就可以中止它
ID Estate Generated Ready Description
10 Doing when installing snap "chromium"
现在您将获取 Doing 进程 ID 并输入此 ID,10 是我的进程,您将获得不同的进程。使用此命令,您将中止该过程,以便您可以毫无困难地生成一个新的
$ sudo snap abort 10
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句