lk/distros/debian/apt.md

35 lines
419 B
Markdown
Raw Permalink Normal View History

2022-01-16 18:20:39 +00:00
---
title: "apt"
tags: [ "Documentation", "distros" ]
---
2020-01-02 00:04:35 +00:00
## apt
### Configurations?
2022-01-22 18:57:34 +00:00
Messed up a package's configuration files?
2020-01-02 00:04:35 +00:00
```bash
sudo apt-get purge [thing]
```
2020-01-02 00:04:35 +00:00
```bash
sudo apt autoremove
```
2020-01-02 00:04:35 +00:00
Check if you still have related things:
```bash
apt search [thing]
```
2020-01-02 00:04:35 +00:00
```bash
sudo apt-get install [ thing ]
```
2020-01-02 00:04:35 +00:00
Still have problems?
```bash
sudo dpgk --force-confmiss -i /var/cache/apt/archives/[thing]
```
2020-01-02 00:04:35 +00:00