diff options
-rw-r--r-- | README.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..6dc0925 --- /dev/null +++ b/README.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | This script locates and installs the 'linux-image-amd64' meta-package | ||
2 | that corresponds to the booted kernel. | ||
3 | |||
4 | This should be done if the meta-package was upgraded to a version that | ||
5 | does not boot on the local machine. (E.g., because the bootloader | ||
6 | configuration cannot be updated.) | ||
7 | |||
8 | In that case, the unused kernel should be removed, and the meta-package | ||
9 | downgraded to match the kernel in use. But the matching meta-package | ||
10 | has probably been removed from the Debian archives, making this | ||
11 | impossible to do with a mere 'apt' command. | ||
12 | |||
13 | This script will: | ||
14 | |||
15 | 1) download the correct 'linux-image-amd64' deb from | ||
16 | snapshots.debian.org | ||
17 | |||
18 | 2) install it via dpkg | ||
19 | |||
20 | and then | ||
21 | |||
22 | 3) mark it 'held' via dpkg | ||
23 | |||
24 | to prevent accidental upgrades in the future. | ||
25 | |||
26 | We don't check the gpg signature of the deb, but rely on the https | ||
27 | connection to snapshots.debian.org. | ||