Comments on Setting Up An APT Repository With reprepro And nginx On Debian Wheezy
Setting Up An APT Repository With reprepro And nginx On Debian Wheezy This tutorial explains how to set up an apt repository with the tool reprepro and a Debian Wheezy system. The repository will be served by an nginx server.
3 Comment(s)
Comments
Habe das mal mit Debian Jessie probiert. reprepro funktionierte nur als Root und auf der Textkonsole. Vom KDE aus war nichts zu machen. Selbst ein su - half nicht. Es wurden zwar die Debs kopiert da wo sie hingehörten, aber das Signieren scheiterte. Es erschien noch nicht mal der Dialog zur Abfrage der Passphrase. Das andere Problem war da ich trotz eines AMD64 Systems einige i386 Pakete nutze . Mußte ich aus dem Grunde i386 amd64 als Architekturen eintragen. Ansonten beschwerte sich Aptitude wegen nicht auffindbarer i386 Packagedatei. Daraus resultierend wurde ein missgestalter Eintrag in der Sources.list angeckert. Was definitiv falsch war. Dann noch eine Anmerkung zu Nginx. Da meistens schon Apache installiert ist, macht Nginx nicht wirklich Sinn. Er läßt sich zwar installieren. Läuft dann aber nicht. Da beide Port 80 haben wollen. Und da Apache als erster gestartet wird , hat NGINX das Nachsehen. Da mir Apache zu aufwendeig war einzurichten, bin ich kurzerhand auf proftp ausgewichen.
You could use this instead (in Debian/Ubuntu) server IP: 192.168.1.102.
apt-get install apt-cacher-ng
Then just tell your clients to use this APT configuration in /etc/apt/apt.conf.d/
Ubuntu based conf /etc/apt/apt.conf.d/01proxy
Acquire::http::Proxy "http://192.168.1.102:3142";
Debian uses this instead /etc/apt/apt.conf.d/90httpproxy
Acquire::http { Proxy "http://[10.0.1.102]:3142"; };
Great guide. Please keep it, but it needs an update now that Debian and Ubuntu have stricter rules for keys. See:
https://wiki.ubuntu.com/SecurityTeam/GPGMigration
If you follow this guide without the above link, you will get a SHA1 key which will give a warning on "apt-get update" or the new "apt update" that the key is weak.