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

dist-upgrade from stable to testing: circular dependency



The debian-testing archive doesn't have any messages since April, so I
presume this is the correct list.

I changed sources.list from stable to testing, used dselect to do what
is presumably the equivalent of apt-get update, then did apt-get
dist-upgrade, which failed with an error message.

perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3)

I went to the debian-user archives and found that I should go into
/var/cache/apt/archives and do dpkg -i on the packages I needed.
Here's where I ran into the circular dependency:

dpkg: dependency problems prevent configuration of libc6:
 libc6 depends on libdb2 (>= 2:2.7.7-4); however:
  Package libdb2 is not configured yet.

Ok, so how about libdb2?

dpkg: dependency problems prevent configuration of libdb2:
 libdb2 depends on libc6 (>= 2.2.3-1); however:
  Package libc6 is not configured yet.


What should I do next?


Below is the cut/paste of the end of apt-get dist-upgrade, in case it
matters.

Fetched 220MB in 1h46m55s (34.3kB/s)                                           
Configuring packages ...      
Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 1
18, <GEN50> chunk 3.
(Reading database ... 47671 files and directories currently installed.)
Removing arena ...
Removing task-gnome-apps ...
Removing gnumeric ...
Removing gnome-print ...
(Reading database ... 46937 files and directories currently installed.)
Preparing to replace libdb2-util 2:2.4.14-2.7.7.1.c (using .../libdb2-util_2%3a2
.7.7-8_i386.deb) ...
Unpacking replacement libdb2-util ...
Preparing to replace libdb2 2:2.4.14-2.7.7.1.c (using .../libdb2_2%3a2.7.7-8_i38
6.deb) ...
Unpacking replacement libdb2 ...
Replacing files in old package libc6 ...
Preparing to replace cpp 1:2.95.2-13 (using .../cpp_1%3a2.95.3-7_i386.deb) ...
Unpacking replacement cpp ...
Selecting previously deselected package cpp-2.95.
Unpacking cpp-2.95 (from .../cpp-2.95_1%3a2.95.4-0.010424_i386.deb) ...
Preparing to replace gcc 1:2.95.2-13 (using .../gcc_1%3a2.95.3-7_i386.deb) ...
Removing old gcc doc directory.
Unpacking replacement gcc ...
Preparing to replace binutils 2.9.5.0.37-1 (using .../binutils_2.11.90.0.7-2_i38
6.deb) ...
Unpacking replacement binutils ...
Selecting previously deselected package gcc-2.95.
Unpacking gcc-2.95 (from .../gcc-2.95_1%3a2.95.4-0.010424_i386.deb) ...
Preparing to replace g++ 1:2.95.2-13 (using .../g++_1%3a2.95.3-7_i386.deb) ...
Unpacking replacement g++ ...
Selecting previously deselected package g++-2.95.
Unpacking g++-2.95 (from .../g++-2.95_1%3a2.95.4-0.010424_i386.deb) ...
Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_
1%3a2.95.4-0.010424_i386.deb) ...
perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3
)
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3
)
dpkg: error processing /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-0.01
0424_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
dpkg: regarding .../libc6-dev_2.2.3-5_i386.deb containing libc6-dev:
 libc6-dev conflicts with libstdc++2.10-dev (<< 1:2.95.2-15)
  libstdc++2.10-dev (version 1:2.95.2-13) is installed.
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.2.3-5_i386.deb (--unp
ack):
 conflicting packages - not installing libc6-dev
Errors were encountered while processing:
 /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb
 /var/cache/apt/archives/libc6-dev_2.2.3-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Reply to: