Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't find cmake package

1,717 views
Skip to first unread message

Don Grimm

unread,
Dec 9, 2013, 2:20:02 PM12/9/13
to
Greetings
I'm sure this will have some of you rolling your eyes, but I can't download/install the cmake package.
Here is my command line : apt-get install cmake
The result is
Reading package lists...Done
Package cmake is not available

In sources.list is: deb http://security.debian.org/ wheezy/updates  main  contrib
which was put there by the installer. In that file I have commented out lines which
named my DVD drive as a source since it seems to be failing.

I have run : apt-get check and the results looked normal (to my untrained eye).
I have verified the existence of the cmake package by searching on debian.org.

Where is my typo?

Thanks

Tom H

unread,
Dec 9, 2013, 2:50:03 PM12/9/13
to
On Mon, Dec 9, 2013 at 5:59 PM, Don Grimm <donm...@wavecable.com> wrote:
>
> I'm sure this will have some of you rolling your eyes, but I can't
> download/install the cmake package.
> Here is my command line : apt-get install cmake
> The result is
> Reading package lists...Done
> Package cmake is not available
>
> In sources.list is: deb http://security.debian.org/ wheezy/updates main
> contrib
> which was put there by the installer. In that file I have commented out
> lines which
> named my DVD drive as a source since it seems to be failing.

Do you have "wheezy" and "wheezy-updates" lines in sources.list?

If not, add:

deb http://ftp.<CC>.debian.org/debian wheezy main <...>
deb http://ftp.<CC>.debian.org/debian wheezy-updates main <...>

Or:

deb http://http.debian.net/debian wheezy main <...>
deb http://http.debian.net/debian wheezy-updates main <...>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAOdo=SyQ1qKSD0A7Dn0MNPAVF6T...@mail.gmail.com

Erwan David

unread,
Dec 9, 2013, 5:30:01 PM12/9/13
to
Le 09/12/2013 23:08, Don Grimm a écrit :
> Thanks for your attention.
> I added the last two lines that you suggested and not the first two.
> (I don't know what <CC> means.
> I assume it is not taken literally)
>

cc is "country code". If you are in the US as you seem to be, replace it
by us. I would replace it by fr since I am in France.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52A643D2...@rail.eu.org

Don Grimm

unread,
Dec 9, 2013, 5:30:02 PM12/9/13
to
Thanks for your attention.
I added the last two lines that you suggested and not the first two. (I
don't know what <CC> means.
I assume it is not taken literally)

The result was still unsuccessful.

"Package cmake is not available, but is referred to by another package.
This may mean ..."
"E: Package 'cmake' has no installation candidate."

I would be grateful for another suggestion.



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52A63F6...@wavecable.com

Don Grimm

unread,
Dec 9, 2013, 8:40:02 PM12/9/13
to
Thanks. I now know what CC means.

However, adding the two lines to sources.list did not help.
I have added all four lines from the advice of Tom H. and I still get

E: Package 'cmake' has no installation candidate.

Let's keep trying.

PaulNM

unread,
Dec 9, 2013, 9:10:01 PM12/9/13
to
On 12/09/2013 08:13 PM, Don Grimm wrote:
> Thanks. I now know what CC means.
>
> However, adding the two lines to /sources.list /did not help.
> I have added all four lines from the advice of Tom H. and I still get
> *E: Package 'cmake' has no installation candidate.
>
> *Let's keep trying.
> *
> *

Did you do an "apt-get update"? Adding the line tells apt about new
repositories, but apt won't know what packages are available in them
until it downloads their indexes. That's what update does.

- PaulNM


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52A67665...@paulscrap.com

Don Grimm

unread,
Dec 9, 2013, 11:40:02 PM12/9/13
to
Yes, I did apt-get update even before my first post. Sorry I forgot to mention it.
Thanks anyhow.

Tom H

unread,
Dec 10, 2013, 1:40:02 AM12/10/13
to
On Mon, Dec 9, 2013 at 10:08 PM, Don Grimm <donm...@wavecable.com> wrote:
>
> Thanks for your attention.
> I added the last two lines that you suggested and not the first two. (I
> don't know what <CC> means.
> I assume it is not taken literally)
>
> The result was still unsuccessful.
>
> "Package cmake is not available, but is referred to by another package. This
> may mean ..."
> "E: Package 'cmake' has no installation candidate."

You're welcome.

"<CC>" stands for two-letter country code.

You have to run "apt-get update" before "apt-get install cmake".


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAOdo=Sw++KK9DvT85X39xbTegmgg0qXEe00TGr=xz4Lp...@mail.gmail.com

Bo Lan

unread,
Dec 10, 2013, 2:00:01 AM12/10/13
to
I know you did it before. However, every time you edit the
/etc/apt/sources.list, you have to do it again.

After editing, save the file, and then:

# apt-get update && apt-get install cmake

If you still can't make it, could you paste your
/etc/apt/sources.list? So we can figure out if it is correct.

Bo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1386658195.8062.7.camel@debian-bo

Don Grimm

unread,
Dec 10, 2013, 6:40:01 PM12/10/13
to
Thank you Gentlemen (and Ladies?)
All is working now.
I have a lot to learn.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52A7A18...@wavecable.com
0 new messages