Re: question for sources.list

From: roberto (roberto03_at_gmail.com)
Date: 09/06/05

  • Next message: Scott Schreiber: "Newsgroups for Debian"
    Date: Tue, 6 Sep 2005 12:47:18 +0200
    To: debian-user@lists.debian.org
    
    

    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

    -- 
    roberto
    debian sarge, kernel 2.6.8
    

  • Next message: Scott Schreiber: "Newsgroups for Debian"

    Relevant Pages

    • Re: Reinstalling Packages after Rebuilding System with Etch
      ... W: Couldn't stat source package list http://non-us.debian.org etch/non-US/main P ... deb http://security.debian.org/ etch/updates main ... deb http://non-us.debian.org/debian-non-US etch/non-US main contrib non-free ...
      (Debian-User)
    • Re: How to install package from mentors.debian.net ?
      ... deb http://mentors.debian.net/debian/ unstable main contrib non-free ... W: Couldn't stat source package list http://mentors.debian.net ... unstable/main Packages ...
      (Debian-User)
    • Re: Reinstalling Packages after Rebuilding System with Etch
      ... I tried the upgrade route first and it went about as painlessly ... W: Couldn't stat source package list http://non-us.debian.org etch/non-US/main P ... deb http://security.debian.org/ etch/updates main ...
      (Debian-User)
    • Re: Media player
      ... Couldn't stat source package list ... I would try replacing etch with stable/testing/unstable, ... mirrors near me to function, nor can I get anything with "testing". ... deb http://debian-multimedia.dfoell.org/ testing main binary-i386 ...
      (Debian-User)
    • Data for stable vs. sarge
      ... Here are the data for stable vs. sarge after I changed "stable" to ... deb http://debian.uchicago.edu/debian/ sarge main ... W: Couldn't stat source package list http://ftp.debian.org sarge/main ...
      (Debian-User)