LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1009|回复: 2

trying to overwrite `/usr/lib/xxx.so.0', which is also in package xxxxx

[复制链接]
发表于 2008-10-17 12:46:28 | 显示全部楼层 |阅读模式
自己随便打的deb包,

到目标机上安装出这个提示。

而 /usr/lib  下面却是没有 xxx.so.0
为什么提示 overwrite 呢 ?
:help

[color="Blue"]问题解决,貌似和本版不太关联。。。版主看着办哈
OS2008 基于 etch 的吧。

N810安装软件出现:
Unable to install  xxxxx.
Incompatible application package.
终端用 dpkg 安装又没有问题。

解决办法:
http://www.internettablettalk.com/forums/showthread.php?p=138481
  1. 1 - open application manager
  2. 2 - click on the menu then 'tools' then 'application catalogue'
  3. 3 - Click on the 'New' button
  4. 4 - in the 'Web address' field, delete the 'http://' and write 'matrix'
  5. 5 - click on the 'cancel' button
  6. 6 - a popup will appear asking you "Which pill?" and two buttons, one "red" and one "Blue". click on the "Red" button.
  7. 7 - now close the application catalog window
  8. [color="Red"]8 - go to http://kakaroto.homelinux.net/~kakaroto/n810
  9. 9 - install the packages in this order : tcl8.4, tk8.4, tcltls, libsnack2, amsn[/color]
  10. 10 - go back to step 1 and when asked to choose which pill, click on the "blue" button this time and you're done!
  11. p.s: I'm still trying to understand why it's incompatible when not in red pill mode.. if anyone can help.. please.. tell me.
复制代码
[color="Blue"]红色部分替换成你要安装的包,文件管理里面双击安装吧。
 楼主| 发表于 2008-10-17 13:14:14 | 显示全部楼层
我要把一个软件装进 N810
这个软件要用到 /usr/lib/libogg.so.0
还有别的一些库
我就把这些库和编译好的软件打成了deb 包
然后拷进去安装
dpkg -i xxxxx.deb
就出这个问题
如果用
dpkg -i --force-overwrite xxxxx.deb
可以安装,软件也可以运行,
但是有很多警告。

解决。。。自己大意,
原来打deb 包没改成 armel 的
拷到810安装失败,没有清除。。。
又继续装了 armel 的deb 包
所以有这个覆盖提示。。。?个人理解。



而且用N810的文件管理功能安装这个deb 包提示失败。

不知道这个问题是那里。。。
用命令行就可以装,文件管理就不行。。
查找着中。。。



要怎么才能完美的处理掉这个overwrite的错误?

3kS
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-17 13:16:18 | 显示全部楼层
对了,
还有,--force-overwrite 装好了之后为什么会在  /etc/下面自动生成了配置文件  xxxxx.conf 什么的

我看了 linuxqq 装完了是没有这些的啊?

是不是这个
DEBIAN/control
  1. Priority: extra
复制代码


知道了
DEBIAN/conffiles
这个。。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表