Or howto setup a local debian repository with your own packages.
- Make a dir where you want your repository to come (mine is /home/vipie/debian)
- Make a subdir where you can place selfcompiled source and packages (mine is /home/vipie/tmp/debian-in)
- Make a subdir where you can place precompiled packages eg. kernels/opera... (mine is /home/vipie/tmp/debian-in/unstable)
- Make a config file (see below) in ~/.debarchiver.conf
This is my config file.
# This is a sample configuration file. $destdir = "/home/vipie/debian/dists"; $inputdir = "/home/vipie/tmp/debian-in"; # $copycmd = "cp -af"; # $movecmd = "mv"; # $rmcmd = "rm -f"; # $cinstall = "installed"; $distinputcriteria = "^.*\\.deb\$"; # This one is used for debarchives that matches above criteria. %distinputdirs = ( # stable => 'stable', unstable => 'unstable' ); # What distributions that should exist. # @distributions = ('stable', 'testing', 'unstable'); @distributions = ('unstable'); # Mapping of aliases. # %distmapping = # ( # stable => 'potato', # testing => 'woody', # unstable => 'sid' # ); # What architectures that should exist (automaticly created). # All and source will exist anyway. #@architectures = ('i386' , 'all'); @architectures = ('i386' ); # What sections that should exist. @sections = ('main' , 'non-free' ); .
I have a script that feeds the correct options to debarchiver.
#!/bin/sh debarchiver --addoverride --autoscanall
Make a crontab entry
# Run the archiver every hour. */5 * * * * debarchiver test -x /usr/bin/debarchiver && /usr/bin/debarchiver --autoscanall --addoverride
Add /etc/apt/sources.list lines
deb file:/home/vipie/debian/ unstable main non-free deb-src file:/home/vipie/debian/ unstable main non-free
If you have any difficulty, please mail me, if you have comment mail them too! (vipie AD ulyssis DOT org)