I have looked at the other threads and found nothing
which pertains to my issue.
I am using an older version of Debian 4.0 I cannot upgrade until I have a 2nd server running.
here is my problem. I lost the 4.0 installation
disks. During an apt-get install i did, I foolishly changed sources.list to other sources on the net which changed dependancies and removed needed packages, such as perlmagick, Crypt-SSLeay, aptitude, and possibly
the glibc - ( my current glibc was changed to glic6)
Since I have found my original 4.0 disk. restored the
sources.list. ran an update. and restored many of the packages that were removed. ( a big lesson to me I will never do that again)
here is a simple program:
when i run a gcc or i use cc compile
I get this message: "stdio.h": No such file or directory found.
Yes i know i missing the file stdio.h. I have looked
in /usr/include /usr/lib nothing.
apparently during my mistake the system installed the
glibc6 and removed the "stdio.h" file and other dependancies.
I would like to get back to where as was in terms of the glibc version i had. Aptitude currently shows the following packages that are available to me
DEB1:/etc# aptitude search glibc
v glibc-2.3.6-2 -
v glibc-2.3.6.ds1-1 -
p glibc-doc - GNU C Library: Documentation
v glibc-pic -
p libg++126.96.36.199-glibc2.2 - The GNU C++ extension library - runtime version
p libstdc++2.10-glibc2.2 - The GNU stdc++ library
the question is which one should i install, to get my "stdio.h" back again?
would i have to uninstall glibc6 first?
uninstalling glibc6 displays a big warning
Is there a way I can download just the "stdio.h"
Please someone advise all options.