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

apt question revisitted



Disclaimer: Post from blatant newbie.

I tried der.hans' advice to add the two lines to /etc/apt/sources.list
for woody (these exactly match the woody page on www.debian.org, BTW)

> deb http://http.us.debian.org/debian testing main contrib non-free
> deb http://non-us.debian.org/debian-non-US testing/non-US main
contrib non-free

and then per his suggestion, did the following:

> Do an "apt-get update", then an "apt-get install apt"...

This seems to have failed. See below for what appeared in my terminal,
suggestions as to how to proceed very much appreciated--I'd like to
either revert to how things were before, or finish this installation
without totally bonking the system.

Side topic: My motivation for upgrading from potato is that I need to
learn java, would prefer to do it on Linux. I'm having trouble
installing a java SDK that supports the examples in O'Reilly's
Nutshell book I'm also having the usual trouble getting java applets
to run on potato's version of Mozilla. I downloaded mozilla 0.9.2, but
it won't run because it can't find the shared library:
'libc6++.so.u.think.u.can.run.linux'. I downloaded the Sun Java SDK,
javac won't run either, basically says the same thing. I *think* I
know that this error means that the program is looking for a symbolic
link to the libc shared library, can someone confirm this and/or
explain how to resolve these issues?

Thanks,

Paul Mackinney
pmackinney@home.com
Backup? MacDonald's is always hiring aren't they?

Apt error output from terminal:

dog:~# apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
binutils cpp cpp-2.95 g++ g++-2.95 gcc gcc-2.95 gobjc gobjc-2.95 libc6
libc6-dev libdb2 libdb2-util libstdc++2.10-dev libstdc++2.10-glibc2.2
locales
The following NEW packages will be installed:
cpp-2.95 g++-2.95 gcc-2.95 gobjc-2.95 libstdc++2.10-glibc2.2
12 packages upgraded, 5 newly installed, 0 to remove and 313 not
upgraded.
Need to get 14.0MB of archives. After unpacking 3267kB will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org testing/main libdb2 2:2.7.7-8 [273kB]
Get:2 http://http.us.debian.org testing/main libc6 2.2.3-5 [3206kB]
Get:3 http://http.us.debian.org testing/main libstdc++2.10-glibc2.2
1:2.95.4-0.010424 [126kB]
Get:4 http://http.us.debian.org testing/main apt 0.5.3 [591kB]
Get:5 http://http.us.debian.org testing/main binutils 2.11.90.0.7-2
[1198kB]
Get:6 http://http.us.debian.org testing/main cpp 1:2.95.3-7 [2526B]
Get:7 http://http.us.debian.org testing/main cpp-2.95
1:2.95.4-0.010424 [114kB]
Get:8 http://http.us.debian.org testing/main g++ 1:2.95.3-7 [1256B]
Get:9 http://http.us.debian.org testing/main g++-2.95
1:2.95.4-0.010424 [1018kB]Get:10 http://http.us.debian.org
testing/main gcc 1:2.95.3-7 [3276B]
Get:11 http://http.us.debian.org testing/main gcc-2.95
1:2.95.4-0.010424 [940kB]Get:12 http://http.us.debian.org testing/main
libstdc++2.10-dev 1:2.95.4-0.010424 [299kB]
Get:13 http://http.us.debian.org testing/main libc6-dev 2.2.3-5
[2292kB]
Get:14 http://http.us.debian.org testing/main locales 2.2.3-5 [2949kB]
Get:15 http://http.us.debian.org testing/main gobjc 1:2.95.3-7 [1082B]
Get:16 http://http.us.debian.org testing/main gobjc-2.95
1:2.95.4-0.010424 [850kB]
Get:17 http://http.us.debian.org testing/main libdb2-util 2:2.7.7-8
[107kB]
Fetched 14.0MB in 43s (320kB/s)
(Reading database ... 41000 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_i386.deb) ...
Unpacking replacement libdb2 ...
Replacing files in old package libc6 ...
Preparing to replace locales 2.1.3-18 (using
.../locales_2.2.3-5_all.deb) ...
Unpacking replacement locales ...
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)
...
Selecting previously deselected package gobjc-2.95.
Unpacking gobjc-2.95 (from
.../gobjc-2.95_1%3a2.95.4-0.010424_i386.deb) ...
Preparing to replace gobjc 1:2.95.2-13 (using
.../gobjc_1%3a2.95.3-7_i386.deb) ...
Unpacking replacement gobjc ...
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_i386.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.010424_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 (--unpack):
conflicting packages - not installing libc6-dev
Preparing to replace libc6 2.1.3-18 (using .../libc6_2.2.3-5_i386.deb)
...
Unpacking replacement libc6 ...
Replacing files in old package ldso ...
Replacing files in old package netbase ...
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)
dog:~#



Reply to: