Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cms:repository [2018/10/30 12:54] Andrey Tataranovichcms:repository [2022/08/16 08:20] Andrey Tataranovich
Line 1: Line 1:
 ====== Debian/Ubuntu packages ====== ====== Debian/Ubuntu packages ======
  
-Repository is signed with PGP key 0x836CC41976FB442E, fingerprint: 4A49 2741 9308 3320 450B 7E4D 836C C419 76FB 442E. To install packages from it you need to choose your distribution version and execute following commands+Repository is signed with PGP key 0x776F2A248D76B064, fingerprint: F6DE 7A3E D638 7B13 0F55  E6FF 776F 2A24 8D76 B064. To install packages from it you need to choose your distribution version and execute following commands
  
 <HTML> <HTML>
Line 18: Line 18:
 function repoUpdateVersion() { function repoUpdateVersion() {
     versions = {     versions = {
-        'debian': ['Jessie', 'Stretch', 'Buster', 'Sid'], +        'debian': ['Bullseye', 'Buster', 'Sid'], 
-        'ubuntu': ['Trusty', 'Xenial', 'Bionic', 'Cosmic']+        'ubuntu': ['Jammy', 'Focal', 'Bionic', 'Xenial', 'Trusty']
     }     }
     dist = document.getElementById('distribution');     dist = document.getElementById('distribution');
Line 36: Line 36:
 function repoUpdateGuide() { function repoUpdateGuide() {
     sources = {     sources = {
-        'debian-jessie': 'deb http://www.tataranovich.com/debian jessie main backports', +        'debian-buster': 'deb http://www.tataranovich.com/debian buster main backports', 
-        'debian-stretch': 'deb http://www.tataranovich.com/debian stretch main backports', +        'debian-bullseye': 'deb http://www.tataranovich.com/debian bullseye main backports',
-        'debian-buster': 'deb http://www.tataranovich.com/debian buster main',+
         'debian-sid': 'deb http://www.tataranovich.com/debian sid main',         'debian-sid': 'deb http://www.tataranovich.com/debian sid main',
         'ubuntu-trusty': 'deb http://www.tataranovich.com/ubuntu trusty main',         'ubuntu-trusty': 'deb http://www.tataranovich.com/ubuntu trusty main',
         'ubuntu-xenial': 'deb http://www.tataranovich.com/ubuntu xenial main',         'ubuntu-xenial': 'deb http://www.tataranovich.com/ubuntu xenial main',
         'ubuntu-bionic': 'deb http://www.tataranovich.com/ubuntu bionic main',         'ubuntu-bionic': 'deb http://www.tataranovich.com/ubuntu bionic main',
-        'ubuntu-cosmic': 'deb http://www.tataranovich.com/ubuntu cosmic main'+        'ubuntu-focal': 'deb http://www.tataranovich.com/ubuntu focal main'
 +        'ubuntu-jammy': 'deb http://www.tataranovich.com/ubuntu jammy main', 
 +    } 
 +    keyring = { 
 +        'debian-buster': 'curl -fsSL https://www.tataranovich.com/debian/gpg | sudo apt-key add -', 
 +        'debian-bullseye': 'sudo curl -fsSL https://www.tataranovich.com/debian/gpg -o /etc/apt/trusted.gpg.d/tataranovich.gpg', 
 +        'debian-sid': 'sudo curl -fsSL https://www.tataranovich.com/debian/gpg -o /etc/apt/trusted.gpg.d/tataranovich.gpg', 
 +        'ubuntu-trusty': 'curl -fsSL https://www.tataranovich.com/ubuntu/gpg | sudo apt-key add -', 
 +        'ubuntu-xenial': 'curl -fsSL https://www.tataranovich.com/ubuntu/gpg | sudo apt-key add -', 
 +        'ubuntu-bionic': 'curl -fsSL https://www.tataranovich.com/ubuntu/gpg | sudo apt-key add -', 
 +        'ubuntu-focal': 'curl -fsSL https://www.tataranovich.com/ubuntu/gpg | sudo apt-key add -', 
 +        'ubuntu-jammy': 'sudo curl -fsSL https://www.tataranovich.com/ubuntu/gpg -o /etc/apt/trusted.gpg.d/tataranovich.gpg',
     }     }
     dist = document.getElementById('distribution');     dist = document.getElementById('distribution');
Line 52: Line 62:
     key = distribution + '-' + version;     key = distribution + '-' + version;
     if (key in sources) {     if (key in sources) {
-        text = 'sudo apt-get install curl gnupg\n'; +        text = 'sudo apt-get install -y curl gnupg\n'; 
-        text = text + 'curl -fsSL http://www.tataranovich.com/debian/gpg | sudo apt-key add -\n'+        text = text + `${keyring[key]}\n`
-        text = text + `APT_SOURCE='${sources[key]}'\n`; +        text = text + `echo '${sources[key]}' | sudo tee /etc/apt/sources.list.d/tataranovich.list\n`;
-        text = text + 'echo $APT_SOURCE | sudo tee /etc/apt/sources.list.d/tataranovich.list\n';+
         text = text + 'sudo apt-get update';         text = text + 'sudo apt-get update';
         guide.textContent = text;         guide.textContent = text;
Line 77: Line 86:
  
 <noscript> <noscript>
-<p>Debian Jessie</p>+<p>Debian Buster</p>
 <pre> <pre>
-deb http://www.tataranovich.com/debian jessie main backports +deb http://www.tataranovich.com/debian buster main backports 
-deb-src http://www.tataranovich.com/debian jessie main backports+deb-src http://www.tataranovich.com/debian buster main backports
 </pre> </pre>
  
-<p>Debian Stretch</p>+<p>Debian Bullseye</p>
 <pre> <pre>
-deb http://www.tataranovich.com/debian stretch main backports +deb http://www.tataranovich.com/debian bullseye main backports 
-deb-src http://www.tataranovich.com/debian stretch main backports +deb-src http://www.tataranovich.com/debian bullseye main backports
-</pre> +
- +
-<p>Debian Buster</p> +
-<pre> +
-deb http://www.tataranovich.com/debian buster main +
-deb-src http://www.tataranovich.com/debian buster main+
 </pre> </pre>
  
Line 121: Line 124:
 </pre> </pre>
  
 +<p>Ubuntu Focal</p>
 +<pre>
 +deb http://www.tataranovich.com/ubuntu focal main
 +deb-src http://www.tataranovich.com/ubuntu focal main
 +</pre>
  
-<p>Ubuntu Cosmic</p>+<p>Ubuntu Jammy</p>
 <pre> <pre>
-deb http://www.tataranovich.com/ubuntu cosmic main +deb http://www.tataranovich.com/ubuntu jammy main 
-deb-src http://www.tataranovich.com/ubuntu cosmic main+deb-src http://www.tataranovich.com/ubuntu jammy main
 </pre> </pre>
 </noscript> </noscript>