Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:debian-repository [2013/05/23 13:16] – created Guillaume Mazoyerdoc:debian-repository [2023/08/25 16:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Debian Repository ======+====== Debian Repository (deprecated, not maintained) ======
  
-We provides a Debian repository with backports of some useful packages. It is hosted on **apt.glanet.org**. This repository provides packages only for Wheezy (Debian 7).+We provide a Debian repository with backports of some useful packages. It is hosted on **apt.glanet.org**. This repository provides packages for Wheezy (Debian 7) and Jessie (Debian 8).
  
 ===== Using the repository ===== ===== Using the repository =====
Line 8: Line 8:
 <code>wget -O - http://apt.glanet.org/apt-glanet.gpg.key | apt-key add -</code> <code>wget -O - http://apt.glanet.org/apt-glanet.gpg.key | apt-key add -</code>
  
-The following lines can be added to the **/etc/apt/sources.list** file or in any files in the **/etc/apt/sources.list.d** directory.+The following lines can be added to the **/etc/apt/sources.list** file or in any files in the **/etc/apt/sources.list.d** directory. Make sure to use the proper target according to your Debian version. 
 + 
 +For Debian 7 (aka Wheezy):
 <code>deb http://apt.glanet.org/debian wheezy-glanet main <code>deb http://apt.glanet.org/debian wheezy-glanet main
 deb-src http://apt.glanet.org/debian wheezy-glanet main</code> deb-src http://apt.glanet.org/debian wheezy-glanet main</code>
 +
 +For Debian 8 (aka Jessie):
 +<code>deb http://apt.glanet.org/debian jessie-glanet main
 +deb-src http://apt.glanet.org/debian jessie-glanet main</code>
  
 After modifying the list of repositories to use, APT needs to update the list of the packages (update action of the APT tool). After modifying the list of repositories to use, APT needs to update the list of the packages (update action of the APT tool).
Line 16: Line 22:
 ===== Installing and upgrading a package ===== ===== Installing and upgrading a package =====
  
-The repository uses the **wheezy-glanet** target to provide packages for Wheezy. With the default behavior of APT they will be ignored unless it is told to use the given target. For example, to install the Quagga package which is available in the repository, the following command must be used: +The repository uses specific targets to provide packages. With the default behavior of APT they will be ignored unless it is told to use the given target. For example, to install the ExaBGP package which is available in the repository, the following command must be used: 
-<code>apt-get -t wheezy-glanet install quagga</code>+<code>apt -t jessie-glanet install exabgp</code>
  
 It is also possible to upgrade the package if it is already installed with a similar command: It is also possible to upgrade the package if it is already installed with a similar command:
-<code>apt-get -t wheezy-glanet upgrade quagga</code>+<code>apt -t jessie-glanet upgrade exabgp</code>
  
 Note that you can also download the source for a given package with: Note that you can also download the source for a given package with:
-<code>apt-get -t wheezy-glanet source quagga</code>+<code>apt-get -t jessie-glanet source exabgp</code>