[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

are apt/sources.list http: and ftp: same?



I found that with http: lines in my /etc/apt/sources.list I pointed to woody, but apt-get would not install known things there. I changed it to ftp: and it worked fine.

Should these be the same? If different, is this documented?

Thanks,
Gregory


At 09:41 PM 01/21/2001 -0600, Gregory Guthrie wrote:
I have a few systems that I am trying to setup, and the newest one has an /etc/apt/sources/list of:

(See Below)


But, when I ask ti to do "apt-get install tomcat", or ".. libapache-mod-jk" or others, it doesn't find them. They are there in /unstable (woody)/contrib.

Also, I need to get Apache 1.3.14 which is in unstable, but it only sees 1.3.9 in stable.

and apt-get update shows that it looks at unstable:...
 (see Below)

So..???

Thanks,
Gregory

-------------------
/etc/apt/sources.list

beta:/s/new/tomcat# cat /etc/apt/sources.list
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US

#
# start with the (3) CDroms
#
deb cdrom:[Debian GNU/Linux 2.2 r2 _Potato_ - Official i386 Binary-1 (20001207)]/ unstable contrib main non-US/contrib non-US/main

#
# let's also get any updates...
deb ftp://ftp.debian.org/debian/ stable main non-free contrib
deb-src ftp://ftp.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#  let's get REAL updates...
deb http://security.debian.org stable/updates main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

# some upgrades? (from Woody)
deb http://http.us.debian.org/debian woody main contrib non-free
deb http://non-us.debian.org/debian-non-US woody/non-US main contrib non-free
beta:/s/new/tomcat#

-------------------

beta:/s/new/tomcat# apt-get update
Hit http://security.debian.org stable/updates/main Packages
Hit http://non-us.debian.org stable/non-US/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://security.debian.org stable/updates/contrib Release
Hit http://non-us.debian.org stable/non-US/contrib Packages
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://non-us.debian.org stable/non-US/contrib Release
Hit http://security.debian.org stable/updates/non-free Release
Hit http://non-us.debian.org stable/non-US/non-free Packages
Hit http://http.us.debian.org woody/main Packages
Hit http://non-us.debian.org stable/non-US/non-free Release
Hit http://http.us.debian.org woody/main Release
Hit http://http.us.debian.org woody/contrib Packages
Hit http://http.us.debian.org woody/contrib Release
Hit http://non-us.debian.org stable/non-US/main Sources
Hit http://http.us.debian.org woody/non-free Packages
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://http.us.debian.org woody/non-free Release
Hit http://non-us.debian.org stable/non-US/contrib Sources
Hit http://non-us.debian.org stable/non-US/contrib Release
Hit http://non-us.debian.org stable/non-US/non-free Sources
Hit http://non-us.debian.org stable/non-US/non-free Release
Hit http://non-us.debian.org stable/non-US/main Packages
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://non-us.debian.org stable/non-US/contrib Packages
Hit http://non-us.debian.org stable/non-US/contrib Release
Hit http://non-us.debian.org stable/non-US/non-free Packages
Hit http://non-us.debian.org stable/non-US/non-free Release
Hit http://non-us.debian.org woody/non-US/main Packages
Hit http://non-us.debian.org woody/non-US/main Release
Hit http://non-us.debian.org woody/non-US/contrib Packages
Hit http://non-us.debian.org woody/non-US/contrib Release
Hit http://non-us.debian.org woody/non-US/non-free Packages
Hit ftp://ftp.debian.org stable/main Packages
Hit http://non-us.debian.org woody/non-US/non-free Release
Hit ftp://ftp.debian.org stable/main Release
Hit ftp://ftp.debian.org stable/non-free Packages
--------------------------------------------------------

--------------------------------------------------------
Gregory Guthrie
guthrie@mum.edu         (641)472-1125    Fax: -1103
--------------------------------------------------------



Reply to: