Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6993095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:43:13+00:00 2026-05-27T19:43:13+00:00

I have a machine running debian lenny. I need to be able to use

  • 0

I have a machine running debian lenny.
I need to be able to use curl from the command line but it is just not available.
When trying to use it I get:

curl: command not found

What exactly do I need to install to have this command available ?

UPDATE:

I tried to run apt-get install curl
and got the following:

xxxxx:~# apt-get install curl

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lockfile-progs liblockfile1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ca-certificates libcurl3 libldap-2.4-2 libssh2-1 openssl
The following NEW packages will be installed:
  ca-certificates curl libcurl3 libldap-2.4-2 libssh2-1 openssl
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1877kB of archives.
After this operation, 4583kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://security.debian.org stable/updates/main libldap-2.4-2 2.4.11-1+lenny1
  404 Not Found [IP: 128.31.0.36 80]
Err http://security.debian.org stable/updates/main libcurl3 7.18.2-8lenny4
  404 Not Found [IP: 128.31.0.36 80]
Err http://security.debian.org stable/updates/main curl 7.18.2-8lenny4
  404 Not Found [IP: 128.31.0.36 80]
Err http://mirror.cc.columbia.edu lenny/main openssl 0.9.8g-15+lenny6
  404 Not Found
Get:1 http://mirror.cc.columbia.edu lenny/main ca-certificates 20080809 [151kB]
Err http://security.debian.org stable/updates/main openssl 0.9.8g-15+lenny6
  404 Not Found [IP: 128.31.0.36 80]
Get:2 http://mirror.cc.columbia.edu lenny/main libssh2-1 0.18-1 [64.3kB]
Fetched 215kB in 0s (391kB/s)
Failed to fetch http://security.debian.org/pool/updates/main/o/openldap/libldap-2.4-2_2.4.11-1+lenny1_i386.deb  404 Not Found [IP: 128.31.0.36 80]
Failed to fetch http://security.debian.org/pool/updates/main/o/openssl/openssl_0.9.8g-15+lenny6_i386.deb  404 Not Found [IP: 128.31.0.36 80]
Failed to fetch http://security.debian.org/pool/updates/main/c/curl/libcurl3_7.18.2-8lenny4_i386.deb  404 Not Found [IP: 128.31.0.36 80]
Failed to fetch http://security.debian.org/pool/updates/main/c/curl/curl_7.18.2-8lenny4_i386.deb  404 Not Found [IP: 128.31.0.36 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
xxxxx:~#

so I tried

xxxxx:~# apt-get update
Get:1 http://mirror.cc.columbia.edu lenny Release.gpg [1034B]
Get:2 http://mirror.cc.columbia.edu lenny Release [85.6kB]
Get:3 http://security.debian.org stable/updates Release.gpg [836B]
Get:4 http://security.debian.org stable/updates Release [86.9kB]
Ign http://mirror.cc.columbia.edu lenny Release
Get:5 http://ftp.debian.org unstable Release.gpg [836B]
Ign http://mirror.cc.columbia.edu lenny/main Packages/DiffIndex
Ign http://mirror.cc.columbia.edu lenny/contrib Packages/DiffIndex
Ign http://security.debian.org stable/updates Release
Get:6 http://mirror.cc.columbia.edu lenny/main Packages [6873kB]
Get:7 http://ftp.debian.org unstable Release [188kB]
Ign http://security.debian.org stable/updates/main Packages/DiffIndex
Ign http://security.debian.org stable/updates/contrib Packages/DiffIndex
Get:8 http://security.debian.org stable/updates/main Packages [236kB]
Get:9 http://security.debian.org stable/updates/contrib Packages [622B]
Ign http://ftp.debian.org unstable Release
Get:10 http://ftp.debian.org unstable/non-free Packages/DiffIndex [2023B]
Get:11 http://ftp.debian.org unstable/non-free Sources/DiffIndex [2023B]
Get:12 http://ftp.debian.org unstable/non-free Packages [150kB]
Get:13 http://mirror.cc.columbia.edu lenny/contrib Packages [94.3kB]
Get:14 http://ftp.debian.org unstable/non-free Sources [121kB]
Fetched 7842kB in 3s (2421kB/s)
Reading package lists... Done
W: GPG error: http://mirror.cc.columbia.edu lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://security.debian.org stable/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://ftp.debian.org unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: You may want to run apt-get update to correct these problems

and then

xxxxx:~# apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  curl: Depends: libcurl3 (>= 7.16.2-1) but it is not going to be installed
E: Broken packages

followed by:

xxxxx:~# apt-get remove curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package curl is not installed, so not removed
The following packages were automatically installed and are no longer required:
  lockfile-progs liblockfile1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.

and

xxxxx:~# apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  curl: Depends: libcurl3 (>= 7.16.2-1) but it is not going to be installed
E: Broken packages

I must be missing something important here…

YET ANOTHER UPDATE:

here is what it says when running apt-get install libcurl3

xxxxx:~# apt-get install libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libcurl3: Depends: libgssapi-krb5-2 (>= 1.7+dfsg) but it is not installable
            Depends: libidn11 (>= 1.13) but 1.8+20080606-1 is to be installed
            Depends: libssh2-1 (>= 1.2) but it is not going to be installed
E: Broken packages

sources.list files has the following:

# the main Debian packages.
deb http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main contrib
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main contrib
# uncommenting the following line will enable security updates
deb http://security.debian.org/ stable/updates main contrib

# for sun-java5 packages in unstable
deb http://ftp.debian.org/debian/ unstable non-free
deb-src http://ftp.debian.org/debian/ unstable non-free
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:43:13+00:00Added an answer on May 27, 2026 at 7:43 pm

    You can install it through aptitude:

    sudo apt-get install curl

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 2 different web servers on a Debian Lenny machine. One is running
We have a Windows machine running SQL Server 2005, and we need to be
I have a perl script running on a Debian virtual machine on VMWare. This
I have a small machine running Debian and can access it via ssh -l
I have a virtual machine running windows 2003 server. It is on a separate
I have a machine that is running Ubuntu Hardy, which provides its own RubyGems
I have a Windows XP machine and a Linux machine running Ubuntu. I share
I have a WCF service which works on my dev machine running IIS 7,
I have an app.Config that was created on the dev machine running Windows 7.
I'm following this walkthrough: http://msdn.microsoft.com/en-us/library/879kf95c(VS.80).aspx In a machine running vista ultimate, I have installed:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.