每当我尝试打开 Ubuntu 软件中心时,它都会说我的文件已损坏,当我单击修复时,它会说,
Package operation failed
The installation or removal of a software package failed
Details
installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 255659 files and directories currently installed.)
Preparing to unpack .../tor_0.2.4.20-1_i386.deb ...
Unpacking tor (0.2.4.20-1) ...
dpkg: error processing archive /var/cache/apt/archives/tor_0.2.4.20-1_i386.deb (--unpack):
trying to overwrite '/usr/bin/tor', which is also in package tor-browser 3.5.4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/tor_0.2.4.20-1_i386.deb
Error in function:
dpkg: dependency problems prevent configuration of vidalia:
vidalia depends on tor (>= 0.2.2.29-beta-1); however:
Package tor is not installed.
dpkg: error processing package vidalia (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tor-geoipdb:
tor-geoipdb depends on tor (>= 0.2.4.20-1); however:
Package tor is not installed.
dpkg: error processing package tor-geoipdb (--configure):
dependency problems - leaving unconfigured
答案1
我也遇到了同样的问题。这个解决方案对我有用:
sudo dpkg -r tor-browser tor-geoipdb
sudo apt-get install -f
运行以下命令来安装 TOR:
sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser