Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Jan 2018, 03:09
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
how-to restore your packages with dselect
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 1046
Location: Canada

PostPosted: 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
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1396
Location: GERMANY

PostPosted: Wed 09 Aug 2017, 09:13    Post subject:  

Hi labbe !
Did not know this existed ........good to know :
Thanks man !
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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.0287s ][ Queries: 11 (0.0057s) ][ GZIP on ]