Hi, thanx for the tip...............actually some weeks back i had used sarge for some package upgrade...........at that point i must have installed libncurses5 from sarge............after that i had gone back to stable...................hence today morning when i was trying to install libncurses5-dev it was trying to install libncurses5-dev compatible with the sarge version of libncurses5 (aka 5.4-4).............but since there were no apt sources in my sources.list for sarge, it was giving this error...................after your mail i understood what was wrong.........i included a sarge source and then the upgrade went fine! thanx cheers! abhishek.
> [EMAIL PROTECTED] writes: > >> Hi all, >> I have debian 3.0 woody on a linux box.......... >> i am getting the following error while complining a program........... >> >> menkar >> make >> cc -c galfit.c >> galfit.c:15: curses.h: No such file or directory >> make: *** [galfit.o] Error 1 >> >> i undersatnd that i need to install ncurses-dev............when i try >> using apt-get i get the following error............. >> >> menkar:/home/abhi# apt-get install ncurses-dev >> Reading Package Lists... Done >> Building Dependency Tree... Done >> Note, selecting libncurses5-dev instead of ncurses-dev >> Some packages could not be installed. This may mean that you have >> requested an impossible situation or if you are using the unstable >> distribution that some required packages have not yet been created >> or been moved out of Incoming. >> >> Since you only requested a single operation it is extremely likely that >> the package is simply not installable and a bug report against >> that package should be filed. >> The following information may help to resolve the situation: >> >> The following packages have unmet dependencies: >> libncurses5-dev: Depends: libncurses5 (= 5.2.20020112a-7) but 5.4-4 is >> to be installed >> E: Broken packages >> ------------------------------------------------------------------------ >> >> Is this a bug? >> i am NOT using an unstable distribution! > > Apt tries to install libncurses5-dev from testing/unstable, so most > likely your /etc/apt/sources.list file is not set up correctly. Make > sure it refers to stable, but not testing or unstable. Then issue the > command > > apt-get update && apt-get install libncurses5-dev > > Martin > > > -- > ,--. Martin Dickopp, Dresden, Germany ,= ,-_-. =. > / ,- ) http://www.zero-based.org/ ((_/)o o(\_)) > \ `-' `-'(. .)`-' > `-. Debian, a variant of the GNU operating system. \_/ > > -- > This message has been scanned for viruses and > dangerous content, and is believed to be clean. > > -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]