Editing Package management
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
It is good to know how to manage packages, because uninstalled ones can leave configuration files behind and there are also many pre-installed packages which you might not need. | It is good to know how to manage packages, because uninstalled ones can leave configuration files behind and there are also many pre-installed packages which you might not need. | ||
+ | |||
+ | |||
+ | =Warning= | ||
+ | |||
+ | The usual warnings apply. You are performing administrating tasks on your device with root account and you can brick your device. If you don't know what are you typing into the terminal, then it is probably for the best if you don't do it at all! | ||
Line 22: | Line 25: | ||
dpkg -P package | dpkg -P package | ||
- | If you are unsure, you can check which files were left by a certain package with | + | If you are unsure, you can check which files were left by a certain package with command: |
dpkg -L package | dpkg -L package | ||
Line 30: | Line 33: | ||
- | + | 1. dpkg - warning: while removing ''package'', directory `''/path/dir''' not empty so not removed. | |
It is ok if you manually delete those dirs/files if you know that they belong to the purged package (for example: don't delete /etc). | It is ok if you manually delete those dirs/files if you know that they belong to the purged package (for example: don't delete /etc). | ||
- | + | 2. dpkg: error processing package (--purge): | |
An error occured while removing/purging the package, again resolve it manually. | An error occured while removing/purging the package, again resolve it manually. | ||
Line 67: | Line 70: | ||
apt-get clean | apt-get clean | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
[[Category:Software]] | [[Category:Software]] | ||
[[Category:Power users]] | [[Category:Power users]] |
Learn more about Contributing to the wiki.