In debian based systems once my system was set I'd do something like this to create a list of applications and be able to wipe-install base then reinstall my favorite apps and servers with one command.
Hi everybody!I usually run this script for updating and cleaning the system..What do you think about?
So you want to wipe your hard drive clean and reinstall a fresh Ubuntu copy. Before you do that, it might be wise to make a list of currently installed packages and reinstall them in a jiffy afterwards on the new OS:
sudo dpkg --get-selections > package_list.txt
Save the text file on a thumb drive, format the drive, reinstall Ubuntu, then to a
So I'm new with ubuntu and so far I just love it :) I am now thinking how to perform full system backup, so that all my system settings, all my programs and packages and everything I've tweaked so far (desktop environment, window manager, etc.) is recoverable.
I could use deja dup or any other backup origram to backup the /home folder.
I have long wished for the ability to install a Debian system specifying both the package list and the exact versions of the packages installed. dpkg --get-selections | ssh newhost dpkg --set-selections is useful but always chooses the latest version, and especially when using testing or unstable, it is sometimes necessary to temporarily downgrade a package from the latest version available.
I'm updating my notebook to 11.10 so that I can familiarize myself with some of the new features that have been introduced since 10.04 LTS.
Hi,
Code:
sudo dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge
gives me:
Code:
dpkg: requested operation requires superuser privilege
What am I doing wrong?
Thanks.
Whenever I type into the terminal the command:
sudo dpkg -r '/home/brentonhorne/Downloads/virtualbox.deb'
I receive the error:
dpkg: error: --remove needs a valid package name but '/home/brentonhorne/Downloads/virtualbox.deb' is not: illegal package name in specifier '/home/brentonhorne/Downloads/virtualbox.deb': must start with an alphanumeric character
Type dpkg --help for help about instal
On Ubuntu 12.04, I'm trying to use dpkg-set-selections to automagically configure postfix on deployed machines with the following:
debconf-set-selections <<EOF
postfix postfix/main_mailer_type select Satellite system
postfix postfix/root_address string admin@mydomain.org
postfix postfix/mailname string mydomain.org
postfix postfix/relayhost string gw.mydomain.internal
postfix postfix/desti