[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#629930: More Info



I did a full upgrade and following (among other) packages were
installed.


Here is what happens. 


1. I do an (-t experimental) upgrade. 

<begin quote>

Setting up gcc-4.4-base (4.4.6-6) ...
Setting up libmagickcore4 (8:6.6.9.7-4) ...
Setting up cups-ppdc (1.4.6-8) ...
Setting up cpp-4.5 (4.5.3-3) ...
Setting up cpp-4.4 (4.4.6-6) ...
Setting up lib32v4l-0 (0.8.4-2) ...
Setting up libgnatvsn4.4 (4.4.6-2) ...
Setting up libc6-dev (2.13-7) ...
Setting up lib32gcc1 (1:4.6.0-13) ...
Setting up libxrender1 (1:0.9.6-2) ...
Setting up libmagickwand4 (8:6.6.9.7-4) ...
Setting up gcc-4.6 (4.6.0-13) ...
Setting up gcc-4.5 (4.5.3-3) ...
Setting up gcc-4.4 (4.4.6-6) ...
Setting up libcupsdriver1 (1.4.6-8) ...
Setting up gnat-4.4 (4.4.6-2) ...
Setting up gfortran-4.4 (4.4.6-6) ...
Setting up libmutter0 (3.0.2.1-1) ...
Setting up libsasl2-modules (2.1.24~rc1.dfsg1+cvs2011-05-23-4) ...
Setting up libxft2 (2.2.0-3) ...
Setting up lib32stdc++6 (4.6.0-13) ...
Setting up libmagickcore4-extra (8:6.6.9.7-4) ...
Setting up g++-4.6 (4.6.0-13) ...
Setting up g++-4.4 (4.4.6-6) ...
Setting up libstdc++6-4.5-dev (4.5.3-3) ...
Setting up libstdc++6-4.6-dev (4.6.0-13) ...
Setting up libstdc++6-4.4-dev (4.4.6-6) ...
Setting up g++-4.5 (4.5.3-3) ...
                                         
Current status: 8 updates [-83].
paivakil@nandini:~$ 
paivakil@nandini:~$ 
paivakil@nandini:~$ sudo aptitude -t experimental upgrade
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by aptitude)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libsigc-2.0.so.0)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libxapian.so.22)
paivakil@nandini:~$ sudo dpkg -c
dpkg-deb: error: --contents takes exactly one argument

Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --help for help about installing and deinstalling packages.

</end>

Why is "dpkg-C" not workign? 

So, I try to undo the damage:-

<begin quote>

paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/libstdc++6_4.6.0-11_amd64.deb 
dpkg: warning: downgrading libstdc++6 from 4.6.0-13 to 4.6.0-11.
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-13 (using .../libstdc++6_4.6.0-11_amd64.deb) ...
Unpacking replacement libstdc++6 ...
dpkg: dependency problems prevent configuration of libstdc++6:
 libstdc++6 depends on gcc-4.6-base (= 4.6.0-11); however:
  Version of gcc-4.6-base on system is 4.6.0-13.
dpkg: error processing libstdc++6 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++6
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/libstdc++6_4.6.0-13_amd64.deb 
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-11 (using .../libstdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.6.0-13) ...
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/gcc-4.6-base_4.6.0-10_amd64.deb 
dpkg: warning: downgrading gcc-4.6-base from 4.6.0-13 to 4.6.0-10.
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-13 (using .../gcc-4.6-base_4.6.0-10_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-10) ...
paivakil@nandini:~$ sudo aptitude -f install
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by aptitude)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libsigc-2.0.so.0)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libxapian.so.22)
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/libstdc++6_4.6.0-11_amd64.deb 
dpkg: warning: downgrading libstdc++6 from 4.6.0-13 to 4.6.0-11.
(Reading database ... 151610 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-13 (using .../libstdc++6_4.6.0-11_amd64.deb) ...
Unpacking replacement libstdc++6 ...
dpkg: dependency problems prevent configuration of libstdc++6:
 libstdc++6 depends on gcc-4.6-base (= 4.6.0-11); however:
  Version of gcc-4.6-base on system is 4.6.0-10.
dpkg: error processing libstdc++6 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++6
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/gcc-4.6-base_4.6.0-13_amd64.deb 
(Reading database ... 151610 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-10 (using .../gcc-4.6-base_4.6.0-13_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-13) ...
paivakil@nandini:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libstdc++6
The following packages will be upgraded:
  libstdc++6
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/337 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Reading changelogs... Done
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-11 (using .../libstdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.6.0-13) ...
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/libstdc++6_4.6.0-11_amd64.deb 
dpkg: warning: downgrading libstdc++6 from 4.6.0-13 to 4.6.0-11.
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-13 (using .../libstdc++6_4.6.0-11_amd64.deb) ...
Unpacking replacement libstdc++6 ...
dpkg: dependency problems prevent configuration of libstdc++6:
 libstdc++6 depends on gcc-4.6-base (= 4.6.0-11); however:
  Version of gcc-4.6-base on system is 4.6.0-13.
dpkg: error processing libstdc++6 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++6
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/gcc-4.6-base_4.6.0-11_amd64.deb 
dpkg: warning: downgrading gcc-4.6-base from 4.6.0-13 to 4.6.0-11.
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-13 (using .../gcc-4.6-base_4.6.0-11_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-11) ...
paivakil@nandini:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gcc-4.6-base libstdc++6
The following packages will be upgraded:
  gcc-4.6-base libstdc++6
2 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/468 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
paivakil@nandini:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gcc-4.6-base libstdc++6
The following packages will be upgraded:
  gcc-4.6-base libstdc++6
2 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/468 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Reading changelogs... Done
(Reading database ... 151610 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-11 (using .../gcc-4.6-base_4.6.0-13_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-13) ...
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-11 (using .../libstdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.6.0-13) ...
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
paivakil@nandini:~$ sudo dpkg -i /var/cache/apt/archives/gcc-4.6-base_4.6.0-11_amd64.deb 
dpkg: warning: downgrading gcc-4.6-base from 4.6.0-13 to 4.6.0-11.
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-13 (using .../gcc-4.6-base_4.6.0-11_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-11) ...
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)

</quote>

Assuking that I had messed up with the versions while using dpkg -i,
why is aptitude insisting on upgrading both libsted and gcc from -11
to -13? I force installation of -12 for both packages, and again I get
the same errors - aptitude -f install wants to upgrade them; but
installing -12 or higher means aptitue is unusable. 

At least, opting for no when aptitude -f install asks to upgrade both
these packages should have resulted in downgrading of something else?


This is is the final status:-


<quote>
paivakil@nandini:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gcc-4.6-base libstdc++6
The following packages will be upgraded:
  gcc-4.6-base libstdc++6
2 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/468 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Reading changelogs... Done
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-12 (using .../gcc-4.6-base_4.6.0-13_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-13) ...
(Reading database ... 151609 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-12 (using .../libstdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.6.0-13) ...
paivakil@nandini:~$ sudo apt-get -f install
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libapt-pkg.so.4.10)
</quote>

I tried purging and reinstalling these two packages (of course, a
whole lot of other packages were removed, but the problem of 

paivakil@nandini:~$ sudo aptitude -f install
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by aptitude)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/libapt-pkg.so.4.10)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libsigc-2.0.so.0)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libxapian.so.22)


Exusts. 



-- 
Mahesh T. Pai   ||
Free Software - it is free as in FREEDOM



Reply to: