LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2013, 03:04 PM   #1
nebulos
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
(Broken pipe) Stupid error on my VPS


Hey!

I get some errors on my vps.. It has debian 7.1 on it.. just upgraded it from 6.. and that's where the error came from..

when i do apt-get upgrade i get this

Code:
:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 ia32-libs-i386:i386 : Depends: libgl1-mesa-dri:i386 (>= 7.7.1-5) but it is not installed
                       Depends: libsvga1:i386 (>= 1:1.4.3-29) but it is not installed
E: Unmet dependencies. Try using -f.
And when I force it with -f, I get this

Code:
(Reading database ... 43769 files and directories currently installed.)
Unpacking libgl1-mesa-dri:i386 (from .../libgl1-mesa-dri_8.0.5-4+deb7u2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_8.0.5-4+deb7u2_i386.deb (--unpack):
 trying to overwrite shared '/etc/drirc', which is different from other instances of package libgl1-mesa-dri:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking libsvga1:i386 (from .../libsvga1_1%3a1.4.3-33_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libsvga1_1%3a1.4.3-33_i386.deb (--unpack):
 trying to overwrite shared '/etc/vga/null.keymap', which is different from other instances of package libsvga1:i                          386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa-dri_8.0.5-4+deb7u2_i386.deb
 /var/cache/apt/archives/libsvga1_1%3a1.4.3-33_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I usually solve my problems with google.. but this time, nothing seems to work..

I installed the 32 bit libs and that's what caused it..
I'd cladly remove it if it would help..

Any suggestions what to try next?
 
Old 07-25-2013, 02:23 PM   #2
JLndr
Member
 
Registered: Jul 2013
Location: Brunswick, GA
Distribution: Debian 7.1
Posts: 47

Rep: Reputation: 3
I know part of the problem is with this (I had a similar problem the other day)...
Code:
E: Sub-process /usr/bin/dpkg returned an error code (1)
This should help and do the trick (change the file to what you need to edit)...
Quote:
Some Ubuntu users may had experienced this problem. And it’s can’t be fixed by simply typing sudo dpkg –configure -a . I got a way to resolve it, but users must be remember that I am not responsible for any trouble caused by this solution. I tried, and it works on my PC.

How to resolve it?


First Delete (sudo rm)
/var/lib/dpkg/info/"unwanted-package-name".postrm
/var/lib/dpkg/info/"unwanted-package-name".list

And over here, the unwanted-package-name is the package that causing the main problem, when the problem is appeared, you will know where the package that causing the problem.

After that, type this following codes respectively on the terminal.

sudo apt-get clean all

sudo apt-get update //run it twice

sudo apt-get upgrade

Note that for safety reason, please backup those files that I defined above.
Source: http://allforlinux.com/2010/07/solvi...n-error-code1/
 
Old 07-26-2013, 07:11 AM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Is it possible that you are not running your deb installations as root (or a user that has privileges)? Although, having said this, I understand when you get permissions errors (they normally are quite obvious) but it might be worth checking.....
 
Old 08-05-2013, 02:39 PM   #4
nebulos
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I had root.. this had to do with the way debian 7 works with 32bit libs..

It was easier just to reinstall the OS..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP shell_exec() always gives error "Broken pipe" when using pipe burek Linux - Server 1 01-19-2012 06:04 AM
TrueCrypt 5.1a Not enough data available or broken pipe error yasker Slackware 5 01-17-2009 01:23 PM
PWC - Broken pipe error taladan Linux - Software 5 06-05-2006 03:00 PM
Broken Pipe error with rpmbuild in rh9 tuxfood Red Hat 1 05-21-2005 04:30 PM
Broken Pipe Error ken734 Linux - Newbie 6 09-04-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration