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

anurag's picture

Forums: 

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 http://172.16.0.124 lucid Release.gpg
Ign http://172.16.0.124/ubuntu/ lucid/main Translation-en
Ign http://172.16.0.124 squeeze Release.gpg
Ign http://172.16.0.124/debian/ squeeze/main Translation-en
Hit http://172.16.0.124 lucid Release
Ign http://172.16.0.124 squeeze Release
Ign http://172.16.0.124 lucid/main Sources/DiffIndex
Ign http://172.16.0.124 lucid/main amd64 Packages/DiffIndex
Ign http://172.16.0.124 squeeze/main Sources
Ign http://172.16.0.124 squeeze/main amd64 Packages
Ign http://172.16.0.124 lucid/main Sources
Ign http://172.16.0.124 lucid/main amd64 Packages
Ign http://172.16.0.124 squeeze/main Sources
Ign http://172.16.0.124 squeeze/main amd64 Packages
Ign http://172.16.0.124 lucid/main Sources
Ign http://172.16.0.124 lucid/main amd64 Packages
Err http://172.16.0.124 squeeze/main Sources
  404  Not Found
Err http://172.16.0.124 squeeze/main amd64 Packages
  404  Not Found
Hit http://172.16.0.124 lucid/main Sources
Hit http://172.16.0.124 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 http://172.16.0.124/debian/dists/squeeze/main/source/Sources.gz  404  Not Found
W: Failed to fetch http://172.16.0.124/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.

Please help.

Thanks.

.

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?