Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
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:
First, make sure you can ping that IP address. I'm assuming that's a server on your local network. Remove the Ubuntu sources since Ubuntu's packages are not compatible with Debian.
<VirtualHost *:80>
ServerAdmin anurag@anuragpatil.com
ServerName 172.16.0.124
ServerAlias 172.16.0.124
DocumentRoot /var/www
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.html
AllowOverride None
Order allow, deny
allow from all
</Directory>
# Hide the conf/ directory for all repositories
<Directory "/var/www/*/conf">
Order allow,deny
Deny from all
Satisfy all
</Directory>
# Hide the db/ directory for all repositories
<Directory "/var/www/*/db">
Order allow,deny
Deny from all
Satisfy all
</Directory>
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
LogLevel warn
</VirtualHost>
Index of /debian
Name Last modified Size Description
Parent Directory -
conf/ 21-Aug-2012 15:36 -
db/ 21-Aug-2012 15:17 -
dists/ 21-Aug-2012 13:27 -
pool/ 21-Aug-2012 13:27 -
Apache/2.2.14 (Ubuntu) Server at 172.16.0.124 Port 80
However when I enter apt-get update the packages from my repository are not downloaded to /var/cache/apt/archives/. Am I missing something?
Have you looked at the official page yet? http://mirrorer.alioth.debian.org/
Everything seams old so you may want consider apt-catcher or apt-catcher-ng.
Package: apt-cacher
State: not installed
Version: 1.6.12
Priority: optional
Section: net
Maintainer: Mark Hindley <mark@hindley.org.uk>
Uncompressed Size: 315 k
Depends: perl, libwww-curl-perl (>= 4.00), libwww-perl, libdigest-sha1-perl, libfreezethaw-perl, ed, libio-compress-zlib-perl, libio-compress-bzip2-perl,
libio-interface-perl, libfilesys-diskspace-perl
Recommends: libberkeleydb-perl
Suggests: libio-socket-inet6-perl
Description: Caching proxy for Debian package and source files
Apt-cacher performs caching of .deb and source packages which have been downloaded by local users. It is most useful for local area networks with slow
internet uplink.
When a package is requested, the cache checks whether it already has the requested version, in which case it sends the package to the user immediately. If
not, it downloads the package while streaming it to the user at the same time. A local copy is then kept for use by other users.
Apt-cacher has been optimized for best utilization of network bandwidth and efficiency even on slow low-memory servers. Multiple ways of installation are
possible: as a stand-alone HTTP proxy, as a daemon executed by inetd or as a CGI program. Client machines are configured by changing APT's proxy
configuration or modification of access URLs in sources.list.
The package includes utilities to clean the cache (removing obsolete package files), generate usage reports and import existing package files. Experimental
features include a simple package checksum verification framework, optional IPv6 support and pre-fetching of new packages (upgrade candidates).
Apt-cacher can be used as a replacement for apt-proxy, with no need to modify client's /etc/apt/sources.list files (and even reusing its config and cached
data), or as an alternative to approx.
I use apt-mirror and that works fine for Squeeze but Apt has changed in Wheezy and you will need to write you own scripts to fetch the Translation files.
This does appear like you are putting the cart before the horse. You are trying to build a repository with very little/no understanding of how apt works.