author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 17 Mar 2010 15:24:36 +0200 | |
changeset 347 | 8ae88e9dd05d |
parent 118 | 9c1fe682896e |
child 735 | 5c437e2d5fe1 |
permissions | -rw-r--r-- |
0 | 1 |
-*- outline -*- |
2 |
||
3 |
* Conf files. |
|
4 |
||
5 |
See man sources.list(5), apt.conf(5). |
|
6 |
||
7 |
/etc/apt/sources.list |
|
8 |
/etc/apt/apt.conf |
|
9 |
||
10 |
* Setup backport. |
|
11 |
||
12 |
Main backports archive you can find on www.backports.org. |
|
13 |
||
14 |
To get packeges gpg sign key: |
|
15 |
||
16 |
$ su |
|
17 |
... |
|
18 |
$ wget -O - http://backports.org/debian/archive.key | apt-key add - |
|
19 |
$ ^D |
|
20 |
||
21 |
Write where packeges places: |
|
22 |
||
23 |
$ cat /etc/apt/sources.list |
|
24 |
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15]/ etch contrib main |
|
25 |
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15]/ etch contrib main |
|
26 |
||
27 |
deb http://www.backports.org/debian/ etch-backports main contrib non-free |
|
28 |
||
118
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
29 |
* Getting new keys for packages. |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
30 |
|
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
31 |
$ sudo apt-get update |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
32 |
... |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
33 |
W: There is no public key available for the following key IDs: |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
34 |
9AA38DCD55BE302B |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
35 |
W: GPG error: http://http.us.debian.org etch Release: The following signatures |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
36 |
couldn't be verified because the public key is not available: NO_PUBKEY |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
37 |
9AA38DCD55BE302B |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
38 |
... |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
39 |
|
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
40 |
$ gpg --keyserver pgp.mit.edu --recv-key 9AA38DCD55BE302B \ |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
41 |
--keyserver-options http-proxy=http://user:pass@192.168.1.1:3128 |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
42 |
gpg: requesting key 55BE302B from hkp server pgp.mit.edu |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
43 |
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" imported |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
44 |
gpg: no ultimately trusted keys found |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
45 |
gpg: Total number processed: 1 |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
46 |
gpg: imported: 1 (RSA: 1) |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
47 |
|
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
48 |
$ gpg --export 9AA38DCD55BE302B | sudo apt-key add - |
9c1fe682896e
Getting new keys for packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
49 |
OK |