LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-16-2005, 01:50 PM   #1
stalefries
Member
 
Registered: Jun 2005
Location: here
Distribution: Ubuntu, maintain a Vector Linux install
Posts: 50

Rep: Reputation: 15
Getting "Short read in buffer_copy" error with "dpkg"


A little background:
I recently downloaded and installed Ubuntu "Hoary Hedgehog" 5.04, and had the installer wipe the previously Windows-xp hard drive. After exploring all the applications, I found that it was missing one (I think) very important game: Frozen Bubble.
I have been researching Linux for a while, and have previously played around with Knoppix 3.7. A few days before installing Ubuntu, I borrowed, from the local library, the "Linux All-in-One Desk Reference For Dummies", which was extremely informative and helpful. I would recommend it to anyone.
Anyway, to solve my dilemma, I downloaded the .deb for Frozen Bubble from some Debian file repository that I can't find right now. I then transferred it from the computer I downloaded it on and transferred it via floppy to my computer.
I would have used apt-get, but my computer has no Internet connection yet.

Now, to my problem. When I did
Code:
dpkg -i /frozen~1.deb
(I stored it in root), it gave me the following 2 (1?) error(s):
Code:
short read in buffer_copy (failed to write to pipe in copy)
and
Code:
short read in buffer_copy (backend dpkg-deb during `./usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.so')
When I saw this, went to "/usr/lib/perl5/auto/fb_c_stuff/" and, to my surprise, "fb_c_stuff.so" did not exist. I tried creating it, and then running the same command, but it still did not work.

Is the ".deb" file corrupted? Nautilus says that it is only 4 kbytes. That seems a little too small.
Do I need to install some other perl package? I looked through the Synaptic package manager, and I made sure that all of the perl packages in there were installed.
 
Old 06-17-2005, 11:25 AM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Did you look in Synaptic for Frozen Bubble? It's in Debian sid, so it should be in Ubuntu too. Although you might have to enable the Universe and/or Multiverse respositories.

And yes, 4K is too small. I bet if you look inside the file with a text editor there's an HTTP error or something.
 
Old 06-17-2005, 03:50 PM   #3
stalefries
Member
 
Registered: Jun 2005
Location: here
Distribution: Ubuntu, maintain a Vector Linux install
Posts: 50

Original Poster
Rep: Reputation: 15
Never mind, I fixed it. The file was to small. I got a hold of a usb flash drive, and redownloaded and retransferred it.

I couldn't find it in Synaptic. Actually, Synaptic was surpirisingly scarce in what it had to offer. Most of the stuff in there was already installed.

I have another problem now. Among a multitude of other dependencies, I needed to build SDL, because SDL-config could not be found. After "./configure"ing it and "make"ing it, "make install" gave me something like:
Code:
make: *** Error 1
I have no idea what it means.
 
Old 06-17-2005, 03:52 PM   #4
stalefries
Member
 
Registered: Jun 2005
Location: here
Distribution: Ubuntu, maintain a Vector Linux install
Posts: 50

Original Poster
Rep: Reputation: 15
How do I enable those repositories? I'll go look now, but I'm posting this ahead of time, since I might need help, and it'll come faster that way.
 
Old 06-17-2005, 04:05 PM   #5
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
SDL is in the repositories, I'm sure of that, you don't want to build it yourself.

https://wiki.ubuntu.com/HowToAccessT...%28universe%29
 
Old 03-11-2010, 12:06 AM   #6
Kathy A.
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Question dpkg --configure -a help for terminal add/remove packages

I see you are advanced in configuring programs, and so on. I an new to the Ubuntu forums and I do not know at all how to type into the terminal.
When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. What does bash mean? You were looking for a more complex configuration, I am hoping this question is one you do recognize the answer for.
 
Old 03-24-2010, 03:19 PM   #7
exceed1
Member
 
Registered: Mar 2008
Location: oslo
Distribution: debian,redhat
Posts: 199

Rep: Reputation: 31
Quote:
Originally Posted by Kathy A. View Post
I see you are advanced in configuring programs, and so on. I an new to the Ubuntu forums and I do not know at all how to type into the terminal.
When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. What does bash mean? You were looking for a more complex configuration, I am hoping this question is one you do recognize the answer for.
Hi Kathy, you might want to start a new thread about this, but i will give you some information anyway.

Start a terminal, you might find it under "Applications" -> "Terminal emulators" or something, just choose on of them, then write this command like aptitude said you needed to: "dpkg--configure -a". You have to add the "sudo" word first if you are using sudo, if not then you need to type "su -c" first and then enter the root password. If you are using sudo then enter your own password.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
..."short read while reading block 516" mohapi Fedora 7 10-22-2004 01:37 PM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration