Differences between revisions 2 and 3
Revision 2 as of 2010-10-23 11:39:57
Size: 1032
Comment: added link to it translation + fixes
Revision 3 as of 2013-02-17 10:57:56
Size: 1092
Comment: Add link to french translation
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/DebianRepository/HowTo/TrivialRepository|Italiano]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/DebianRepository/HowTo/TrivialRepository|Français]] - [[it/DebianRepository/HowTo/TrivialRepository|Italiano]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||

Translation(s): English - Français - Italiano

(!) ?Discussion


How to setup a trivial archive

The "trivial archive" lacks support for apt-pinning and modern secure APT due to the collision of 2 types of Release files. (e.g., old "Debian Reference (sarge)" and "APT HOWTO (sarge)")

You need dpkg-scanpackages which is in dpkg-dev.

Add this line to /etc/apt/sources.list

  deb file:/path/to directory ./

Create a directory for the deb files. (For example /root/deb)

export REPO=/root/deb
mkdir $REPO

Then every time you put new files in the directory, you'll have to scan the directory and update aptitude.

cp *.deb $REPO
cd $REPO
dpkg-scanpackages . | gzip > Packages.gz
aptitude update

Then you can install the package.