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

Bug#158999: dpkg: short read in buffer_copy

On Sat, 31 Aug 2002, Eric Van Buggenhaut wrote:

> I don't know if this is due to an error in the .deb or in dpkg itself.

Well, you can check if the error is in the deb yourself.  Use ar and tar.

> When I try to install a package which replaces another one I get this
> error:
> femto:/home/eric[0]# dpkg -i tmp/mplayer-686_0.90pre6-0.4_i386.deb
> dpkg: considering removing mplayer-custom in favour of mplayer-686 ...
> dpkg: yes, will remove mplayer-custom in favour of mplayer-686.
> (Reading database ... 57905 files and directories currently installed.)
> Unpacking mplayer-686 (from .../mplayer-686_0.90pre6-0.4_i386.deb) ...
> dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
> dpkg-deb: subprocess paste returned error exit status 2
> dpkg: error processing tmp/mplayer-686_0.90pre6-0.4_i386.deb (--install):
>  short read in buffer_copy (backend dpkg-deb during `./usr/bin/mplayer')
> Errors were encountered while processing:
>  tmp/mplayer-686_0.90pre6-0.4_i386.deb
> femto:/home/eric[0]#
> I've never seen this error before. What am I supposed to do ?

Is the deb corrupted/truncated?

The error message might not be the best in these cases, but that's generally
what this means.

Also, please try with the latest dpkg 1.10.5, j ust recently accepted into

Reply to: