[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: install krita. Broken pipe. Do I need a plumber?

Hi Scott,

Scott wrote:

> But seriously folks...
> What's a "broken pipe"?

A pipe is this keyboard symbol: |

When you want to use the output of one command as the input of another
command, you "pipe" it, like this: ls -l | sort

A broken pipe happens when the command reading input dies unexpectedly,
for instance (supposing I was a very fast typist) if I meanwhile ran
"killall -9 sort" in another xterm before ls was finished.

> dpkg: error processing /var/cache/apt/archives/krita_1%3a1.4.90.1-1_i386.deb (--unpack):
> trying to overwrite `/usr/share/mimelnk/image/x-raw.desktop', which is also in package digikam
> dpkg-deb: subprocess paste killed by signal ( *Broken pipe* )
> Errors were encountered while processing:
> /var/cache/apt/archives/krita_1%3a1.4.90.1-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

In this case, the program that dies is dpkg, and the reason it dies is
stated on the second line I quoted above: the already-installed
"digikam" package and the new "krita" package that you are trying to
install contain the same file.  This is not supposed to happen, and is
therefore a bug in one of the two packages.  Since your "krita" package
came from experimental, it's probably the one at fault.  Please file a
bug against it.

In the meantime, to work around the problem, you can run

dpkg -i --force-overwrite /var/cache/apt/archives/krita_*.deb

to tell dpkg that you want it to overwrite the common file instead of
griping about it.


Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544

Reply to: