LinuxSir.cn,穿越时空的Linuxsir!

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

Ubnutu update problem

[复制链接]
发表于 2007-3-29 11:49:50 | 显示全部楼层 |阅读模式
baochens@baochens-laptop:~$ su root
Password:
root@baochens-laptop:/home/baochens# sudo apt-get install -f
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@baochens-laptop:/home/baochens# sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
  libc6-i686 tzdata
The following NEW packages will be installed
  tzdata
The following packages will be upgraded:
  libc6-i686
1 upgraded, 1 newly installed, 0 to remove and 818 not upgraded.
2 not fully installed or removed.
Need to get 0B/1471kB of archives.
After unpacking 6029kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  tzdata libc6-i686
Install these packages without verification [y/N]? y
(Reading database ... 77682 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2007d-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/tzdata_2007d-1_all.deb (--unpack):
trying to overwrite `/usr/share/zoneinfo/NZ', which is also in package locales
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2007d-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



who knows why? Thank u very much~
发表于 2007-3-29 12:31:54 | 显示全部楼层
dpkg: error processing /var/cache/apt/archives/tzdata_2007d-1_all.deb (--unpack):
trying to overwrite `/usr/share/zoneinfo/NZ', which is also in package [color="Red"]locales

这两个包有同名文件,导致冲突
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-29 12:57:44 | 显示全部楼层
Post by yangtsecn
dpkg: error processing /var/cache/apt/archives/tzdata_2007d-1_all.deb (--unpack):
trying to overwrite `/usr/share/zoneinfo/NZ', which is also in package [color="Red"]locales

这两个包有同名文件,导致冲突

how to solve it ?
may i rename the file "NZ" in zoneinfo ?
Thank you for your answer.
回复 支持 反对

使用道具 举报

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

本版积分规则

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