[ubuntu-za] dpkg returned an error code (1)
wesley.werner at gmail.com
Tue Dec 15 13:51:07 GMT 2009
The two packages obviously has some files that clash, so it might be called
Now that I think about it, checking the libpurple / pidgin launchpad bug
lists would've been a good idea too ;)
Glad that worked.
On Tue, Dec 15, 2009 at 3:39 PM, David Robert Lewis (ethnopunk) <
ethnopunk at telkomsa.net> wrote:
> Hi Wez,
> Thanks. I couldn't remove mxit-libpurple. Aptitude was stuck in a
> puzzle. First solution didn't work. Tried second solution. Had to
> downgrade the package then upgrade. All fine now. Would you call this a
> bug on the MixIt side? They obviously writing code in complete isolation
> from Pidgin?
> wez wrote:
> > Hi David.
> > I guess dpkg doesn't want to overwriting the file (mxit.png) that
> > already exists for another package (mxit-libpurple). You can tell dpkg
> > to continue and overwrite anyway, but note I am note sure how this
> > will affect the mxit-libpurple package when you want to remove it.
> > #1 remove mxit-libpurple first, install pidgin then add mxit-libpurple
> > back. This is what I would try.
> > if that doesnt work, you could look into the next step, dont just do
> > it, without knowing what it will do:
> > #2 you *could* force apt-get to overwrite that file, but as the man
> > page says <http://linux.die.net/man/8/apt-get>:
> > *--force-yes*
> > Force yes; This is a dangerous option that will cause apt to
> > continue without prompting if it is doing something potentially
> > harmful. It should not be used except in very special situations.
> > Using force-yes can potentially destroy your system! Configuration
> > Item: APT::Get::force-yes.
> > Normally you wouldn't want to just overwrite files, which is why dpkg
> > stops, this option would force the overwrite, if you're sure thats
> > what you want then you can specify that option.
> > On Tue, Dec 15, 2009 at 2:03 PM, David Robert Lewis (ethnopunk)
> > <ethnopunk at telkomsa.net <mailto:ethnopunk at telkomsa.net>> wrote:
> > Not sure why dpkg can't solve this on its own? Any ideas?
> > (Reading database ... 255666 files and directories currently
> > installed.)
> > Preparing to replace pidgin-data 1:2.6.3-1ubuntu1~pidgin1.9.10 (using
> > .../pidgin-data_1%3a2.6.4-1ubuntu3~pidgin1.9.10_all.deb) ...
> > Unpacking replacement pidgin-data ...
> > dpkg: error processing
> > (--unpack):
> > trying to overwrite
> > '/usr/share/pixmaps/pidgin/protocols/16/mxit.png',
> > which is also in package mxit-libpurple 0:2.2.0-1
> > dpkg-deb: subprocess paste killed by signal (Broken pipe)
> > Processing triggers for hicolor-icon-theme ...
> > Errors were encountered while processing:
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > -DRL
> > --
> > ubuntu-za mailing list
> > ubuntu-za at lists.ubuntu.com <mailto:ubuntu-za at lists.ubuntu.com>
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-za