LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Apt-get info needed (https://www.linuxquestions.org/questions/debian-26/apt-get-info-needed-541712/)

cgjones 03-29-2007 04:00 PM

Ok, we'll go through this step by step. One question first though, and I should have asked this up front. What type of internet connection do you have, if you have one.

1. Edit /etc/apt/sources.list to look like the following example.
Code:

deb http://ftp.us.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

2. Update the local list of available packages.
Code:

apt-get update
3. Install the package.
Code:

apt-get install hylafax-server

sbounty 03-29-2007 04:08 PM

I am running this on a T1 connection.

sbounty 03-29-2007 04:10 PM

do I need to delete the prior copies of the sources.list?

cgjones 03-29-2007 04:13 PM

I'm not sure what you mean by "delete", but you should have one sources.list file in the /etc/apt/ directory. Just make sure that it looks just like the example I posted above. You don't really need the CD as a source, unless you don't have an internet connection at all.

sbounty 03-29-2007 04:15 PM

I do have an internet connection, but I have been editing this under gedit :( ?? am I doing it wrong?? under /etc/apt/sources there are 4 files with a tilda at the end. ~~~

sbounty 03-29-2007 04:18 PM

sorry I am an idiot I am now editing it under the vi /etc/apt/sources.

cgjones 03-29-2007 04:19 PM

Using gedit should work fine. The files with a tilda at the end are normally backup files. You can safely delete these. Another question, are you making these changes as the root user, or are you trying to make them as your user?

cgjones 03-29-2007 04:19 PM

If you are comfortable with it, vi is a good choice.

sbounty 03-29-2007 04:39 PM

well I am going to lo into the acctuall command line and edit it in VI there really quick this may take me a few minutes, I will let you know in a few. thank you for all this help by the way.

sbounty 03-29-2007 04:50 PM

ok it is going to the site now but giving me this security error.

debian:~# apt-get update
Err http://security.debian.org etch/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://ftp.us.debian.org etch Release.gpg
Could not resolve 'ftp.us.debian.org'
Err http://security.debian.org etch/updates Release.gpg
Could not resolve 'security.debian.org'
Ign http://ftp.us.debian.org etch Release
Ign http://security.debian.org etch/updates Release
Ign http://ftp.us.debian.org etch/main Packages
Ign http://security.debian.org etch/updates Release
Ign http://ftp.us.debian.org etch/non-free Packages
Ign http://security.debian.org etch/updates/main Packages
Ign http://security.debian.org etch/updates/contrib Packages
Ign http://ftp.us.debian.org etch/contrib Packages
Ign http://security.debian.org etch/updates/non-free Packages
Ign http://ftp.us.debian.org etch/main Sources
Ign http://security.debian.org etch/updates/main Sources
Ign http://security.debian.org etch/updates/contrib Sources
Ign http://ftp.us.debian.org etch/non-free Sources
Ign http://security.debian.org etch/updates/non-free Sources
Ign http://ftp.us.debian.org etch/contrib Sources
Err http://security.debian.org etch/updates/main Packages
Could not resolve 'security.debian.org'
Err http://ftp.us.debian.org etch/main Packages

sbounty 03-29-2007 04:56 PM

I think I might have a DNS issue now....

cgjones 03-29-2007 05:09 PM

Yeah, I was going to suggest that.

rickh 03-29-2007 05:34 PM

Does your browser work?

sbounty 03-29-2007 05:36 PM

Hmmmm I have the correct DNS set but still saying unable to resolve http://security.debian.org.

sbounty 03-29-2007 05:37 PM

Quote:

Originally Posted by rickh
Does your browser work?

ha ha true yes my browser works.


All times are GMT -5. The time now is 04:24 PM.