add syntax highlight

tengel 2024-09-05 07:56:30 -05:00
parent 74057d5c97
commit d34b1dde6e

@ -6,7 +6,7 @@
Before upgrading, upgrade and repair existing problems: Before upgrading, upgrade and repair existing problems:
```console ```bash
apt-get update apt-get update
apt-get upgrade apt-get upgrade
apt-get full-upgrade apt-get full-upgrade
@ -41,7 +41,7 @@ Notes:
- keep existing configs as desired - keep existing configs as desired
- let GRUB re-install to the boot disk - let GRUB re-install to the boot disk
```console ```bash
apt-get update apt-get update
apt-get upgrade --without-new-pkgs apt-get upgrade --without-new-pkgs
apt-get full-upgrade apt-get full-upgrade
@ -61,7 +61,7 @@ This setting must be disabled prior to reboot or the `iwlwifi` module will fail
## Reboot ## Reboot
```console ```bash
reboot reboot
``` ```
@ -69,7 +69,7 @@ reboot
Look for strays, "rc" tends to mean it can be purged (was to be removed, failed): Look for strays, "rc" tends to mean it can be purged (was to be removed, failed):
```console ```bash
apt-get autoremove --purge apt-get autoremove --purge
dpkg -l | grep -v ^ii dpkg -l | grep -v ^ii
... ...
@ -80,7 +80,7 @@ apt-get purge python
Look for installed packages not in the repo anymore: Look for installed packages not in the repo anymore:
```console ```bash
aptitude search "?installed?not(?narrow(?installed,?origin(^Debian$)?archive(^stable)))" aptitude search "?installed?not(?narrow(?installed,?origin(^Debian$)?archive(^stable)))"
i A cpp-10 - GNU C preprocessor i A cpp-10 - GNU C preprocessor
@ -101,7 +101,7 @@ i A linux-image-5.10.0-26-amd64 - Linux 5.10 for 64-bit PCs (signed)
Remove the packages which are safe and their unnecessary dependencies: Remove the packages which are safe and their unnecessary dependencies:
```console ```bash
apt-get remove --autoremove --purge cpp-10 gcc-10 gcc-10-base \ apt-get remove --autoremove --purge cpp-10 gcc-10 gcc-10-base \
gcc-9-base libbpf0 libdns-export1110 libffi7 libgcc-10-dev \ gcc-9-base libbpf0 libdns-export1110 libffi7 libgcc-10-dev \
libisc-export1105 libprocps8 libruby2.7 libsepol1 libssl1.1 \ libisc-export1105 libprocps8 libruby2.7 libsepol1 libssl1.1 \
@ -110,7 +110,7 @@ apt-get remove --autoremove --purge cpp-10 gcc-10 gcc-10-base \
Run a quick metadata clean on apt, it should show messages about deleting old index data, packages or other legacy data. Run a quick metadata clean on apt, it should show messages about deleting old index data, packages or other legacy data.
```console ```bash
apt-get autoclean apt-get autoclean
``` ```