Stressloses Ubuntu-Update

War ziemlich unspektakulär das Update auf Dapper Drake gestern. Da ich mehrere Maschinen im Haus aktualisieren musste, habe ich das erste Mal apt-proxy verwendet. Es läuft schon seit 5.10, hatte aber bei mir noch nie ein komplettes Upgrade mitgemacht. Ist sehr zu empfehlen, wenn man mehrere Ubuntu-Maschinen im LAN hat. Apt-Proxy läuft hier auf der Maschine mit den meisten installierten Paketen; die saugt sich das Update vom Netz in seinen Cache. Alle Maschinen holen sich die Updates dann vom Apt-Proxy übers (schnellere) LAN. Da das Apt-Proxy-HowTo im UbuntuUsers-Wiki noch nicht aktualisiert ist, hier die Apt-Proxy-Quellen fürs aktuelle Dapper Drake, die ich verwendet habe:

/etc/apt-proxy/apt-proxy-v2.conf

[ubuntu]
backends =
        http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages
        http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu
        http://www.ftp.uni-erlangen.de/pub/mirrors/ubuntu
        http://de.archive.ubuntu.com/ubuntu

[ubuntu-updates]
backends =
        http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu
        http://www.ftp.uni-erlangen.de/pub/mirrors/ubuntu
        http://de.archive.ubuntu.com/ubuntu

[ubuntu-security]
backends =
        http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu
        http://www.ftp.uni-erlangen.de/pub/mirrors/ubuntu
        http://security.ubuntu.com/ubuntu

[ubuntu-backports]
backends =
        http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu
        http://www.ftp.uni-erlangen.de/pub/mirrors/ubuntu
        http://de.archive.ubuntu.com/ubuntu
        http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu

/etc/apt/sources.list

### Apt-Proxy ###

deb http://[IP-des-apt-proxy]:9999/ubuntu dapper main restricted universe
deb http://[IP-des-apt-proxy]:9999/ubuntu-security dapper-security main restricted universe
deb http://j[IP-des-apt-proxy]:9999/ubuntu-updates dapper-updates main restricted universe
deb http://[IP-des-apt-proxy]:9999/ubuntu-backports dapper-backports main restricted universe
[IP-des-apt-proxy] mit der IP-Adresse des Rechners, auf dem der Apt-Proxy läuft, ersetzen.
Defined tags for this entry:

Comments

Display comments as (Linear | Threaded)
  1. No comments

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
BBCode format allowed
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA





 

 

das Ç - logo von Alp Uçkan