more cleanup

This commit is contained in:
2026-04-20 06:09:58 +02:00
parent 9b4494b4fd
commit 9b933bb58a
13 changed files with 26 additions and 49 deletions

View File

@@ -1,15 +1,12 @@
---
title: "apt"
tags: [ "distros" ]
title: "apt troubleshooting"
tags: [ "debian" ]
---
## apt
### Configurations?
Messed up a package's configuration files?
```sh
sudo apt-get purge [thing]
sudo apt-get purge ${package}
```
```sh
@@ -19,16 +16,16 @@ sudo apt autoremove
Check if you still have related things:
```sh
apt search [thing]
apt search ${package}
```
```sh
sudo apt-get install [ thing ]
sudo apt-get install ${package}
```
Still have problems?
```sh
sudo dpgk --force-confmiss -i /var/cache/apt/archives/[thing]
sudo dpgk --force-confmiss -i /var/cache/apt/archives/${package}
```