DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when I correct /etc/apt/sources.list and run aptitude, I get the following:
Code:
W: Couldn't stat source package list http://debian.savoirfairelinux.net etch/main Packages /var/lib/apt/lists/debian.savoirfairelinux.net_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
I guess I should first convert packages list from other site (I used gulus.usherbrooke.ca) or construct list of packages available on new site, but how ?
when I correct /etc/apt/sources.list and run aptitude, I get the following:
Code:
W: Couldn't stat source package list http://debian.savoirfairelinux.net etch/main Packages /var/lib/apt/lists/debian.savoirfairelinux.net_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
I guess I should first convert packages list from other site (I used gulus.usherbrooke.ca) or construct list of packages available on new site, but how ?
You need a line like this.
Code:
deb http://debian.savoirfairelinux.net/debian/ testing main
Changing the testing to whatever release you are running. If you are trying to find better mirrors than the crappy Canadian ones I would suggest adding this.
Code:
deb http://ftp2.de.debian.org/debian/ testing main contrib non-free
Which uses the German Debian mirrors which I have found max out my cable connection (600 k/sec) when downloading/installing packages.
Changing the testing to whatever release you are running.
Code:
deb http://ftp2.de.debian.org/debian/ testing main contrib non-free
it's ok for using 'testing' instead of 'etch', but what about
/var/lib/apt/lists which holds files with lists of packages (like gulus.usherbrooke.ca_debian_dists_etch_main_binary-i386_Packages) ? it seams that 'aptitude' (or 'apt') uses these files to keep tracks of packages from particular site. so what should i do when passing from gulus.usherbrooke.ca to debian.savoirfairelinux.net or ftp2.de.debian.org ? just modifying sources.list is not sufficient. i get the error
it's ok for using 'testing' instead of 'etch', but what about
/var/lib/apt/lists which holds files with lists of packages (like gulus.usherbrooke.ca_debian_dists_etch_main_binary-i386_Packages) ? it seams that 'aptitude' (or 'apt') uses these files to keep tracks of packages from particular site. so what should i do when passing from gulus.usherbrooke.ca to debian.savoirfairelinux.net or ftp2.de.debian.org ? just modifying sources.list is not sufficient. i get the error
Code:
W: Couldn't stat source package list
You can use either if using etch then when it is released as the new stable distro you will continue using the stable release if you use testing then when etch is released you will be using the testing branch. For the rest if you want to use a different mirror then you should remove the old lines that will not be needed you only need one mirror. Can you post your /etc/apt/sources.list?
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
# as suggested from LQ
deb http://ftp2.de.debian.org/debian/ testing main contrib non-free
# added as replacement for the original unaccessible site
#deb http://debian.savoirfairelinux.net/debian/ etch main
#deb-src http://debian.savoirfairelinux.net/debian/ etch main
# original unaccessible site
#deb http://gulus.usherbrooke.ca/debian/ etch main
#deb-src http://gulus.usherbrooke.ca/debian/ etch main
deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
# as suggested from LQ
deb http://ftp2.de.debian.org/debian/ testing main contrib non-free
# added as replacement for the original unaccessible site
#deb http://debian.savoirfairelinux.net/debian/ etch main
#deb-src http://debian.savoirfairelinux.net/debian/ etch main
# original unaccessible site
#deb http://gulus.usherbrooke.ca/debian/ etch main
#deb-src http://gulus.usherbrooke.ca/debian/ etch main
deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
Ok that looks right now use dselect update to update both the apt and dpkg databases then you should be able to install any packages you want.
BTW, for what possible reason some mirror site (gulus.usherbrooke.ca/debian in my case) might not respond ?
I'm not certain but I think that they do not dedicate the bandwidth required to be a Debian mirror. When I first started using Debian a few years ago I tried that mirror among others here in Canada and found them all to be pretty useless. BTW if you want the various multimedia apps/libraries that are not in the official Debian add this line to your sources.list.
Code:
## Various Multimedia Helper Apps Mplayer, Real, w32codecs, etc.. ##
deb http://debian-multimedia.org sid main
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.