I tried to update using the update manager and I couldn't because I encountered an error halfway through (error: brokencount>0
). I have tried apt-get -f install
, but it doesn't work.
You can check my terminal:
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)
I have tried to clean cache then install again or overwrite ethreum-swarm.