LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Installing compat-libstdc++ in Debian 4.0 (https://www.linuxquestions.org/questions/debian-26/installing-compat-libstdc-in-debian-4-0-a-827442/)

avijitp 08-20-2010 07:29 AM

Installing compat-libstdc++ in Debian 4.0
 
How can I install compat-libstdc++ in Debian 4.0?
I have extracted the libstdc++-libc6.2-2.so.3 file from compat-libstdc++-296-2.96-143.i686.rpm but while the libstdc++-libc6.2-2.so.3 is being used, it is giving an error as below:

Code:

/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libstdc++-libc6.2-2.so.3)

avijitp 08-20-2010 07:50 AM

Please advise.

craigevil 08-20-2010 08:28 AM

Support for Etch stopped in Feb. You should upgrade to the current Debian Stable/Lenny.

Older releases of Debian are at http://archive.debian.org/debian-archive

avijitp 08-20-2010 08:51 AM

error
 
I am getting following error when I try to first upgrade Etch to its last available package versions.

Any advise?
Code:

Ign http://archive.debian.org stable Release
Ign http://archive.debian.org stable/main Packages
Ign http://archive.debian.org stable/contrib Packages
Ign http://archive.debian.org stable/non-free Packages
Err http://archive.debian.org stable/main Packages
  404 Not Found [IP: 194.109.137.218 80]
Err http://archive.debian.org stable/contrib Packages
  404 Not Found [IP: 194.109.137.218 80]
Err http://archive.debian.org stable/non-free Packages
  404 Not Found [IP: 194.109.137.218 80]
Fetched 41.6kB in 11s (3782B/s)
Failed to fetch http://archive.debian.org/debian-archive/dists/stable/main/binary-i386/Packages.gz  404 Not Found [IP: 194.109.137.218 80]
Failed to fetch http://archive.debian.org/debian-archive/dists/stable/contrib/binary-i386/Packages.gz  404 Not Found [IP: 194.109.137.218 80]
Failed to fetch http://archive.debian.org/debian-archive/dists/stable/non-free/binary-i386/Packages.gz  404 Not Found [IP: 194.109.137.218 80]
Reading package lists... Done
W: GPG error: http://security.debian.org stable/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: Couldn't stat source package list http://archive.debian.org stable/main Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org stable/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_stable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org stable/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


knudfl 08-20-2010 01:36 PM

The Debian Etch package is here
https://www.securehost.com/mirror/de....4-27_i386.deb
libstdc++2.10-glibc2.2_2.95.4-27_i386.deb

Providing : libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.2-2.so.3@
..

https://www.securehost.com/mirror/de...in/g/gcc-2.95/
https://www.securehost.com/mirror/debian/pool/main/g/
..

jheaton5 08-20-2010 09:10 PM

How long has it been since you updated?
The etch repositories have been moved to archives
You should go ahead and change your /etc/apt/sources.list to point to lenny. Then the upgrade sequence is:
Code:

# aptitude update
# aptitude install apt aptitude dpkg
# aptitude safe-upgrade
# aptitude full-upgrade



All times are GMT -5. The time now is 09:20 PM.