Debian apt-get Broken Pipe and Overwrite Error

Aug 18, 2004

MepisBelle (Michael Dill) has a quick fix for those times when apt gives you an error similar to this:

Unpacking libxt6 (from …/libxt6_4.3.0-7_i386.deb) …
dpkg: error processing /var/cache/apt/archives/libxt6_4.3.0-7_i386.deb (–unpack):
trying to overwrite `/usr/X11R6/lib/libXt.so.6.0′, which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)

First, issue the following command (Note: that is 2 ‘-’ before force- WordPress is combining them as one line):

dpkg –force overwrite -i /var/cache/apt/archives/packagename-x.x.deb

Then follow up with this cleanup command (Note: that is 2 ‘-’ before configure- WordPress is combining them as one line):

dpkg –configure -a

This will force the install and then cleanup afterward.

Thanks Michael!

One Response to “Debian apt-get Broken Pipe and Overwrite Error”

  1. oracle Says:

    Exactly what I was looking for, thanks a lot! :D

Leave a Reply


About Me

Katie DixonHello! My name is Katie, I'm 27 and from Houston, TX. I am a hardworking and passionate freelance web designer with a degree in eBusiness Web Development who creates clean and professional looking websites of the highest quality. I specialize in standards-based XHTML and CSS web development. The sites I develop are built to be search engine friendly!

You can find me on Twitter at @pibby for my latest updates. I am an avid computer user and my OS of choice is Mac OS X. I am most happy at home with my loving husband, Drew, and our two loud but adorable dogs, Toby and Shelby.


Search


Archives



Pages