Malin Freeborn
ba8026e0c3
input examples are now given as ```bash input $ARG1 ``` While outputs use md's '> ' sign as a quote.
35 lines
419 B
Markdown
35 lines
419 B
Markdown
---
|
|
title: "apt"
|
|
tags: [ "Documentation", "distros" ]
|
|
---
|
|
## apt
|
|
|
|
### Configurations?
|
|
|
|
Messed up a package's configuration files?
|
|
|
|
```bash
|
|
sudo apt-get purge [thing]
|
|
```
|
|
|
|
```bash
|
|
sudo apt autoremove
|
|
```
|
|
|
|
Check if you still have related things:
|
|
|
|
```bash
|
|
apt search [thing]
|
|
```
|
|
|
|
```bash
|
|
sudo apt-get install [ thing ]
|
|
```
|
|
|
|
Still have problems?
|
|
|
|
```bash
|
|
sudo dpgk --force-confmiss -i /var/cache/apt/archives/[thing]
|
|
```
|
|
|