Unable to Install any Software don't WHY???

Asked by Marri Pavan Kumar Reddy

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/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb

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
actionparsnip (andrew-woodhead666) said :
#1

what is the output of:

sudo apt-get update; sudo apt-get upgrade; lsb_release -a

Thanks

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#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/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
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
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

file /var/lib/dpkg/tmp.ci/symbols

Thanks

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#4

pavan@imom-Latitude-3440:~$ file /var/lib/dpkg/tmp.ci/symbols
/var/lib/dpkg/tmp.ci/symbols: ERROR: cannot open `/var/lib/dpkg/tmp.ci/symbols' (No such file or directory)

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Try

sudo rm /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
sudo dpkg --Audit
apt-get --simulate dist-upgrade
ls -l /var/lib/dpkg/tmp.ci

and copy/paste all output as done before.

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#6

ls: cannot access /var/lib/dpkg/tmp.ci: No such file or directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo mkdir -p /var/lib/dpkg/tmp.ci/symbols
sudo apt-get upgrade

Should do it

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#8

Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#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/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#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/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#11

pavan@imom-Latitude-3440:~$ sudo dpkg --force-all -i /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
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:amd64' missing; assuming package has no files currently installed
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_10.1.3-0ubuntu0.5_amd64.deb ...
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--install):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Please provide the output as asked in my previous message

sudo rm /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
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
actionparsnip (andrew-woodhead666) said :
#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
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#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://in.archive.ubuntu.com/ubuntu/ trusty/main dash amd64 0.5.7-4ubuntu1 [85.1 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libarchive13 amd64 3.1.2-7ubuntu2.1 [259 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main dbus-x11 amd64 1.6.18-0ubuntu4.3 [19.2 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty/main cups-pk-helper amd64 0.2.5-0ubuntu1 [58.8 kB]
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:amd64' missing; assuming package has no files currently installed
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_10.1.3-0ubuntu0.5_amd64.deb ...
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Preparing to unpack .../dash_0.5.7-4ubuntu1_amd64.deb ...
Unpacking dash (0.5.7-4ubuntu1) over (0.5.7-4ubuntu1) ...
dpkg (subprocess): unable to execute old post-removal script (/var/lib/dpkg/info/dash.postrm): No such device or address
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/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

An once more

Please provide the output as asked in my previous message

sudo rm /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
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
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#16

input :

sudo rm /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb

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-image-3.16.0-49-generic Linux kernel image for version 3.16.0 on 64 bit
 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:14.04/trusty-updates [amd64])
Conf libgbm1 (10.1.3-0ubuntu0.5 Ubuntu:14.04/trusty-updates [amd64])

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#17

input :

sudo rm /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb

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-image-3.16.0-49-generic Linux kernel image for version 3.16.0 on 64 bit
 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:14.04/trusty-updates [amd64])
Conf libgbm1 (10.1.3-0ubuntu0.5 Ubuntu:14.04/trusty-updates [amd64])

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Try

sudo dpkg --configure -a
sudo apt-get install -f

and report the outcome

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#19

pavan@imom-Latitude-3440:~$ sudo dpkg --configure -a
pavan@imom-Latitude-3440:~$ sudo apt-get install -f
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:amd64' missing; assuming package has no files currently installed
(Reading database ... 711834 files and directories currently installed.)
Preparing to unpack .../libgbm1_10.1.3-0ubuntu0.5_amd64.deb ...
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.5) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgbm1_10.1.3-0ubuntu0.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

Try the following:

Download http://launchpadlibrarian.net/199978666/libgbm1_10.1.3-0ubuntu0.4_amd64.deb to your Downloads directory
Open a terminal window and issue the following commands

cd Downloads
sudo dpkg -i libgbm1_10.1.3-0ubuntu0.4_amd64.deb

and report the outcome.

Revision history for this message
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#21

pavan@imom-Latitude-3440:~$ cd Downloads/
pavan@imom-Latitude-3440:~/Downloads$ sudo dpkg -i libgbm1_10.1.3-0ubuntu0.4_amd64.deb
[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:amd64' missing; assuming package has no files currently installed
(Reading database ... 711834 files and directories currently installed.)
Preparing to unpack libgbm1_10.1.3-0ubuntu0.4_amd64.deb ...
Unpacking libgbm1:amd64 (10.1.3-0ubuntu0.4) over (10.1.3-0ubuntu0.4) ...
dpkg: error processing archive libgbm1_10.1.3-0ubuntu0.4_amd64.deb (--install):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/symbols': Is a directory
Errors were encountered while processing:
 libgbm1_10.1.3-0ubuntu0.4_amd64.deb

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#23

what does it mean ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#25

No Error Messages When I complete the above Step.

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Marri Pavan Kumar Reddy (chinna-reddy143143) said :
#27

I lost all my hopes and i formatted my system now. Its working fine now.

Revision history for this message
Manfred Hampl (m-hampl) said :
#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.

To post a message you must log in.