Old server (code from other post, output saved to file): aptitude search '~i !~M' -F '%p' -disable-columns | sort -u > currently-installed.list Here's an example using the code from the referenced post, along with modifications to install on the new server. For a VPS or cloud server, your provider may make the images available or you might need to contact them. You'll find something like "ubuntu-12.04.4-desktop-amd64+mac.manifest" that matches your architecture.įor server versions you'll need to obtain the manifest file from the ISO that was used to install the original system. To obtain the manifest file for desktop versions of 12.04 and newer, visit this site, choose your release, and scroll down below the CD images to the files section. There's a great explanation on Unix StackExchange that describes how to use aptitude to list packages not installed as dependencies, and how to compare that list with the list of default packages for your Ubuntu release. │ └── maarten-baert_ubuntu_simplescreenrecorder.gpg~ │ ├── maarten-baert_ubuntu_simplescreenrecorder.gpg │ │ ├── maarten-baert-ubuntu-simplescreenrecorder-vivid.list │ │ ├── anton_-ubuntu-dnscrypt-vivid.list It makes a simple gzipped tar file which can be easily edited and reviewed before restoring on the other machines. Restore to newer release: sudo apt-clone restore-new-distro path-to/ $(lsb_release -sc) Restore backup sudo apt-clone restore path-to/ Make backup sudo apt-clone clone path-to/apt-clone-state-ubuntu-$(lsb_release -sr)-$(date +%F).tar.gz It allows to repack locally installed DEB files.It keeps track of what packages were automatically installed.It preserves all repositories information.It is much better than the dpkg -get-selections solution because: It can also save/restore no longer downloadable packages using dpkg-repack.ĪPT-Clone is used by ubiquity (Ubuntu installer) for upgrade process.It will save/restore the packages, sources.list, keyring and.This package can be used to clone/restore the packages on a apt based system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |