尝试覆盖也在包“名称”中的“文件”

尝试覆盖也在包“名称”中的“文件”

添加此 ppa 后ppa:thopiekar/亲爱的并尝试安装亲爱的如果没有成功,我无法修复任何问题sudo apt-get 安装-f 安装命令

jeggy@jeggy-XPS:~$ sudo apt-get -f install
[sudo] password for jeggy: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gnustep-gui
The following NEW packages will be installed:
  gnustep-gui
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3.569 kB of archives.
After this operation, 12,4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 283062 files and directories currently installed.)
Unpacking gnustep-gui:amd64 (from .../gnustep-gui_0.23.1-0~201311190000~7545~7~ubuntu13.10.1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gnustep-gui_0.23.1-0~201311190000~7545~7~ubuntu13.10.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/GNUstep/ColorPickers/StandardPicker.bundle/StandardPicker', which is also in package gnustep-gui-runtime 0.22.0-1ubuntu1
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/gnustep-gui_0.23.1-0~201311190000~7545~7~ubuntu13.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jeggy@jeggy-XPS:~$ 

有人能帮我解决这个问题吗?

答案1

好吧,您安装的时间不对。我现在决定进行多架构构建。因此,我们在 32 位和 64 位的 mach-o 二进制文件中使用了 dyld64 和 dyld32。在这种情况下,请稍等片刻。我经常会尝试向依赖项(例如 gnustep 或 llvm)添加版本,以使安装/升级到新软件包布局的工作顺利进行。

不过,我现在在 PPA 页面上添加了一条通知。- 我的 PPA 根本没有准备好,但很多博客和文章都指向它!没有人问它是否准备好了!对于所有其他遇到 PPA 问题的人:都怪这些帖子的作者!

所以最好的解决方案就是清除包:

sudo apt-get purge <pkg>

或者当你有时间的时候,等待几个小时或几天后再执行此操作(取决于我的速度以及启动板构建系统构建和发布我的软件包的速度):

sudo apt-get update

sudo apt-get upgrade -f

答案2

您需要删除gnustep-gui-runtime包才能执行操作:

sudo apt-get remove gnustep-gui-runtime
sudo apt-get -f install
sudo apt-get upgrade
sudo apt-get install gnustep-gui

尝试覆盖 '/usr/lib/GNUstep/ColorPickers/StandardPicker.bundle/StandardPicker',它也位于软件包 gnustep-gui-runtime 0.22.0-1ubuntu1 中

此消息表明发生了什么。目前,您有 2 个软件包试图提供相同的文件。我认为 PPA 的使用是错误的,因为存储库中的软件包提供的文件不会发生冲突(每个软件包都使用不同的名称/路径存储,以防您需要提供相同文件的不同版本)。

答案3

在终端上尝试这个命令,

sudo dpkg -i --force-overwrite /var/cache/apt/archives/gnustep-gui_0.23.1-0~201311190000~7545~7~ubuntu13.10.1_amd64.deb

dpkg 强制用包中的 文件覆盖StandardPicker现有文件。/usr/lib/GNUstep/ColorPickers/StandardPicker.bundlegnustep-gui

相关内容