.deb packages are not getting downloaded from my repository to /var/cache/apt/archives/

anurag's picture


I am a newbie. Please forgive for my mistake if any.

I have created a repository by using tool reprepro. I have added some packages to that repository. And i have added it to /etc/apt/sources.list file. However when I enter apt-get update the packages from my repository are not downloaded to /var/cache/apt/archives/. This is what I get at command:

Running /usr/bin/apt-get update
Ign lucid Release.gpg
Ign lucid/main Translation-en
Ign squeeze Release.gpg
Ign squeeze/main Translation-en
Hit lucid Release
Ign squeeze Release
Ign lucid/main Sources/DiffIndex
Ign lucid/main amd64 Packages/DiffIndex
Ign squeeze/main Sources
Ign squeeze/main amd64 Packages
Ign lucid/main Sources
Ign lucid/main amd64 Packages
Ign squeeze/main Sources
Ign squeeze/main amd64 Packages
Ign lucid/main Sources
Ign lucid/main amd64 Packages
Err squeeze/main Sources
  404  Not Found
Err squeeze/main amd64 Packages
  404  Not Found
Hit lucid/main Sources
Hit lucid/main amd64 Packages
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Hit http://ftp.us.debian.org squeeze Release
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://security.debian.org squeeze/updates Release
Hit http://ftp.us.debian.org squeeze/contrib Sources
Hit http://ftp.us.debian.org squeeze/main amd64 Packages
Hit http://ftp.us.debian.org squeeze/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
W: Failed to fetch  404  Not Found
W: Failed to fetch  404  Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.

Please help.



1's picture

It looks to me as it ignores pretty much everything from your repository. I am not an expert on this, but , if your repository contains exactly the same packages as the others in sources.list, perhaps some other is used? Did you try to specificaly target your repository when downloading packages?