Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:debian [2008/09/26 20:26] a |
linux:debian [2010/03/04 13:49] (current) a |
||
---|---|---|---|
Line 115: | Line 115: | ||
| | ||
| | ||
+ | |||
+ | |||
Line 158: | Line 160: | ||
# | # | ||
- | | + | ==== Some dpkg-hacks ==== |
- | \\ | + | |
- | dpkg-query -W --showformat=' | + | |
+ | | ||
+ | | ||
+ | dpkg --get-selections | awk '{ print $1; }'| tr " | ||
+ | **Sorting debian packages installed by size** | ||
+ | | ||
- | # | ||
- | / | + | == How to disable IPv6 in debian linux == |
- | net ipv-10 off | + | / |
- | net ipv6 off | + | net ipv-10 off\\ |
+ | net ipv6 off\\ | ||
===== Tips & troubleshooting ===== | ===== Tips & troubleshooting ===== | ||
Line 181: | Line 186: | ||
Delete the file ' | Delete the file ' | ||
+ | |||
+ | ==== Create a backup list of packages and resinstall ==== | ||
+ | |||
+ | sudo dpkg --get-selections > package_list.txt | ||
+ | |||
+ | Save the text file on a thumb drive, format the drive, reinstall Ubuntu/ | ||
+ | |||
+ | sudo dpkg --set-selections < package_list.txt | ||
+ | sudo apt-get -y update | ||
+ | sudo apt-get dselect-upgrade | ||