Cannot open file (/home/u0059333506/public_html/wordpress/wp-content/backup/.htaccess)Cannot write to file (/home/u0059333506/public_html/wordpress/wp-content/backup/.htaccess) aptitude « Hanno’s Coding Log

Posts Tagged ‘aptitude’

Keeping packages on Ubuntu fresh install

I am about to test migrating my Ubuntu installation to 64bit. I’ll test compatibility with my used applications first in a VM.

For that I installed Ubuntu 8.10 64bit Desktop edition into the VM. Since I don’t want to manually reinstall all packages by hand, I came up with the following aptitude / dpkg commands after reading a few other instructions:

On the source system, execute:

sudo aptitude search '~i !~M' -F '%p install' > packages-list

This will generate a list of all manually installed packages in packages-list. (All packages not installed as a dependency of another package.)

On the destination system execute:

sudo dpkg --set-selections < packages-list
sudo apt-get update && sudo apt-get dselect-upgrade

This will install all the packages from the list. (and apt will take care of resolving dependencies)

That’s it. If you have already used a different method and want to fix things, read on:
More »

Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: