LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2014, 01:33 AM   #1
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Rep: Reputation: 31
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
Building dependency tree       
Reading state information... Done
E: Unable to locate package ncurses-devel
mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$
 
Old 08-01-2014, 01:52 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,767

Rep: Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886
probably it is called ncurses-dev, there is no such package (apt-get is working properly).
 
Old 08-01-2014, 01:54 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Let's break this down cause from what you are saying here apt-get isn't the problem
Quote:
Originally Posted by shariefbe View Post
I am trying to install my ncurses package in my Ubuntu Distro.
Your ncurses package? where do you have it? Is it in a folder already on your machine or is it in a repository somewhere?
Quote:
Originally Posted by shariefbe View Post
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
Building dependency tree       
Reading state information... Done
E: Unable to locate package ncurses-devel
mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$
This indicates a couple of possibilities.
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
but you must be in the folder (so your terminal will have been cd'd to the folder already.
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.

Last edited by k3lt01; 08-01-2014 at 02:00 AM.
 
Old 08-01-2014, 01:57 AM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by pan64 View Post
probably it is called ncurses-dev, there is no such package (apt-get is working properly).
Looking at Ubuntu packages there is no such thing as ncurses-dev either.
 
Old 08-01-2014, 02:01 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,767

Rep: Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886
here is the list: http://packages.ubuntu.com/search?keywords=ncurses
anyway, there is no such package
 
Old 08-01-2014, 02:16 AM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by pan64 View Post
here is the list: http://packages.ubuntu.com/search?keywords=ncurses
anyway, there is no such package
Which is why I think it is his own package just like his 1st post suggest when he says
Quote:
I am trying to install my ncurses package in my Ubuntu Distro.
I am sure when he replies this will be cleared up.
 
Old 08-01-2014, 02:24 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,767

Rep: Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886
in that case OP need to use dpkg instead of apt-get
 
Old 08-01-2014, 03:00 AM   #8
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
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
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$
 
Old 08-01-2014, 03:09 AM   #9
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,767

Rep: Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886
that is probably named libncurses5-dev
 
Old 08-01-2014, 03:43 AM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by pan64 View Post
in that case OP need to use dpkg instead of apt-get
Which I already said.
 
Old 08-01-2014, 09:15 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,303
Blog Entries: 1

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
$ 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
 
Old 08-01-2014, 01:59 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://packages.ubuntu.com/lucid/ncurses-dev
 
  


Reply

Tags
apt-get, deb package


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nagios not working properly suj Linux - Server 1 08-08-2010 08:53 AM
apt-get isn't working properly mouse_x Debian 2 08-10-2007 09:38 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 08:02 PM
X not working properly. MylesCLin Linux - Software 1 09-15-2004 11:46 AM
Getting apt-get to work properly pwaring Debian 15 12-12-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration