Click to See Complete Forum and Search --> : Apt-get problems


pmrphs2002
06-16-2003, 08:41 AM
Try to update ..........

[root@localhost pete]# apt-get update
Get:1 ftp://ftp.sunet.se Mandrake/base/pkglist.cooker
Err ftp://ftp.sunet.se Mandrake/base/pkglist.cooker
Unable to fetch file, server said 'Failed to open file. '
Get:2 ftp://ftp.sunet.se Mandrake release.cooker
Ign ftp://ftp.sunet.se Mandrake release.cooker
Failed to fetch ftp://ftp.sunet.se/pub/Linux/distributions/mandrake-devel/i586/Mandrake/base/pkglist.cooker
Unable to fetch file, server said 'Failed to open file. '
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'ftp://ftp.sunet.se Mandrake/base/pkglist.cooker' (/var/lib/apt/lists/ftp.sunet.se_pub_Linux_distributions_mandrake-devel_i586_Mandrake_base_pkglist.cooker) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
E: Some index files failed to download, they have been ignored, or old ones used instead.

And install MPlayer......

apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'ftp://ftp.sunet.se Mandrake/base/pkglist.cooker' (/var/lib/apt/lists/ftp.sunet.se_pub_Linux_distributions_mandrake-devel_i586_Mandrake_base_pkglist.cooker) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
E: Couldn't find package mplayer

Yea.....so aparently the best option would to direct inqurires away from ftp.sunset.se ... soon as i figure out how to do that.....

Syntaxis
06-16-2003, 08:48 AM
Assuming it follows the model of the original apt, the config file where one lists the repositories that apt should check is stored at /etc/apt/sources.list. Just edit the appropriate line in this file with your favourite text editor.

trilarian
06-16-2003, 03:01 PM
As suggested above, check to make sure you have valid sites in sources file. Also if you haven't had problems before, and now get these errors, the server may be busy. Try it again, or write a script with a simple for loop with the apt-get update and apt-get mplayer inside the loop. Sometimes I can't update my machine b/c the server is busy, but come back 20 mins later and all is good.

pmrphs2002
06-16-2003, 10:36 PM
after checking the sunset server, the directories it looks for just plain dont exist... Theres no folder "Mandrake" so Id hit a wall everytime anyway ....

What sources do you guys use??

trilarian
06-17-2003, 12:38 AM
I run Debian, so all of my sources are for .deb files not .rpm. I never got apt-get to run on Mandrake....one of the many reasons I switched. Any mandrake users here, can you post your sources file to help?

bosox79
06-17-2003, 01:12 AM
pmrphs2002,

Why not use the native apt-get like tool for Mandrake urpmi? It functions very much the say way apt-get does and the PLF has alot of backported packages that mandrake does not supply. BTW urpmi is the CLI version of rpmdrake. check out http://plf.zarb.org/ for a good sources list & more info.

bosox

Syntaxis
06-17-2003, 09:17 AM
According to the official apt4rpm repository list at http://apt4rpm.sourceforge.net/repos.html:

A sources.list for Mandrake cooker can be found at ftp://ftp.uninett.no/pub/linux/apt/. Give that one a try. :)

pmrphs2002
06-17-2003, 12:36 PM
I used to be very happy with urpmi ..... but all my sources got replaced when i upgraded to 9.1 and i cant change what they gave me....its sad ;)