LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-27-2004, 11:32 AM   #1
dhoro
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Rep: Reputation: 0
apt-get unable to find packages


Hi folks!

I'm really, really new to debian, so the first thing I've tried to do was to install some packages. It seems I've ran into a little problem with apt-get: I'm trying to install qmail. I can find the package using the debian.org package search, but apt-get keeps telling me it can't find the package. Here's what I've tried so far:

Code:
apt-get source qmail
apt-get source qmail-src
apt-get install qmail
apt-get install qmail-src
None of these work and apt-get fails with an "unable to find package" error. Why could this happen? Should I setup some additional sources in /ect/apt/sources.list? Right now, this file contains:

Code:
#deb *cdrom/ sarge main

deb **mirrors.kernel.org/debian/ testing main
deb-src **mirrors.kernel.org/debian/ testing main

deb **security.debian.org/ testing/updates main
Note: It seems I cannot post an url so in the contents of the sources.list file, I've replaced the file protocol with a '*' and the http protocol with '**'.

I know the apt-get works for other packages because I've successfully installed tcpdump and I've simulated installation for apache and php.


Thanks!
Dan

Last edited by dhoro; 12-27-2004 at 11:33 AM.
 
Old 12-27-2004, 11:34 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
be sure before typing"apt-get install" make
Code:
apt-get update
 
Old 12-27-2004, 11:58 AM   #3
dhoro
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Nope, that wasn't it .

But thanks for the quick reply!
 
Old 12-27-2004, 02:52 PM   #4
sls
Member
 
Registered: May 2004
Location: North Wales UK
Distribution: Debian Woody Sarge/Sid
Posts: 77

Rep: Reputation: 16
Hi

qmail seems to be in non-free

You need to add the following deb-src **mirrors.kernel.org/debian/ testing main non-free contrib

Then you should be able to do apt-get update and then install it.

Hope that helps

sls
 
Old 12-28-2004, 10:40 AM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Just check it and I think SLS is right. qmail is commercial
 
  


Reply


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
How do you find certain packages in apt. Royle Debian 4 01-09-2005 12:22 PM
apt-get cannot find packages in FC2 tarheel92x Fedora 6 08-25-2004 10:14 AM
i can't find the file /etc/apt/apt.conf. lsj Linux - Newbie 1 05-21-2004 03:24 AM
Where can i find the apt-get packages available for my distro..(debian) Santorres Linux - Newbie 2 05-17-2004 01:32 AM
Unable to find/use Installed Packages in Vector Linux. rvijay Linux - Newbie 3 09-13-2003 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:24 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
Open Source Consulting | Domain Registration