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 Code:
short read in buffer_copy (failed to write to pipe in copy) Code:
short read in buffer_copy (backend dpkg-deb during `./usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.so') 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. |
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. |
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 |
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.;)
|
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 |
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. |
Quote:
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 10:44 AM. |