Skip navigation.
Home
Now Shipping Version 8.0

Failure to update apt


Posts: 4

My apt needs updated before I can get anything else. But the failure to get a file: (repeatedly)

Failed to fetch ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian/dists/unstable/main/binary-i386/Packages.gz Unable to fetch file, server said '/pub/linux/devel/lang/java/blackdown.org/debian/dists/unstable/main/binary-i386/Packages.gz: No such file or directory '
Reading Package Lists... Done
W: Couldn't stat source package list ftp://metalab.unc.edu unstable/main Packages (/var/lib/apt/lists/metalab.unc.edu_pub_linux_devel_lang_java_blackdown.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

means everything else fails.

Is there a workaround for this ?

-aircarver

change the server

Hi,

The package you pointed to don't really exists. Try with a browser and you'll see.
Why don't you change the repository ?

Use synaptic to make the changes, do not edit the source.list file manually.

Try with ftp://ftp.us.debian.org instead of ftp://metalab.unc.edu

Alberto

Re: Failure to update apt

I think it's a java engine of some ilk-- I've never been able to get it to work either.
To make the errors go away, you have to edit the /etc/apt/sources.list file as root and change the following line:

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian unstable main non-free

Put a pound sign (#) in front of it and apt will stop trying to download from that repository.

I've done it on two boxes now and haven't had any problems. Does anybody out there know what this is for?

Ko Bros's picture

Re: Failure to update apt

WhiskerTheMad wrote:
I think it's a java engine of some ilk-- I've never been able to get it to work either.
To make the errors go away, you have to edit the /etc/apt/sources.list file as root and change the following line:

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian unstable main non-free

Put a pound sign (#) in front of it and apt will stop trying to download from that repository.

I've done it on two boxes now and haven't had any problems. Does anybody out there know what this is for?

Just remove the 'main' at the end in Kpackage/Synaptic, so it looks like this:

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian unstable non-free

Problem gone.

Regards, Ko

failure to update apt

You folks were correct, the addition of the # sign stopped the error message & broke the logjam. I made several successfull downloads afer fixing it.
Thanks all,

-aircarver

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.