LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting "Short read in buffer_copy" error with "dpkg" (http://www.linuxquestions.org/questions/linux-software-2/getting-short-read-in-buffer_copy-error-with-dpkg-334285/)

stalefries 06-16-2005 02:50 PM

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.

Noth 06-17-2005 12:25 PM

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.

stalefries 06-17-2005 04:50 PM

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.

stalefries 06-17-2005 04:52 PM

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.;)

Noth 06-17-2005 05:05 PM

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

Kathy A. 03-11-2010 01:06 AM

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.

exceed1 03-24-2010 04:19 PM

Quote:

Originally Posted by Kathy A. (Post 3893805)
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.


All times are GMT -5. The time now is 05:31 AM.