Re: how to solve the "dpkg: error processing" issue when installing a package?



On Thu, Apr 30, 2009 at 6:47 PM, Mr. Wang Long <mr.wang.long@xxxxxxxxx> wrote:
On Thu, Apr 30, 2009 at 17:10, 明覺 <shi.minjue@xxxxxxxxx> wrote:
when i tries to install the gvfs package(it should not be specific to
this package, the error may occur when installing any package), it
shows the following error
-----------------------------------
After this operation, 463kB of additional disk space will be used.
(Reading database ... 127441 files and directories currently installed.)
Preparing to replace gvfs 1.0.3-4 (using .../gvfs_1.2.2-1_amd64.deb) ...
Unpacking replacement gvfs ...
dpkg: error processing /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
(--unpack):
trying to overwrite `/usr/lib/libgvfscommon.so.0.0.0', which is also
in package libgvfscommon0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------
what's the problem? how to solve it? thanks


--
My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



This problem also annoyed me today. It was solved by doing this:
dpkg --force-all -P libgvfscommon0
apt-get -f install
yes, i solved it the similar way by "dpkg -i --force-overwrite
/var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb" :)

Regards,
Wang Long




--
My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Keeping more up to date than Lenny, safely?
    ... You can temporarily enable unstable, install the package you're after, ... need and understand well enough to trouble shoot compilation problems. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: apt pinning confusion
    ... Pin: release o=Debian, a=experimental ... subject of "unsubscribe". ... Trouble? ... downgrade of the package ...
    (Debian-User)
  • Re: Iceweasel does not use JRE
    ... Just because it's not in a .deb package does not make it evilbadscary. ... What I meant to say is that installing sun-java5-plugin should do ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: resolv.conf getting overwritten [SOLVED]
    ... No trouble since installing resolvconf. ... with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: manually purge .deb file
    ... installing the deb file i hit cancel, somehow i cannot remove this file, dpkg, aptitute or apt-get says that my firefox packet should be removed but no file related to my firefox packet, ... I wasn't able to locate a file for the firefox-1.5.en-us.linux package. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)