Unable to Install any Software don't WHY???
If I tries to install some Software then usually getting this sort of errors. Can anyone please help me.
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
what is the output of:
sudo apt-get update; sudo apt-get upgrade; lsb_release -a
Thanks
Revision history for this message
|
#2 |
input :
sudo apt-get update
output:
Fetched 3,863 kB in 38s (99.3 kB/s)
Reading package lists... Done
input :
sudo apt-get upgrade
output:
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
input:
lsb_release -a
output:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Revision history for this message
|
#3 |
What is the output of:
file /var/lib/
Thanks
Revision history for this message
|
#4 |
pavan@imom-
/var/lib/
Revision history for this message
|
#5 |
Try
sudo rm /var/cache/
sudo dpkg --Audit
apt-get --simulate dist-upgrade
ls -l /var/lib/
and copy/paste all output as done before.
Revision history for this message
|
#6 |
ls: cannot access /var/lib/
Revision history for this message
|
#7 |
sudo mkdir -p /var/lib/
sudo apt-get upgrade
Should do it
Revision history for this message
|
#8 |
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#9 |
Issue is still not solved how can you people close this?? Please check the output
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#10 |
Nobody is "closing this". That's not even a thing on this forum. You can mark the issue as olved but only YOU (as the poster) can do this.
You could try:
sudo dpkg --force-all -i /var/cache/
Revision history for this message
|
#11 |
pavan@imom-
dpkg: warning: files list file for package 'dbus-x11' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'cups-pk-helper' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libarchive13:
dpkg: warning: files list file for package 'dash' missing; assuming package has no files currently installed
(Reading database ... 711825 files and directories currently installed.)
Preparing to unpack .../libgbm1_
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
Revision history for this message
|
#12 |
Please provide the output as asked in my previous message
sudo rm /var/cache/
uname -a
sudo dpkg --audit
apt-get --simulate dist-upgrade
(please copy/paste all output, even if one of the commands ends with an error message)
Revision history for this message
|
#13 |
sudo apt-get --reinstall install dbus-x11 cups-pk-helper libarchive13:amd64 dash
Will sort those errors out, maybe then the package will install ok......
Revision history for this message
|
#14 |
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgbm1
The following packages will be upgraded:
libgbm1
1 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 422 kB/441 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 422 kB in 4s (85.8 kB/s)
Preconfiguring packages ...
dpkg: warning: files list file for package 'dbus-x11' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'cups-pk-helper' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libarchive13:
dpkg: warning: files list file for package 'dash' missing; assuming package has no files currently installed
(Reading database ... 711825 files and directories currently installed.)
Preparing to unpack .../libgbm1_
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Preparing to unpack .../dash_
Unpacking dash (0.5.7-4ubuntu1) over (0.5.7-4ubuntu1) ...
dpkg (subprocess): unable to execute old post-removal script (/var/lib/
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
dpkg: ... it looks like that went OK
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#15 |
An once more
Please provide the output as asked in my previous message
sudo rm /var/cache/
uname -a
sudo dpkg --audit
apt-get --simulate dist-upgrade
(please copy/paste all output, even if one of the commands ends with an error message)
Revision history for this message
|
#16 |
input :
sudo rm /var/cache/
output:
input :
uname -a
output :
Linux imom-Latitude-3440 3.16.0-53-generic #72~14.04.1-Ubuntu SMP Fri Nov 6 18:17:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
input :
sudo dpkg --audit
output :
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
libgbm1:amd64 generic buffer management API -- runtime
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
dash POSIX-compliant shell
The following packages are missing the list control file in the
database, they need to be reinstalled:
libarchive13:amd64 Multi-format archive and compression library (shared libr
cups-pk-helper PolicyKit helper to configure cups with fine-grained priv
dbus-x11 simple interprocess messaging system (X11 deps)
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
libarchive13:amd64 Multi-format archive and compression library (shared libr
cups-pk-helper PolicyKit helper to configure cups with fine-grained priv
linux-
dbus-x11 simple interprocess messaging system (X11 deps)
input :
apt-get --simulate dist-upgrade
output :
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libgbm1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Conf dash (0.5.7-4ubuntu1 Ubuntu:14.04/trusty [amd64])
Inst libgbm1 [10.1.3-0ubuntu0.4] (10.1.3-0ubuntu0.5 Ubuntu:
Conf libgbm1 (10.1.3-0ubuntu0.5 Ubuntu:
Revision history for this message
|
#17 |
input :
sudo rm /var/cache/
output:
input :
uname -a
output :
Linux imom-Latitude-3440 3.16.0-53-generic #72~14.04.1-Ubuntu SMP Fri Nov 6 18:17:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
input :
sudo dpkg --audit
output :
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
libgbm1:amd64 generic buffer management API -- runtime
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
dash POSIX-compliant shell
The following packages are missing the list control file in the
database, they need to be reinstalled:
libarchive13:amd64 Multi-format archive and compression library (shared libr
cups-pk-helper PolicyKit helper to configure cups with fine-grained priv
dbus-x11 simple interprocess messaging system (X11 deps)
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
libarchive13:amd64 Multi-format archive and compression library (shared libr
cups-pk-helper PolicyKit helper to configure cups with fine-grained priv
linux-
dbus-x11 simple interprocess messaging system (X11 deps)
input :
apt-get --simulate dist-upgrade
output :
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libgbm1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Conf dash (0.5.7-4ubuntu1 Ubuntu:14.04/trusty [amd64])
Inst libgbm1 [10.1.3-0ubuntu0.4] (10.1.3-0ubuntu0.5 Ubuntu:
Conf libgbm1 (10.1.3-0ubuntu0.5 Ubuntu:
Revision history for this message
|
#18 |
Try
sudo dpkg --configure -a
sudo apt-get install -f
and report the outcome
Revision history for this message
|
#19 |
pavan@imom-
pavan@imom-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgbm1
The following packages will be upgraded:
libgbm1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/19.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: warning: files list file for package 'dbus-x11' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'cups-pk-helper' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libarchive13:
(Reading database ... 711834 files and directories currently installed.)
Preparing to unpack .../libgbm1_
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#20 |
Try the following:
Download http://
Open a terminal window and issue the following commands
cd Downloads
sudo dpkg -i libgbm1_
and report the outcome.
Revision history for this message
|
#21 |
pavan@imom-
pavan@imom-
[sudo] password for pavan:
dpkg: warning: files list file for package 'dbus-x11' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'cups-pk-helper' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libarchive13:
(Reading database ... 711834 files and directories currently installed.)
Preparing to unpack libgbm1_
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.4) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive libgbm1_
unable to install (supposed) new info file `/var/lib/
Errors were encountered while processing:
libgbm1_
Revision history for this message
|
#22 |
Ok, different .deb file, same error message. Apparently the root cause must be something else.
I recommend that you perform a full file system check on your partitions.
Revision history for this message
|
#23 |
what does it mean ?
Revision history for this message
|
#24 |
Maybe you have an inconsistency in the file and directory structure. This should be verified (and if possible corrected).
easiest (but maybe incomplete) possibility:
issue the command
sudo touch /forcefsck
and reboot the computer. During the next boot there should be a file system check be performed. Watch the display for messages about fsck.
Revision history for this message
|
#25 |
No Error Messages When I complete the above Step.
Revision history for this message
|
#26 |
There has been a big gap since starting this question.
To see the current status of your system please provide the output of the following commands:
uname -a
lsb_release -crid
sudo dpkg --audit
apt-cache policy libgbm1
apt-get --simulate remove libgbm1
Revision history for this message
|
#27 |
I lost all my hopes and i formatted my system now. Its working fine now.
Revision history for this message
|
#28 |
Maybe the easiest solution.
Please mark this question document as 'solved'.
Can you help with this problem?
Provide an answer of your own, or ask Marri Pavan Kumar Reddy for more information if necessary.