Ubuntu Installation :: Dpkg: Failed To Open Package Info File?
Dec 12, 2010
Full error dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
Runing 10.10 on USB.All was fine until a week ago then when trying to update I get that error.
Ive followed instructions in many threads to no avail. Heres what ive done and the result.
sudo apt-get update No error,all download fine sudo apt-get upgrade
Preconfiguring packages ...
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
sudo apt-get install -f
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
I'm running ubuntu 9.04 and was happy because I finally got the screen resolution to be a good size, but now I can't update anything or even upgrade ubuntu.The message I get is
Quote:
Could Not Initialize Package Information
An unresolvable problem occured while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:
'E:Unable to parse package file /var/lib/dpkg/status (1), E:The package lists or status file could not be parsed or opened.'
I've also had issues with installing new programs (specifically tried Boxee (64bit ver) and Last.fm Scrobbler), but was thinking these issues might be related to the updage-manager error.
When I tried to upgrade my xubuntu 10.04 , I got this error
dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
I'm using a new Distro and after installing it and randomly searching for help on websites on how to install a .Deb file using dpkg at the konsole/terminal it says Bash : dpkg: Command not found . how is this possible ? Do I have to know about all the packages in the package manager to install this. slight difference for me ... knowing what I have and knowing if I need Apr93-323? (whatever) installed first or not ? The only thing I know is that I have the Iso image installed ... which is my linux distro . Where to go from here? because I usually go to a website site to find Software to install ...if I need it .back to the basics
I have tried to create a deb package, but It failed because I was missing some dependencies Now I have installed the dependenci and want to recreate the package (or try to), but get the following error.
Warning: require_once(System/Folders.php): failed to open stream: No such file or directory in /var/www/spear.php on line 3 Fatal error: require_once(): Failed opening required 'System/Folders.php' (include_path='.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear') in /var/www/spear.php on line 3
how should i correctly set the path in /etc/php5/apache2/php.ini
Code: sudo apt-get upgrade Lots of text (Reading database. dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `grub-common': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)
After receiving no response either here or on IRC, I copied 80 package files to a temporary directory and ran dpkg-scanpackages . /dev/null > Packages with the expected result. The curious part is the delay when output redirection is not used: nothing appears until the script completes, when the result is dumped to the screen. It therefore appears that there is an upper limit to the number of packages that the script can handle, somewhere between 80 and 42,474.
Is this an undocumented feature, or just a peculiarity of my system?
I'm new to Debian and wanting to set up a local repository on my work drive. After following instructions online and copying all packages (~43,000) from the DVD set into /work/Debian/8.2/packages/ I ran dpkg-scan-packages as instructed:
This produced an empty file. I then ran dpkg-scanpackages with no output redirection expecting to see a flood of text on the screen, but all I got were error messages suggesting that it can see the .deb packages but is not parsing them:
Code: Select allroot@qbx:~# dpkg-scanpackages /work/Debian/8.2/packages dpkg-deb: error: invalid character ' ' in archive '/work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb' member 'debian-binary' size dpkg-scanpackages: error: couldn't parse control information from /work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb
[Code] ....
This all seems in accord with the man page, and it's so simple I'm wondering what I'm missing.
Most of the time whenever I run dpkg -l I get cryptic output. For instance
[Code]...
Because I normally use it to see only one file (while multiple files are possible as well), was wondering if there was a way to tell dpkg to show couple of lines as output. I do see that there is a /etc/dpkg/dpkg.cfg file as well as /etc/dpkg/dpkg.cfg.d directory as well. Looking forward to info. on the same.
This is the error I got when I tried to update it today. On the top the icon for the update manager is a red circle with a white line like a stop sign. When I click on it this is the error message I get. Could not initialize the package information. An unresolved problem occurred while initializing the package information.
please report this bug against "update-manager" package and include the following error message : 'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of sources could not be read.'
when i try to use apt an error occurs: dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0': error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number E: Sub-process /usr/bin/dpkg returned an error code (2)
i tried to :
1- replace the file status with status-old 2- replace it with all the backups located in /var/backups/
After I got the OS up and running (v9.10), I was prompted to download and install some updates. The download is complete, but when I try to install the updates, I receive the following message. What should I do?
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.
I'm getting these messages Over SSH with the -D switch
Code:
At uni I did this for a couple of reasons, primarily to connect to trackers for bittorrent. I would get these messages fairly often but I never thought much of it because I figured I was just loosing packets over the network or something (understandable in my situation). At home I decided to continue to use this method because that computer is set up in DMZ and is very useful. I havn't received many of these messages but recently all my torrents stalled and I had a whole bunch of these messages. Is it possible my computer just cant handle all the network connections (it's a 2ghz AMD running debian)? What exactly do these messages mean? Is there any way to optimize my connection in any way?
I'm trying to install wine1.3 but I don't want the (recommended) package ttf-mscorefonts-installer.In previous releases, I can run this to 'hold' the package and prevent it's installation:
Code: echo ttf-mscorefonts-installer hold | sudo dpkg --set-selections.However, this command doesn't prevent ttf-mscorefonts-installer from being installed along with wine1.3 in maverick.[code]....
it's just that dpkg isn't picking it up.What is going on here, and how can I place a package on permanent hold?
Note: I ended up installing wine1.3 by running:
Code: sudo aptitude install wine1.3 ttf-mscorefonts-installer= but I don't believe that the package is actually on permanent hold.
There appears to be lots of advice some of it is working and some of it is not. I purged and reinstalled wine but still am getting the following error.
ALSA lib seq_hw.c:457snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Audio in general on my machine is not working.I have an ASUS a7n8v deluxe motherboard.have some directed advice of how to get audio working properly on this machine?
i get this error whenever i update or install/uninstall a package Package operation failed The installation or removal of a software package failed.
installArchives() failed: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN.ISO8859-1" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory perl: warning: Setting locale failed.
I want to rescue my system. After a faulty installation of linux-firmware_1.38_all.deb (subprocess /usr/bin/dpkg returned an error code (1)) the system does not boot, even in recovery mode. Using a live cd, I downloaded the linux-firmware version I had previously, and try to install it with dpkg but I can't direct it to the directories I need:
I am new to Ubuntu. I am using Ubuntu 10.10 I tried to install software (Gmail Notifier) through 'Ubuntu Software Center' I don't know why I am getting following error message :
(Reading database. 95%dpkg: unrecoverable fatal error, aborting: failed to read on buffer copy for files list for package `libtaglib2.0-cil': Input/output error Even if I tried to remove any software I am getting this error. Also when I want to change 'Visual Effects' to 'Normal' or 'Extra' through 'Appearance Preferences'.first it shows 'searching for available drivers' and then the message :
I just recently installed Ubuntu on my laptop and was attempting to install Wine on it this morning. I went through the proper procedure listed on the site, but once I get back to the Software Center and hit "install" it gives me an error a second later saying "Failed to Download Package Files. Check your Internet connection."
I keep getting an error message when opening the Synaptic Package Manager. "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report." I also can't install any software from the software center. When I run the line in terminal, I get lost.
If I open synaptic pckg mng always have announced an error occurred the following details are provide: E:dpkg was interrupted, you must manually run dpkg --configure -a to correct the problem. E:_CACHE->OPEN()FAILED, PLEASE REPORT