Updates failing after upgrading to 12.10 from 12.04

Asked by Inderjit Singh

I have upgraded to 12.10 from 12.04. During the upgrade process there were atleast three messages for some packages. I was informed to report for bug later on . Now when I am trying to update first time in 12.10 after installation the 'Package operation failed' details are as under-
nstallArchives() 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.
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.
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.
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
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 249854 files and directories currently installed.)
Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39-0ubuntu1_amd64.deb) ...
Unpacking replacement libdrm2:amd64 ...
dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
Preparing to replace libgl1-mesa-dri:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-dri:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:amd64
Preparing to replace libgl1-mesa-dri:i386 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-dri:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libgl1-mesa-glx:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-glx:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:amd64
No apport report written because MaxReports is reached already
Preparing to replace libgl1-mesa-glx:i386 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-glx:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:i386
No apport report written because MaxReports is reached already
Preparing to replace libglapi-mesa:amd64 9.0-0ubuntu1 (using .../libglapi-mesa_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libglapi-mesa:amd64 ...
dpkg: error processing /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libglapi-mesa/changelog.Debian.gz', which is different from other instances of package libglapi-mesa:amd64
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb
Error in function:

Please give me the solution.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Inderjit Singh (inderjit67) said :
#1

I am waiting for solution.

Revision history for this message
Inderjit Singh (inderjit67) said :
#2

I receive the message - Running post-installation trigger dpkg-exec failed.
"problem in libgl1 mesa-gls"
Then I received report the problem. Then
The problem cannot be reported .
You have already encountered this package installation failure.

Revision history for this message
Inderjit Singh (inderjit67) said :
#3

I still need the solution.Please do the needful. Thanks.

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

Please execute steps 1 to 6 in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure with the only exception that in step 6 you should not create a new question, but should continue in this current one.

Revision history for this message
Inderjit Singh (inderjit67) said :
#5

Output is-
/etc/apt/sources.list

     1 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/main/binary-i386/
     2
     3 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/multiverse/binary-i386/
     4 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/restricted/binary-i386/
     5 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/universe/binary-i386/
     6 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ precise main multiverse restricted universe
     7
     8 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     9 # newer versions of the distribution.
    10 deb http://in.archive.ubuntu.com/ubuntu/ quantal main restricted
    11 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal main restricted
    12
    13 ## Major bug fix updates produced after the final release of the
    14 ## distribution.
    15 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    16 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    17
    18 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    19 ## team. Also, please note that software in universe WILL NOT receive any
    20 ## review or updates from the Ubuntu security team.
    21 deb http://in.archive.ubuntu.com/ubuntu/ quantal universe
    22 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal universe
    23 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates universe
    24 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates universe
    25
    26 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    27 ## team, and may not be under a free licence. Please satisfy yourself as to
    28 ## your rights to use the software. Also, please note that software in
    29 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    30 ## security team.
    31 deb http://in.archive.ubuntu.com/ubuntu/ quantal multiverse
    32 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal multiverse
    33 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    34 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    35
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it includes
    38 ## newer versions of some applications which may provide useful features.
    39 ## Also, please note that software in backports WILL NOT receive any review
    40 ## or updates from the Ubuntu security team.
    41 deb http://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
    42 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
    43
    44 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security main restricted
    45 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security main restricted
    46 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security universe
    47 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security universe
    48 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security multiverse
    49 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security multiverse
    50
    51 ## Uncomment the following two lines to add software from Canonical's
    52 ## 'partner' repository.
    53 ## This software is not part of Ubuntu, but is offered by Canonical and the
    54 ## respective vendors as a service to Ubuntu users.
    55 deb http://archive.canonical.com/ubuntu quantal partner
    56 deb-src http://archive.canonical.com/ubuntu quantal partner
    57
    58 ## This software is not part of Ubuntu, but is offered by third-party
    59 ## developers who want to ship their latest software.
    60 # deb http://extras.ubuntu.com/ubuntu quantal main
    61 # deb-src http://extras.ubuntu.com/ubuntu quantal main

/etc/apt/sources.list.d/bumblebee-stable-precise.list

     1 # deb http://ppa.launchpad.net/bumblebee/stable/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/bumblebee/stable/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/ubuntu-x-swat-x-updates-precise.list

     1 # deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/playdeb.list

     1 # deb http://archive.getdeb.net/ubuntu precise-getdeb games

/etc/apt/sources.list.d/webupd8team-java-precise.list

     1 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/ubuntu-toolchain-r-test-precise.list

     1 # deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/getdeb.list

     1 # deb http://archive.getdeb.net/ubuntu precise-getdeb apps

/etc/apt/sources.list.d/medibuntu.list

     1 ## Please report any bug on https://bugs.launchpad.net/medibuntu/
     2 # deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
     3 # deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"

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

This is just the output of the very last command in step 5 of the https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

For finding out what's wrong the output of all commands in step 5 is required!

Revision history for this message
Inderjit Singh (inderjit67) said :
#7

1.sudo grep -R proxy /etc/apt/*
Output-NIL
2.echo $http_proxy
Output-NIL
3.echo $ftp_proxy
Output-NIL
4.grep proxy /etc/bash.bashrc
Output-NIL
5.sudo fuser -vvv /var/lib/dpkg/lock
Output-NIL
6.cat /etc/lsb-release
Output- DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
inderjit@luckyvicky:~$
7.uname -a
Output-Linux luckyvicky 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:47:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
8.sudo rm /var/lib/apt/lists/lock
Output-NIL
9.sudo rm /var/lib/dpkg/lock
Output-rm: cannot remove `/var/lib/dpkg/lock': No such file or directory
10.sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
Output-NIL
11.sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
Output-mv: cannot stat `/var/lib/dpkg/status': No such file or directory
12.sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
Output-NIL
13.sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
Output-mv: cannot stat `/var/lib/dpkg/available': No such file or directory
14.sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
Output-NIL
15.sudo rm -rf /var/lib/dpkg/updates/*
Output-NIL
16.sudo rm -rf /var/lib/apt/lists
Output-NIL
17,sudo rm /var/cache/apt/*.bin
Output-rm: cannot remove `/var/cache/apt/*.bin': No such file or directory
18.sudo mkdir /var/lib/apt/lists
Output-mkdir: cannot create directory `/var/lib/apt/lists': File exists
19.sudo mkdir /var/lib/apt/lists/partial
Output-mkdir: cannot create directory `/var/lib/apt/lists/partial': File exists
20.LANG=C;sudo apt-get clean
Output-NIL
21. LANG=C;sudo apt-get autoclean
Output-Reading package lists... Done
Building dependency tree
Reading state information... Done
22.LANG=C;sudo apt-get --purge autoremove
Output-Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
23.LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000
[sudo] password for inderjit:
Output-Ign http://archive.canonical.com quantal InRelease
Ign http://in.archive.ubuntu.com quantal InRelease
Get:1 http://archive.canonical.com quantal Release.gpg [933 B]
Ign http://in.archive.ubuntu.com quantal-updates InRelease
Get:2 http://archive.canonical.com quantal Release [7078 B]
Ign http://in.archive.ubuntu.com quantal-backports InRelease
Ign http://in.archive.ubuntu.com quantal-security InRelease
Get:3 http://archive.canonical.com quantal/partner Sources [2757 B]
Get:4 http://in.archive.ubuntu.com quantal Release.gpg [933 B]
Get:5 http://archive.canonical.com quantal/partner amd64 Packages [3460 B]
Get:6 http://in.archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:7 http://archive.canonical.com quantal/partner i386 Packages [4211 B]
Get:8 http://in.archive.ubuntu.com quantal-backports Release.gpg [933 B]
Get:9 http://in.archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:10 http://in.archive.ubuntu.com quantal Release [49.6 kB]
Ign http://archive.canonical.com quantal/partner Translation-en
Get:11 http://in.archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:12 http://in.archive.ubuntu.com quantal-backports Release [49.6 kB]
Get:13 http://in.archive.ubuntu.com quantal-security Release [49.6 kB]
Get:14 http://in.archive.ubuntu.com quantal/main Sources [872 kB]
Get:15 http://in.archive.ubuntu.com quantal/restricted Sources [5646 B]
Get:16 http://in.archive.ubuntu.com quantal/universe Sources [5522 kB]
Get:17 http://in.archive.ubuntu.com quantal/multiverse Sources [166 kB]
Get:18 http://in.archive.ubuntu.com quantal/main amd64 Packages [1137 kB]
Get:19 http://in.archive.ubuntu.com quantal/restricted amd64 Packages [8369 B]
Get:20 http://in.archive.ubuntu.com quantal/universe amd64 Packages [5274 kB]
Get:21 http://in.archive.ubuntu.com quantal/multiverse amd64 Packages [131 kB]
Get:22 http://in.archive.ubuntu.com quantal/main i386 Packages [1136 kB]
Get:23 http://in.archive.ubuntu.com quantal/restricted i386 Packages [8387 B]
Get:24 http://in.archive.ubuntu.com quantal/universe i386 Packages [5285 kB]
Get:25 http://in.archive.ubuntu.com quantal/multiverse i386 Packages [133 kB]
Get:26 http://in.archive.ubuntu.com quantal/main Translation-en [660 kB]
Get:27 http://in.archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
Get:28 http://in.archive.ubuntu.com quantal/restricted Translation-en [2575 B]
Get:29 http://in.archive.ubuntu.com quantal/universe Translation-en [3648 kB]
Get:30 http://in.archive.ubuntu.com quantal-updates/main Sources [73.1 kB]
Get:31 http://in.archive.ubuntu.com quantal-updates/restricted Sources [889 B]
Get:32 http://in.archive.ubuntu.com quantal-updates/universe Sources [74.9 kB]
Get:33 http://in.archive.ubuntu.com quantal-updates/multiverse Sources [2936 B]
Get:34 http://in.archive.ubuntu.com quantal-updates/main amd64 Packages [183 kB]
Get:35 http://in.archive.ubuntu.com quantal-updates/restricted amd64 Packages [1970 B]
Get:36 http://in.archive.ubuntu.com quantal-updates/universe amd64 Packages [152 kB]
Get:37 http://in.archive.ubuntu.com quantal-updates/multiverse amd64 Packages [7957 B]
Get:38 http://in.archive.ubuntu.com quantal-updates/main i386 Packages [182 kB]
Get:39 http://in.archive.ubuntu.com quantal-updates/restricted i386 Packages [1979 B]
Get:40 http://in.archive.ubuntu.com quantal-updates/universe i386 Packages [153 kB]
Get:41 http://in.archive.ubuntu.com quantal-updates/multiverse i386 Packages [8112 B]
Get:42 http://in.archive.ubuntu.com quantal-updates/main Translation-en [87.6 kB]
Get:43 http://in.archive.ubuntu.com quantal-updates/multiverse Translation-en [4499 B]
Get:44 http://in.archive.ubuntu.com quantal-updates/restricted Translation-en [635 B]
Get:45 http://in.archive.ubuntu.com quantal-updates/universe Translation-en [83.5 kB]
Get:46 http://in.archive.ubuntu.com quantal-backports/main Sources [14 B]
Get:47 http://in.archive.ubuntu.com quantal-backports/restricted Sources [14 B]
Get:48 http://in.archive.ubuntu.com quantal-backports/universe Sources [6017 B]
Get:49 http://in.archive.ubuntu.com quantal-backports/multiverse Sources [781 B]
Get:50 http://in.archive.ubuntu.com quantal-backports/main amd64 Packages [14 B]
Get:51 http://in.archive.ubuntu.com quantal-backports/restricted amd64 Packages [14 B]
Get:52 http://in.archive.ubuntu.com quantal-backports/universe amd64 Packages [6787 B]
Get:53 http://in.archive.ubuntu.com quantal-backports/multiverse amd64 Packages [1118 B]
Get:54 http://in.archive.ubuntu.com quantal-backports/main i386 Packages [14 B]
Get:55 http://in.archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Get:56 http://in.archive.ubuntu.com quantal-backports/universe i386 Packages [7599 B]
Get:57 http://in.archive.ubuntu.com quantal-backports/multiverse i386 Packages [1118 B]
Get:58 http://in.archive.ubuntu.com quantal-backports/main Translation-en [14 B]
Get:59 http://in.archive.ubuntu.com quantal-backports/multiverse Translation-en [594 B]
Get:60 http://in.archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
Get:61 http://in.archive.ubuntu.com quantal-backports/universe Translation-en [5542 B]
Get:62 http://in.archive.ubuntu.com quantal-security/main Sources [28.4 kB]
Get:63 http://in.archive.ubuntu.com quantal-security/restricted Sources [14 B]
Get:64 http://in.archive.ubuntu.com quantal-security/universe Sources [13.2 kB]
Get:65 http://in.archive.ubuntu.com quantal-security/multiverse Sources [691 B]
Get:66 http://in.archive.ubuntu.com quantal-security/main amd64 Packages [72.0 kB]
Get:67 http://in.archive.ubuntu.com quantal-security/restricted amd64 Packages [14 B]
Get:68 http://in.archive.ubuntu.com quantal-security/universe amd64 Packages [31.0 kB]
Get:69 http://in.archive.ubuntu.com quantal-security/multiverse amd64 Packages [1144 B]
Get:70 http://in.archive.ubuntu.com quantal-security/main i386 Packages [71.8 kB]
Get:71 http://in.archive.ubuntu.com quantal-security/restricted i386 Packages [14 B]
Get:72 http://in.archive.ubuntu.com quantal-security/universe i386 Packages [31.6 kB]
Get:73 http://in.archive.ubuntu.com quantal-security/multiverse i386 Packages [1385 B]
Get:74 http://in.archive.ubuntu.com quantal-security/main Translation-en [36.1 kB]
Get:75 http://in.archive.ubuntu.com quantal-security/multiverse Translation-en [587 B]
Get:76 http://in.archive.ubuntu.com quantal-security/restricted Translation-en [14 B]
Get:77 http://in.archive.ubuntu.com quantal-security/universe Translation-en [17.6 kB]
Fetched 25.7 MB in 8min 53s (48.1 kB/s)
Reading package lists... Done
24.sudo dpkg --configure -a
Output-NIL
25.sudo dpkg --clear-avail
Output-NIL
26. LANG=C;sudo apt-get -f install
[sudo] password for inderjit:
Output-Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
27. LANG=C;sudo apt-get --fix-missing install
Output-Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
28.LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Output-Ign http://in.archive.ubuntu.com quantal InRelease
Ign http://archive.canonical.com quantal InRelease
Ign http://in.archive.ubuntu.com quantal-updates InRelease
Hit http://archive.canonical.com quantal Release.gpg
Ign http://in.archive.ubuntu.com quantal-backports InRelease
Hit http://archive.canonical.com quantal Release
Ign http://in.archive.ubuntu.com quantal-security InRelease
Hit http://archive.canonical.com quantal/partner Sources
Hit http://in.archive.ubuntu.com quantal Release.gpg
Hit http://archive.canonical.com quantal/partner amd64 Packages
Get:1 http://in.archive.ubuntu.com quantal-updates Release.gpg [933 B]
Hit http://archive.canonical.com quantal/partner i386 Packages
Hit http://in.archive.ubuntu.com quantal-backports Release.gpg
Get:2 http://in.archive.ubuntu.com quantal-security Release.gpg [933 B]
Hit http://in.archive.ubuntu.com quantal Release
Get:3 http://in.archive.ubuntu.com quantal-updates Release [49.6 kB]
Ign http://archive.canonical.com quantal/partner Translation-en
Hit http://in.archive.ubuntu.com quantal-backports Release
Get:4 http://in.archive.ubuntu.com quantal-security Release [49.6 kB]
Hit http://in.archive.ubuntu.com quantal/main Sources
Hit http://in.archive.ubuntu.com quantal/restricted Sources
Hit http://in.archive.ubuntu.com quantal/universe Sources
Hit http://in.archive.ubuntu.com quantal/multiverse Sources
Hit http://in.archive.ubuntu.com quantal/main amd64 Packages
Hit http://in.archive.ubuntu.com quantal/restricted amd64 Packages
Hit http://in.archive.ubuntu.com quantal/universe amd64 Packages
Hit http://in.archive.ubuntu.com quantal/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com quantal/main i386 Packages
Hit http://in.archive.ubuntu.com quantal/restricted i386 Packages
Hit http://in.archive.ubuntu.com quantal/universe i386 Packages
Hit http://in.archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://in.archive.ubuntu.com quantal/main Translation-en
Hit http://in.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://in.archive.ubuntu.com quantal/restricted Translation-en
Hit http://in.archive.ubuntu.com quantal/universe Translation-en
Get:5 http://in.archive.ubuntu.com quantal-updates/main Sources [73.1 kB]
Get:6 http://in.archive.ubuntu.com quantal-updates/restricted Sources [889 B]
Get:7 http://in.archive.ubuntu.com quantal-updates/universe Sources [74.9 kB]
Get:8 http://in.archive.ubuntu.com quantal-updates/multiverse Sources [2936 B]
Get:9 http://in.archive.ubuntu.com quantal-updates/main amd64 Packages [183 kB]
Get:10 http://in.archive.ubuntu.com quantal-updates/restricted amd64 Packages [1970 B]
Get:11 http://in.archive.ubuntu.com quantal-updates/universe amd64 Packages [152 kB]
Get:12 http://in.archive.ubuntu.com quantal-updates/multiverse amd64 Packages [7957 B]
Get:13 http://in.archive.ubuntu.com quantal-updates/main i386 Packages [182 kB]
Get:14 http://in.archive.ubuntu.com quantal-updates/restricted i386 Packages [1979 B]
Get:15 http://in.archive.ubuntu.com quantal-updates/universe i386 Packages [153 kB]
Get:16 http://in.archive.ubuntu.com quantal-updates/multiverse i386 Packages [8112 B]
Hit http://in.archive.ubuntu.com quantal-updates/main Translation-en
Hit http://in.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://in.archive.ubuntu.com quantal-backports/main Sources
Hit http://in.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://in.archive.ubuntu.com quantal-backports/universe Sources
Hit http://in.archive.ubuntu.com quantal-backports/multiverse Sources
Hit http://in.archive.ubuntu.com quantal-backports/main amd64 Packages
Hit http://in.archive.ubuntu.com quantal-backports/restricted amd64 Packages
Hit http://in.archive.ubuntu.com quantal-backports/universe amd64 Packages
Hit http://in.archive.ubuntu.com quantal-backports/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://in.archive.ubuntu.com quantal-backports/restricted i386 Packages
Hit http://in.archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Hit http://in.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://in.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://in.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://in.archive.ubuntu.com quantal-backports/universe Translation-en
Get:17 http://in.archive.ubuntu.com quantal-security/main Sources [28.4 kB]
Get:18 http://in.archive.ubuntu.com quantal-security/restricted Sources [14 B]
Get:19 http://in.archive.ubuntu.com quantal-security/universe Sources [13.2 kB]
Get:20 http://in.archive.ubuntu.com quantal-security/multiverse Sources [691 B]
Get:21 http://in.archive.ubuntu.com quantal-security/main amd64 Packages [72.0 kB]
Get:22 http://in.archive.ubuntu.com quantal-security/restricted amd64 Packages [14 B]
Get:23 http://in.archive.ubuntu.com quantal-security/universe amd64 Packages [31.0 kB]
Get:24 http://in.archive.ubuntu.com quantal-security/multiverse amd64 Packages [1144 B]
Get:25 http://in.archive.ubuntu.com quantal-security/main i386 Packages [71.8 kB]
Get:26 http://in.archive.ubuntu.com quantal-security/restricted i386 Packages [14 B]
Get:27 http://in.archive.ubuntu.com quantal-security/universe i386 Packages [31.6 kB]
Get:28 http://in.archive.ubuntu.com quantal-security/multiverse i386 Packages [1385 B]
Hit http://in.archive.ubuntu.com quantal-security/main Translation-en
Hit http://in.archive.ubuntu.com quantal-security/multiverse Translation-en
Hit http://in.archive.ubuntu.com quantal-security/restricted Translation-en
Hit http://in.archive.ubuntu.com quantal-security/universe Translation-en
Fetched 1194 kB in 38s (31.2 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  cpp gcc
The following packages will be upgraded:
  appmenu-gtk appmenu-gtk3 evolution-data-server evolution-data-server-common
  gnome-settings-daemon inkscape libcamel-1.2-40 libdrm2 libebackend-1.2-5
  libebook-1.2-14 libecal-1.2-15 libedata-book-1.2-15 libedata-cal-1.2-18
  libedataserver-1.2-17 libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx
  libgl1-mesa-glx:i386 libglapi-mesa libssh-4
20 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 28.9 MB of archives.
After this operation, 128 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ quantal/main libdrm2 amd64 2.4.39-0ubuntu1 [26.5 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main appmenu-gtk amd64 12.10.2-0ubuntu1.3 [13.1 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main appmenu-gtk3 amd64 12.10.2-0ubuntu1.3 [12.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ quantal/main libgl1-mesa-dri amd64 9.0-0ubuntu1 [3925 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ quantal/main libgl1-mesa-dri i386 9.0-0ubuntu1 [3988 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ quantal/main libgl1-mesa-glx amd64 9.0-0ubuntu1 [109 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ quantal/main libgl1-mesa-glx i386 9.0-0ubuntu1 [107 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ quantal/main libglapi-mesa amd64 9.0-0ubuntu1 [22.0 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libssh-4 amd64 0.5.2-1ubuntu0.12.10.2 [121 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main evolution-data-server amd64 3.6.2-0ubuntu0.1 [506 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libcamel-1.2-40 amd64 3.6.2-0ubuntu0.1 [637 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main evolution-data-server-common all 3.6.2-0ubuntu0.1 [108 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libedataserver-1.2-17 amd64 3.6.2-0ubuntu0.1 [188 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libebackend-1.2-5 amd64 3.6.2-0ubuntu0.1 [95.6 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libebook-1.2-14 amd64 3.6.2-0ubuntu0.1 [113 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libecal-1.2-15 amd64 3.6.2-0ubuntu0.1 [151 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libedata-book-1.2-15 amd64 3.6.2-0ubuntu0.1 [84.0 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main libedata-cal-1.2-18 amd64 3.6.2-0ubuntu0.1 [95.5 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main inkscape amd64 0.48.3.1-1ubuntu6.1 [18.1 MB]
Get:20 http://in.archive.ubuntu.com/ubuntu/ quantal-updates/main gnome-settings-daemon amd64 3.4.2-0ubuntu15 [477 kB]
Fetched 28.9 MB in 10min 22s (46.4 kB/s)
(Reading database ... 249854 files and directories currently installed.)
Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39-0ubuntu1_amd64.deb) ...
Unpacking replacement libdrm2:amd64 ...
dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
Preparing to replace appmenu-gtk:amd64 12.10.2-0ubuntu1.2 (using .../appmenu-gtk_12.10.2-0ubuntu1.3_amd64.deb) ...
Unpacking replacement appmenu-gtk:amd64 ...
Preparing to replace appmenu-gtk3:amd64 12.10.2-0ubuntu1.2 (using .../appmenu-gtk3_12.10.2-0ubuntu1.3_amd64.deb) ...
Unpacking replacement appmenu-gtk3:amd64 ...
Preparing to replace libgl1-mesa-dri:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-dri:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:amd64
Preparing to replace libgl1-mesa-dri:i386 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-dri:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libgl1-mesa-glx:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-glx:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:amd64
No apport report written because MaxReports is reached already
                                                              Preparing to replace libgl1-mesa-glx:i386 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-glx:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:i386
No apport report written because MaxReports is reached already
                                                              Preparing to replace libglapi-mesa:amd64 9.0-0ubuntu1 (using .../libglapi-mesa_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libglapi-mesa:amd64 ...
dpkg: error processing /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libglapi-mesa/changelog.Debian.gz', which is different from other instances of package libglapi-mesa:amd64
No apport report written because MaxReports is reached already
                                                              Preparing to replace libssh-4:amd64 0.5.2-1ubuntu0.12.10.1 (using .../libssh-4_0.5.2-1ubuntu0.12.10.2_amd64.deb) ...
Unpacking replacement libssh-4:amd64 ...
Preparing to replace evolution-data-server 3.6.0-0ubuntu3 (using .../evolution-data-server_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement evolution-data-server ...
Preparing to replace libcamel-1.2-40 3.6.0-0ubuntu3 (using .../libcamel-1.2-40_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libcamel-1.2-40 ...
Preparing to replace evolution-data-server-common 3.6.0-0ubuntu3 (using .../evolution-data-server-common_3.6.2-0ubuntu0.1_all.deb) ...
Unpacking replacement evolution-data-server-common ...
Preparing to replace libedataserver-1.2-17 3.6.0-0ubuntu3 (using .../libedataserver-1.2-17_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libedataserver-1.2-17 ...
Preparing to replace libebackend-1.2-5 3.6.0-0ubuntu3 (using .../libebackend-1.2-5_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libebackend-1.2-5 ...
Preparing to replace libebook-1.2-14 3.6.0-0ubuntu3 (using .../libebook-1.2-14_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libebook-1.2-14 ...
Preparing to replace libecal-1.2-15 3.6.0-0ubuntu3 (using .../libecal-1.2-15_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libecal-1.2-15 ...
Preparing to replace libedata-book-1.2-15 3.6.0-0ubuntu3 (using .../libedata-book-1.2-15_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libedata-book-1.2-15 ...
Preparing to replace libedata-cal-1.2-18 3.6.0-0ubuntu3 (using .../libedata-cal-1.2-18_3.6.2-0ubuntu0.1_amd64.deb) ...
Unpacking replacement libedata-cal-1.2-18 ...
Preparing to replace inkscape 0.48.3.1-1ubuntu6 (using .../inkscape_0.48.3.1-1ubuntu6.1_amd64.deb) ...
Unpacking replacement inkscape ...
Preparing to replace gnome-settings-daemon 3.4.2-0ubuntu14 (using .../gnome-settings-daemon_3.4.2-0ubuntu15_amd64.deb) ...
Unpacking replacement gnome-settings-daemon ...
Processing triggers for libglib2.0-0:amd64 ...
Processing triggers for gconf2 ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for mime-support ...
Errors were encountered while processing:
 /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
29. find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Output-/etc/apt/sources.list

     1 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/main/binary-i386/
     2
     3 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/multiverse/binary-i386/
     4 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/restricted/binary-i386/
     5 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ dists/precise/universe/binary-i386/
     6 # deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release amd64 (20120423)]/ precise main multiverse restricted universe
     7
     8 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     9 # newer versions of the distribution.
    10 deb http://in.archive.ubuntu.com/ubuntu/ quantal main restricted
    11 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal main restricted
    12
    13 ## Major bug fix updates produced after the final release of the
    14 ## distribution.
    15 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    16 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    17
    18 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    19 ## team. Also, please note that software in universe WILL NOT receive any
    20 ## review or updates from the Ubuntu security team.
    21 deb http://in.archive.ubuntu.com/ubuntu/ quantal universe
    22 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal universe
    23 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates universe
    24 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates universe
    25
    26 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    27 ## team, and may not be under a free licence. Please satisfy yourself as to
    28 ## your rights to use the software. Also, please note that software in
    29 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    30 ## security team.
    31 deb http://in.archive.ubuntu.com/ubuntu/ quantal multiverse
    32 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal multiverse
    33 deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    34 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    35
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it includes
    38 ## newer versions of some applications which may provide useful features.
    39 ## Also, please note that software in backports WILL NOT receive any review
    40 ## or updates from the Ubuntu security team.
    41 deb http://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
    42 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
    43
    44 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security main restricted
    45 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security main restricted
    46 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security universe
    47 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security universe
    48 deb http://in.archive.ubuntu.com/ubuntu/ quantal-security multiverse
    49 deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-security multiverse
    50
    51 ## Uncomment the following two lines to add software from Canonical's
    52 ## 'partner' repository.
    53 ## This software is not part of Ubuntu, but is offered by Canonical and the
    54 ## respective vendors as a service to Ubuntu users.
    55 deb http://archive.canonical.com/ubuntu quantal partner
    56 deb-src http://archive.canonical.com/ubuntu quantal partner
    57
    58 ## This software is not part of Ubuntu, but is offered by third-party
    59 ## developers who want to ship their latest software.
    60 # deb http://extras.ubuntu.com/ubuntu quantal main
    61 # deb-src http://extras.ubuntu.com/ubuntu quantal main

/etc/apt/sources.list.d/bumblebee-stable-precise.list

     1 # deb http://ppa.launchpad.net/bumblebee/stable/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/bumblebee/stable/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/ubuntu-x-swat-x-updates-precise.list

     1 # deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/playdeb.list

     1 # deb http://archive.getdeb.net/ubuntu precise-getdeb games

/etc/apt/sources.list.d/webupd8team-java-precise.list

     1 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/ubuntu-toolchain-r-test-precise.list

     1 # deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main # disabled on upgrade to quantal
     2 # deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main # disabled on upgrade to quantal

/etc/apt/sources.list.d/getdeb.list

     1 # deb http://archive.getdeb.net/ubuntu precise-getdeb apps

/etc/apt/sources.list.d/medibuntu.list

     1 ## Please report any bug on https://bugs.launchpad.net/medibuntu/
     2 # deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
     3 # deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"

Note-Now I have given output of all the commands for further necessary action at your end please.

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

There is some strange or even contradictory output in your log, maybe it was caused by typo errors in the commands?

e.g.
16.sudo rm -rf /var/lib/apt/lists
Output-NIL
18.sudo mkdir /var/lib/apt/lists
Output-mkdir: cannot create directory `/var/lib/apt/lists': File exists

In any case it seems that this did not do any harm, and further commands have already solved some problems - but not yet all of them.

For an attempt to solve the remaining problems (or at least some of them) please open a terminal and issue the following commands

sudo apt-get update
sudp apt-get install --reinstall libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386 libdrm2:amd64 libglapi-mesa:amd64

Then again select all output and paste into a new message of this question thread as done before.

Hint: there is no need for copying the command and output of each step separately, you could have copied all output at once by using the menu commands "edit - select all", "edit - copy" in the terminal.

Revision history for this message
Inderjit Singh (inderjit67) said :
#9

inderjit@luckyvicky:~$ sudo apt-get update
[sudo] password for inderjit:
Ign http://archive.canonical.com quantal InRelease
Ign http://in.archive.ubuntu.com quantal InRelease
Get:1 http://archive.canonical.com quantal Release.gpg [933 B]
Ign http://in.archive.ubuntu.com quantal-updates InRelease
Get:2 http://archive.canonical.com quantal Release [7,078 B]
Ign http://in.archive.ubuntu.com quantal-backports InRelease
Ign http://in.archive.ubuntu.com quantal-security InRelease
Get:3 http://in.archive.ubuntu.com quantal Release.gpg [933 B]
Get:4 http://archive.canonical.com quantal/partner Sources [2,757 B]
Get:5 http://in.archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:6 http://archive.canonical.com quantal/partner amd64 Packages [3,460 B]
Get:7 http://in.archive.ubuntu.com quantal-backports Release.gpg [933 B]
Get:8 http://archive.canonical.com quantal/partner i386 Packages [4,211 B]
Get:9 http://in.archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:10 http://in.archive.ubuntu.com quantal Release [49.6 kB]
Get:11 http://in.archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:12 http://in.archive.ubuntu.com quantal-backports Release [49.6 kB]
Get:13 http://in.archive.ubuntu.com quantal-security Release [49.6 kB]
Ign http://archive.canonical.com quantal/partner Translation-en_IN
Get:14 http://in.archive.ubuntu.com quantal/main Sources [872 kB]
Ign http://archive.canonical.com quantal/partner Translation-en
Get:15 http://in.archive.ubuntu.com quantal/restricted Sources [5,646 B]
Get:16 http://in.archive.ubuntu.com quantal/universe Sources [5,522 kB]
Get:17 http://in.archive.ubuntu.com quantal/multiverse Sources [166 kB]
Get:18 http://in.archive.ubuntu.com quantal/main amd64 Packages [1,137 kB]
Get:19 http://in.archive.ubuntu.com quantal/restricted amd64 Packages [8,369 B]
Get:20 http://in.archive.ubuntu.com quantal/universe amd64 Packages [5,274 kB]
Get:21 http://in.archive.ubuntu.com quantal/multiverse amd64 Packages [131 kB]
Get:22 http://in.archive.ubuntu.com quantal/main i386 Packages [1,136 kB]
Get:23 http://in.archive.ubuntu.com quantal/restricted i386 Packages [8,387 B]
Get:24 http://in.archive.ubuntu.com quantal/universe i386 Packages [5,285 kB]
Get:25 http://in.archive.ubuntu.com quantal/multiverse i386 Packages [133 kB]
Get:26 http://in.archive.ubuntu.com quantal/main Translation-en [660 kB]
Get:27 http://in.archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
Get:28 http://in.archive.ubuntu.com quantal/restricted Translation-en [2,575 B]
Get:29 http://in.archive.ubuntu.com quantal/universe Translation-en [3,648 kB]
Get:30 http://in.archive.ubuntu.com quantal-updates/main Sources [73.2 kB]
Get:31 http://in.archive.ubuntu.com quantal-updates/restricted Sources [889 B]
Get:32 http://in.archive.ubuntu.com quantal-updates/universe Sources [75.7 kB]
Get:33 http://in.archive.ubuntu.com quantal-updates/multiverse Sources [2,936 B]
Get:34 http://in.archive.ubuntu.com quantal-updates/main amd64 Packages [184 kB]
Get:35 http://in.archive.ubuntu.com quantal-updates/restricted amd64 Packages [1,970 B]
Get:36 http://in.archive.ubuntu.com quantal-updates/universe amd64 Packages [156 kB]
Get:37 http://in.archive.ubuntu.com quantal-updates/multiverse amd64 Packages [7,957 B]
Get:38 http://in.archive.ubuntu.com quantal-updates/main i386 Packages [184 kB]
Get:39 http://in.archive.ubuntu.com quantal-updates/restricted i386 Packages [1,979 B]
Get:40 http://in.archive.ubuntu.com quantal-updates/universe i386 Packages [156 kB]
Get:41 http://in.archive.ubuntu.com quantal-updates/multiverse i386 Packages [8,112 B]
Get:42 http://in.archive.ubuntu.com quantal-updates/main Translation-en [88.3 kB]
Get:43 http://in.archive.ubuntu.com quantal-updates/multiverse Translation-en [4,499 B]
Get:44 http://in.archive.ubuntu.com quantal-updates/restricted Translation-en [635 B]
Get:45 http://in.archive.ubuntu.com quantal-updates/universe Translation-en [84.8 kB]
Get:46 http://in.archive.ubuntu.com quantal-backports/main Sources [14 B]
Get:47 http://in.archive.ubuntu.com quantal-backports/restricted Sources [14 B]
Get:48 http://in.archive.ubuntu.com quantal-backports/universe Sources [6,017 B]
Get:49 http://in.archive.ubuntu.com quantal-backports/multiverse Sources [781 B]
Get:50 http://in.archive.ubuntu.com quantal-backports/main amd64 Packages [14 B]
Get:51 http://in.archive.ubuntu.com quantal-backports/restricted amd64 Packages [14 B]
Get:52 http://in.archive.ubuntu.com quantal-backports/universe amd64 Packages [6,787 B]
Get:53 http://in.archive.ubuntu.com quantal-backports/multiverse amd64 Packages [1,118 B]
Get:54 http://in.archive.ubuntu.com quantal-backports/main i386 Packages [14 B]
Get:55 http://in.archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Get:56 http://in.archive.ubuntu.com quantal-backports/universe i386 Packages [7,599 B]
Get:57 http://in.archive.ubuntu.com quantal-backports/multiverse i386 Packages [1,118 B]
Get:58 http://in.archive.ubuntu.com quantal-backports/main Translation-en [14 B]
Get:59 http://in.archive.ubuntu.com quantal-backports/multiverse Translation-en [594 B]
Get:60 http://in.archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
Get:61 http://in.archive.ubuntu.com quantal-backports/universe Translation-en [5,542 B]
Get:62 http://in.archive.ubuntu.com quantal-security/main Sources [28.4 kB]
Get:63 http://in.archive.ubuntu.com quantal-security/restricted Sources [14 B]
Get:64 http://in.archive.ubuntu.com quantal-security/universe Sources [13.2 kB]
Get:65 http://in.archive.ubuntu.com quantal-security/multiverse Sources [691 B]
Get:66 http://in.archive.ubuntu.com quantal-security/main amd64 Packages [73.4 kB]
Get:67 http://in.archive.ubuntu.com quantal-security/restricted amd64 Packages [14 B]
Get:68 http://in.archive.ubuntu.com quantal-security/universe amd64 Packages [31.3 kB]
Get:69 http://in.archive.ubuntu.com quantal-security/multiverse amd64 Packages [1,144 B]
Get:70 http://in.archive.ubuntu.com quantal-security/main i386 Packages [73.0 kB]
Get:71 http://in.archive.ubuntu.com quantal-security/restricted i386 Packages [14 B]
Get:72 http://in.archive.ubuntu.com quantal-security/universe i386 Packages [31.9 kB]
Get:73 http://in.archive.ubuntu.com quantal-security/multiverse i386 Packages [1,385 B]
Get:74 http://in.archive.ubuntu.com quantal-security/main Translation-en [36.8 kB]
Get:75 http://in.archive.ubuntu.com quantal-security/multiverse Translation-en [587 B]
Get:76 http://in.archive.ubuntu.com quantal-security/restricted Translation-en [14 B]
Get:77 http://in.archive.ubuntu.com quantal-security/universe Translation-en [17.6 kB]
Ign http://in.archive.ubuntu.com quantal/main Translation-en_IN
Ign http://in.archive.ubuntu.com quantal/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com quantal/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com quantal/universe Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-updates/universe Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-backports/main Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-backports/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-backports/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-backports/universe Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-security/main Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-security/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-security/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com quantal-security/universe Translation-en_IN
Fetched 25.7 MB in 27min 5s (15.8 kB/s)
Reading package lists... Done
inderjit@luckyvicky:~$ sudo apt-get install --reinstall libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386 libdrm2:amd64 libglapi-mesa:amd64
[sudo] password for inderjit:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.5.0-22 linux-headers-3.5.0-22-generic
Use 'apt-get autoremove' to remove them.
Suggested packages:
  libglide3 libglide3:i386
The following packages will be upgraded:
  libdrm2 libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx
  libgl1-mesa-glx:i386 libglapi-mesa
6 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/8,177 kB of archives.
After this operation, 7,168 B disk space will be freed.
(Reading database ... 276811 files and directories currently installed.)
Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39-0ubuntu1_amd64.deb) ...
Unpacking replacement libdrm2:amd64 ...
dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
No apport report written because MaxReports is reached already
                                                              Preparing to replace libgl1-mesa-dri:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-dri:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:amd64
No apport report written because MaxReports is reached already
                                                              Preparing to replace libgl1-mesa-dri:i386 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-dri:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:i386
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libgl1-mesa-glx:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-glx:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:amd64
No apport report written because MaxReports is reached already
                                                              Preparing to replace libgl1-mesa-glx:i386 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-glx:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:i386
No apport report written because MaxReports is reached already
                                                              Preparing to replace libglapi-mesa:amd64 9.0-0ubuntu1 (using .../libglapi-mesa_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libglapi-mesa:amd64 ...
dpkg: error processing /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libglapi-mesa/changelog.Debian.gz', which is different from other instances of package libglapi-mesa:amd64
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
inderjit@luckyvicky:~$

Revision history for this message
Inderjit Singh (inderjit67) said :
#10

inderjit@luckyvicky:~$ sudo rm -rf /var/lib/apt/lists
[sudo] password for inderjit:
inderjit@luckyvicky:~$ sudo mkdir /var/lib/apt/lists
inderjit@luckyvicky:~$

Revision history for this message
Inderjit Singh (inderjit67) said :
#11

Update manager shows some updates it appears they are also getting downloaded and updated as at different times no. of updates were different. Currently ,while updating the message received in 'Details' of update manager is as follows-

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.
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.
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.
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
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 276814 files and directories currently installed.)
Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39-0ubuntu1_amd64.deb) ...
Unpacking replacement libdrm2:amd64 ...
dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
No apport report written because MaxReports is reached already
Preparing to replace gstreamer0.10-plugins-bad:amd64 0.10.23-7ubuntu1 (using .../gstreamer0.10-plugins-bad_0.10.23-7ubuntu1.1_amd64.deb) ...
Unpacking replacement gstreamer0.10-plugins-bad:amd64 ...
Preparing to replace libgstreamer-plugins-bad0.10-0:amd64 0.10.23-7ubuntu1 (using .../libgstreamer-plugins-bad0.10-0_0.10.23-7ubuntu1.1_amd64.deb) ...
Unpacking replacement libgstreamer-plugins-bad0.10-0:amd64 ...
Preparing to replace libgl1-mesa-dri:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-dri:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:amd64
No apport report written because MaxReports is reached already
Preparing to replace libgl1-mesa-dri:i386 9.0-0ubuntu1 (using .../libgl1-mesa-dri_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-dri:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-dri:i386
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libgl1-mesa-glx:amd64 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libgl1-mesa-glx:amd64 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:amd64
No apport report written because MaxReports is reached already
Preparing to replace libgl1-mesa-glx:i386 9.0-0ubuntu1 (using .../libgl1-mesa-glx_9.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgl1-mesa-glx:i386 ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz', which is different from other instances of package libgl1-mesa-glx:i386
No apport report written because MaxReports is reached already
Preparing to replace libglapi-mesa:amd64 9.0-0ubuntu1 (using .../libglapi-mesa_9.0-0ubuntu1_amd64.deb) ...
Unpacking replacement libglapi-mesa:amd64 ...
dpkg: error processing /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libglapi-mesa/changelog.Debian.gz', which is different from other instances of package libglapi-mesa:amd64
No apport report written because MaxReports is reached already
Processing triggers for libglib2.0-0:amd64 ...
Errors were encountered while processing:
 /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-dri_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgl1-mesa-glx_9.0-0ubuntu1_i386.deb
 /var/cache/apt/archives/libglapi-mesa_9.0-0ubuntu1_amd64.deb
Error in function:
Setting up libgstreamer-plugins-bad0.10-0:amd64 (0.10.23-7ubuntu1.1) ...
Setting up gstreamer0.10-plugins-bad:amd64 (0.10.23-7ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Revision history for this message
Inderjit Singh (inderjit67) said :
#12

Still need solution.

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

Sorry for not helping further, but I was out of town for a few days.

I still see two problems in your output:

1. A problem with language settings ('Please check that your locale settings ... are supported and installed on your system.
You should try using the system settings dialogue to change the language settings. I would recommend that you swith to plain English, and then back to English - India (as you apparently would like to have it).

2. A problem with 'trying to overwrite shared ...' error messages when updating certain display driver packages.
You seem to be hit by a known bug, namely bug #1083585
The solution given there (adapted for your case) is

sudo rm /usr/share/doc/libdrm2/changelog.Debian.gz
sudo rm /usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz
sudo rm /usr/share/doc/libgl1-mesa-glx/changelog.Debian.gz
sudo rm /usr/share/doc/libglapi-mesa/changelog.Debian.gz

Revision history for this message
Inderjit Singh (inderjit67) said :
#14

I did the language settingings as mentioned in Step 1, and run all the four commands mentioned in Step 2, in terminal. The result was nil as there was no such file or directory.Then while updating I have not received any failure message.I think the problem is solved.Respected ,Sir I will try atleast two , three updates and then I will let you know the outcome .After this exercise , I will close the this question by clicking 'This solved My Problem'. Thanks.

Revision history for this message
Inderjit Singh (inderjit67) said :
#15

Thanks a lot, respected Sir.

Revision history for this message
Inderjit Singh (inderjit67) said :
#16

Thanks Manfred Hampl, that solved my question.