Tín*_*ỳnh 6 package-management apt
我尝试使用更新管理器进行更新,但我无法更新,因为我在中途遇到错误(错误:)brokencount>0。我试过了apt-get -f install,但它不起作用。
您可以检查我的终端:
trungtin@trungtin-S551LN:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
debugedit libllvm5.0 librpmbuild3 librpmsign3 rpm swarm
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
ethereum-swarm
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0 B/5.560 kB of archives.
After this operation, 22,2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package ethereum-swarm.
(Reading database ... 316020 files and directories currently installed.)
Preparing to unpack .../ethereum-swarm_0.3.1+build14601+xenial_amd64.deb ...
Unpacking ethereum-swarm (0.3.1+build14601+xenial) ...
dpkg: error processing archive /var/cache/apt/archives/ethereum-swarm_0.3.1+build14601+xenial_amd64.deb (--unpack):
trying to overwrite '/usr/bin/swarm', which is also in package swarm 2.1.6-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ethereum-swarm_0.3.1+build14601+xenial_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我试图清理缓存然后再次安装或覆盖 ethreum-swarm。
小智 5
我删除了以太坊 ppa,sudo add-apt-repository --remove ppa:ethereum/ethereum然后必须sudo apt-get -f install按照错误消息的建议运行,然后才能完成任何其他 apt 命令。然后我可以sudo apt-get purge swarm成功运行,然后我可以运行sudo apt upgrade. 不过,我无法评论哪些事情是必要的或充分的。
| 归档时间: |
|
| 查看次数: |
1213 次 |
| 最近记录: |