gpt4 book ai didi

dependencies - libstdc++6-armhf-cross 出现未满足的依赖项错误。如何解决?

转载 作者:行者123 更新时间:2023-12-04 03:59:51 24 4
gpt4 key购买 nike

在这种情况下,如何修复未满足的依赖项?我关注了很多要求我执行以下操作的文章。但没有任何作用!我不明白如何手动解决问题。

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get -f install

没发生什么事!我仍然收到错误。
sudo dpkg --configure -a
sudo apt-get -f install

还是一样的错误!
  The following extra packages will be installed:
libstdc++6-armhf-cross
The following packages will be upgraded:
libstdc++6-armhf-cross
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4 not fully installed or removed.
Need to get 0 B/210 kB of archives.
After this operation, 77.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 519436 files and directories currently installed.)
Preparing to unpack .../libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb ...
Unpacking libstdc++6-armhf-cross (4.8.4-2ubuntu1~14.04.1cross0.11.1) over (4.8.2-16ubuntu4cross0.11) ...
dpkg: error processing archive /var/cache/apt/archives/libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb (--unpack):
trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:i386 4.8.4-2ubuntu1~14.04.1
Errors were encountered while processing:
/var/cache/apt/archives/libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

谁能帮我弄清楚如何解决这个问题?我需要安装一些软件包,但此错误不允许我安装它!

最佳答案

我遇到了同样的问题。根据 this bug report ,这似乎是一个已确认的错误,临时修复是
$ sudo apt-get -o Dpkg::Options::="--force-overwrite" install -f
这给出了基础 dpkg命令 a --force-overwrite选项。

关于dependencies - libstdc++6-armhf-cross 出现未满足的依赖项错误。如何解决?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36208088/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com