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/10/28 13:58] a |
linux:debian [2010/03/04 13:49] (current) a |
||
|---|---|---|---|
| Line 115: | Line 115: | ||
| | | ||
| | | ||
| + | |||
| Line 159: | Line 160: | ||
| # | # | ||
| - | | + | ==== Some dpkg-hacks ==== |
| - | \\ | + | |
| - | dpkg-query -W --showformat=' | + | |
| + | | ||
| + | | ||
| dpkg --get-selections | awk '{ print $1; }'| tr " | 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 ipv-10 off\\ |
| - | net ipv6 off | + | net ipv6 off\\ |
| ===== Tips & troubleshooting ===== | ===== Tips & troubleshooting ===== | ||
| Line 184: | 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 | ||

