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

Re: question for sources.list



roberto wrote:

On 9/6/05, Frederic Dernbach <fredatwork@free.fr> wrote:
roberto a écrit :

On 9/2/05, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:


roberto wrote:


Hello, i was using sarge-testing for my laptop but now that sarge is
stable should i modify my sources.list substituting "testing" with
"stable"??

Here is my sources.list

# Official Debian mirror
deb http://ftp.it.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.it.debian.org/debian/ testing main non-free contrib
deb http://ftp.it.debian.org/debian-non-US/ testing/non-US main contrib non-free
deb-src http://ftp.it.debian.org/debian-non-US/ testing/non-US main
contrib non-free
deb http://ftp.it.debian.org/debian/ unstable main non-free contrib
deb http://ftp.it.debian.org/debian-non-US/ unstable/non-US main
contrib non-free
deb-src http://ftp.it.debian.org/debian/ unstable main contrib non-free
deb http://ftp.it.debian.org/debian/ ../project/experimental main
non-free contrib

<<< munch >>>


yes you need to put

deb http://ftp...../debian/ stable main...
deb-src http://,,,,/debian/ stable main ...

sources.list tells apt where to find the packages.

but you also need to edit /etc/apt/apt.conf
and change the

APT::DefaultRelease line to

APT::DefaultRelease "stable"; [or "sarge"]

this tells apt which release to use.



ok, thank you and i'll try to modify sources.list but i did not find
any /etc/apt/apt.conf only a directory /etc/apt/apt.conf.d/ with a
file "70debconf"




And do not forget to run 'apt-get update' once you have changed your
/etc/apt/sources.list file .

Fred

well i tried ~:#apt-get update

and after some correct download i got the following errors:
###############################################
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/main Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages)
- stat (2 Nosuch file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/contrib Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages)
- stat(2 No such file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/non-free Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/main Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages)
- stat (2 Nosuch file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/contrib Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages)
- stat(2 No such file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org
stable/non-US/non-free Packages
(/var/lib/apt/lists/ftp.it.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.
################################################

i think something is still wrong in sources.list which i attach here:
###############################################
# My sources.list file.

# Official Debian mirror
deb http://ftp.it.debian.org/debian/            stable main non-free contrib
deb-src http://ftp.it.debian.org/debian/        stable main non-free contrib
deb http://ftp.it.debian.org/debian-non-US/     stable/non-US main
contrib non-free
deb-src http://ftp.it.debian.org/debian-non-US/ stable/non-US main
contrib non-free
deb http://ftp.it.debian.org/debian/            stable main non-free contrib
deb http://ftp.it.debian.org/debian-non-US/     stable/non-US main
contrib non-free
deb-src http://ftp.it.debian.org/debian/        stable main contrib non-free
#deb http://ftp.it.debian.org/debian/ ../project/experimental main
non-free contrib

# Security updates
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free

# JDK
deb http://jopa.studentenweb.org/debian/ ./
deb-src http://jopa.studentenweb.org/debian/ ./

# DRI
deb http://people.debian.org/~daenzer/dri-trunk/ ./
deb-src http://people.debian.org/~daenzer/dri-trunk/ ./
################################################

:(
thank you

I don't know exactly what the issues are and what's happened with it, but this is in in #debian topic:

"NO MORE non-us /msg dpkg crypto in main"

And as the ones failing are the non-us ones...

Cheers, Oliver



Reply to: