尝试覆盖 '/usr/bin/inspect',它也位于软件包 libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8 中

尝试覆盖 '/usr/bin/inspect',它也位于软件包 libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8 中

这是之后的输出sudo apt-get -f install

The following packages will be upgraded:
  libboost1.49-dev
1 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
21 not fully installed or removed.
Need to get 0 B/9,182 kB of archives.
After this operation, 24.6 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 580974 files and directories currently installed.)
Preparing to replace libboost1.49-dev 1.49.0-3.2ubuntu1 (using .../libboost1.49-dev_1.49.0-4_i386.deb) ...
Unpacking replacement libboost1.49-dev ...
dpkg: error processing /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_i386.deb (--unpack):
 trying to overwrite '/usr/bin/inspect', which is also in package libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

在终端上运行以下命令,

sudo dpkg -P libboost1.53-tools-dev
sudo apt-get -f install

相关内容