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:
-
{{danger}}
 
-
 
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 the command:
+
If you are unsure, you can check which files were left by a certain package with command:
  dpkg -L package
  dpkg -L package
Line 73: Line 76:
-
=Perform package maintenance=
+
=Perform a package maintenance=
 +
 
 +
Don't just blindly follow these instructions if you don't know what you're doing. They're more of a guidance...
 +
 
 +
 
 +
1. Refresh the repositories (''apt-get update'' in command line).
 +
 
 +
2. Update applications (''apt-get upgrade'' in command line).
 +
 
 +
3. Empty local cache with ''apt-get clean''.
 +
 
 +
4. Remove unneeded dependencies with ''apt-get autoremove''.
-
Do not just blindly follow these instructions if you do not know what you are doing. They are more like guidance...
+
5. List all packages that are not in "normal" (ii ) state with dpkg (script is above).
 +
6. Purge them (''dpkg -P package'').
-
# Refresh the repositories (''apt-get update'' in command line).
+
7. Check if they were any errors from purging and resolve them.
-
# Update applications (''apt-get upgrade'' in command line).
+
-
# Empty local cache with ''apt-get clean''.
+
-
# Remove unneeded dependencies with ''apt-get autoremove''.
+
-
# List all packages that are not in "normal" (ii ) state with dpkg (script is above).
+
-
# Purge them (''dpkg -P package'').
+
-
# Check if they were any errors from purging and resolve them.
+
[[Category:Software]]
[[Category:Software]]
[[Category:Power users]]
[[Category:Power users]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: