The time now is Mon 23 Apr 2018, 05:54
All times are UTC - 4 |
Author |
Message |
labbe5
Joined: 13 Nov 2013 Posts: 1148 Location: Canada
|
Posted: Tue 08 Aug 2017, 14:17 Post subject:
how-to restore your packages with dselect Subject description: how-to for Dog users |
|
You may feel helpless when you want to install your prefered Dog OS on another desktop or laptop and you don't know how to install same selection of packages, manually adding each and every app you need on a basic install is taking a lot of time. Dog (Debian and Ubuntu) users have a tool to restore packages easily.
You need to apt install dselect, because you need it to restore your packages.
First, you create a list of all installed packages :
$ sudo dpkg --get-selections > /tmp/dpkglist.txt
Then, to restore packages, you use this package list on another laptop or desktop (same OS, same version of OS) :
copy your backed up dpkglist.txt file to your fresh system's /tmp directory again and execute the following:
$ sudo dpkg --set-selections < /tmp/dpkglist.txt
$ sudo apt-get -y update
$ sudo apt-get dselect-upgrade
Operation invalid. Deprecated. Look for Source 2 (February 5, 2017).
Source 1 : http://kvz.io/blog/2007/08/03/restore-packages-using-dselectupgrade/
Source 2 : https://www.cyberciti.biz/faq/how-to-list-all-installed-packages-debian-ubuntu/
Note :
dselect is deprecated,
Source 2 is up to date with its information. Keep in mind that both source OS and target OS must be the same OS, and same version of OS, the target being a basic install.
Aptik is worth investigating, but its needs a PPA.
Last edited by labbe5 on Wed 09 Aug 2017, 16:29; edited 1 time in total
|
Back to top
|
|
 |
backi
Joined: 27 Feb 2011 Posts: 1456 Location: GERMANY
|
Posted: Wed 09 Aug 2017, 09:13 Post subject:
|
|
Hi labbe !
Did not know this existed ........good to know :
Thanks man !
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.0256s ][ Queries: 12 (0.0042s) ][ GZIP on ] |