projects
/
mirror
/
dsa-wiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not install the linux-image-amd64 meta-package
[mirror/dsa-wiki.git]
/
input
/
howto
/
upgrade-to-buster.mdwn
diff --git
a/input/howto/upgrade-to-buster.mdwn
b/input/howto/upgrade-to-buster.mdwn
index
3ee6c00
..
5b58b41
100644
(file)
--- a/
input/howto/upgrade-to-buster.mdwn
+++ b/
input/howto/upgrade-to-buster.mdwn
@@
-9,6
+9,10
@@
upgrade stuff:
* answer question to libc6 "Restart services automaticaly" with "yes"
* say no to other other questions.
* answer question to libc6 "Restart services automaticaly" with "yes"
* say no to other other questions.
+first re-enable module loading, as new modules are needed to restart ferm (due to nftables):
+ sed -i "s#echo 1#echo 0#" /etc/rc.local &&
+ reboot < /dev/null
+
commands:
sed -i "s#stretch#buster#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
commands:
sed -i "s#stretch#buster#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
@@
-17,7
+21,7
@@
commands:
apt-get update &&
service samhain stop &&
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
apt-get update &&
service samhain stop &&
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
- apt-get install dpkg apt samhain
linux-image-amd64
&&
+ apt-get install dpkg apt samhain &&
service samhain stop &&
apt-get dist-upgrade &&
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
service samhain stop &&
apt-get dist-upgrade &&
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
@@
-32,10
+36,6
@@
commands:
dpkg --clear-avail &&
apt-get clean
dpkg --clear-avail &&
apt-get clean
-on amd64, install kernel:
-
- apt-get install linux-image-amd64
-
purge removed packages
dpkg --get-selections | awk '$2=="deinstall" {print $1}' &&
purge removed packages
dpkg --get-selections | awk '$2=="deinstall" {print $1}' &&