Use apt in Debian tips

This commit is contained in:
Wilfried OLLIVIER 2019-07-08 15:17:50 +02:00
parent 204c16e0cf
commit 4a65b641f8

View file

@ -7,9 +7,9 @@ Enure backups !
### Ensure everything is up to date
```shell
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt update
apt upgrade
apt dist-upgrade
```
### Check package db consistency
@ -54,14 +54,14 @@ find /etc/apt/sources.list.d/ -type f -exec sed -i s/stretch/buster/g {} \;
```shell
apt update
apt --list upgradable
apt list --upgradable
```
### Go
```shell
apt-get upgrade
apt-get dist-upgrade
apt upgrade
apt dist-upgrade
```
Enjoy !