dpkg error: trying to overwrite X, which is also in package Y

3035 단어
dpkg error: trying to overwrite X, which is also in package Y
오늘 ubuntu9.10 alpha4 업그레이드에 문제가 발생했습니다.
Preparing to replace language-pack-zh 1:9.10 (using .../language-pack-zh_1%3a9.10+20090805_all.deb) ...
Unpacking replacement language-pack-zh ...
Preparing to replace language-pack-zh-base 1:9.10 (using .../language-pack-zh-base_1%3a9.10+20090805_all.deb) ...
Unpacking replacement language-pack-zh-base ...
dpkg: error processing /var/cache/apt/archives/language-pack-zh-base_1%3a9.10+20090805_all.deb (--unpack):
trying to overwrite `/usr/share/locale-langpack/zh_TW/LC_MESSAGES/sed.mo', which is also in package language-pack-zh-hant-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace language-pack-gnome-zh 1:9.10 (using .../language-pack-gnome-zh_1%3a9.10+20090805_all.deb) ...
Unpacking replacement language-pack-gnome-zh ...
Preparing to replace language-pack-gnome-zh-base 1:9.10 (using .../language-pack-gnome-zh-base_1%3a9.10+20090805_all.deb) ...
Unpacking replacement language-pack-gnome-zh-base ...
dpkg: error processing /var/cache/apt/archives/language-pack-gnome-zh-base_1%3a9.10+20090805_all.deb (--unpack):
trying to overwrite `/usr/share/locale-langpack/zh_TW/LC_MESSAGES/gnome-settings-daemon.mo', which is also in package language-pack-gnome-zh-hant-base

중국어는 다음과 같이 표시됩니다.
(  ...   123909  。)
language-pack-gnome-zh-hans-base ( .../language-pack-gnome-zh-hans-base_1%3a9.10+20090819_all.deb) ...
dpkg: /var/cache/apt/archives/language-pack-gnome-zh-hans-base_1%3a9.10+20090819_all.deb (--unpack) :
“/usr/share/locale-langpack/zh_CN/LC_MESSAGES/gnome-settings-daemon.mo”, language-pack-gnome-zh-base
dpkg-deb: (Broken pipe)
language-pack-gnome-zh-hant-base ( .../language-pack-gnome-zh-hant-base_1%3a9.10+20090819_all.deb) ...
dpkg: /var/cache/apt/archives/language-pack-gnome-zh-hant-base_1%3a9.10+20090819_all.deb (--unpack) :
“/usr/share/locale-langpack/zh_TW/LC_MESSAGES/gnome-settings-daemon.mo”, language-pack-gnome-zh-base
dpkg-deb: (Broken pipe)

/var/cache/apt/archives/language-pack-gnome-zh-hans-base_1%3a9.10+20090819_all.deb
/var/cache/apt/archives/language-pack-gnome-zh-hant-base_1%3a9.10+20090819_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

이와 같은 오류:
dpkg: error processing/var/cache/apt/archives/AAA(–unpack): trying to overwrite`/usr/lib/BBB', which is also in package CCC dpkg-deb:subprocess paste killed by signal(Broken pipe) Errors were encountered while processing: AAA E: Sub-process/usr/bin/dpkg returned an error code(1) 해결 방법:
sudo dpkg -i --force-overwrite AAA
(give full path of AAA), and then run
sudo apt-get -f install
again.

좋은 웹페이지 즐겨찾기