apt-get is not working properly
Dear Friends
I am trying to install my ncurses package in my Ubuntu Distro. I am getting the following error. But i dont know what is the problem. Can anyone help me Code:
mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ sudo apt-get install ncurses-develReading package lists... Done |
probably it is called ncurses-dev, there is no such package (apt-get is working properly).
|
Let's break this down cause from what you are saying here apt-get isn't the problem
Quote:
Quote:
1. The package is on your machine in a folder(e.g. downloads) and apt-get is not what you use for that. 2. The package is located in a repository and the fact apt-get cannot locates may indicate your sources.list is incorrect OR 3. the packages file for the repository is not correct. Dealing with 1. If the file is on your machine you should either dpkg or gdebi. dpkg is a command line tool so the command will be Code:
dpkg -i ncurses-devel.deb Dealing with 2. If 1 is not correct please post where this particular package you want is supposed to be located and post your sources.list Dealing with 3. If 1 is not correct and 2 is partially correct leading to 3. you will have to downlaod the package manually and use dpkg to install it. |
Quote:
|
here is the list: http://packages.ubuntu.com/search?keywords=ncurses
anyway, there is no such package |
Quote:
Quote:
|
in that case OP need to use dpkg instead of apt-get
|
Actually i am trying to compile kernel. so i am getting these line when i give "make menuconfig"
Code:
mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ make menuconfig |
that is probably named libncurses5-dev
|
Quote:
|
$ dpkg -l '*ncurses*dev*'
or $ dpkg-query --load-avail -l '*ncurses*dev*' or $ apt-file find <some file you need from ncurses-dev> although if you $ sudo apt-get install build-essentials the ncurses-dev element should be grabbed as part of that process. But for the record, it's likely called... libncurses-dev |
|
All times are GMT -5. The time now is 09:10 AM. |