Use apt in Debian tips
This commit is contained in:
parent
204c16e0cf
commit
4a65b641f8
1 changed files with 6 additions and 6 deletions
|
@ -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 !
|
||||
|
|
Loading…
Reference in a new issue