MEPIS This forum is for the discussion of MEPIS Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-23-2007, 11:57 AM
|
#1
|
Member
Registered: Aug 2004
Distribution: Mepis
Posts: 70
Rep:
|
Saving Synaptic selections for clean install
Is there a method to save my current Synaptic choices (perhaps to a file) so I can have the same packages added/removed on my next Mepis clean installation?
This is not a backup/restore or a re-master question.
|
|
|
05-23-2007, 01:47 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
On Debian based machines I do the following.
To save your choices:
Code:
dpkg --get-selections >myselections.txt
To restore:
Code:
dpkg --set-selections <myselections.txt
dselect update
apt-get dselect-upgrade
Note that you can even transfer the file to a different machine to make identical installs. Although it doesn't take care of cloning config files, it will at least give you the same package set.
|
|
|
05-24-2007, 09:17 AM
|
#3
|
Member
Registered: Aug 2004
Distribution: Mepis
Posts: 70
Original Poster
Rep:
|
Thank you for the help pljvaldez.
|
|
|
05-24-2007, 12:59 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Quote:
Originally Posted by pljvaldez
Although it doesn't take care of cloning config files, it will at least give you the same package set.
|
Nor will it guarantee the same versions of the pkgs.
|
|
|
06-01-2007, 12:25 PM
|
#5
|
Member
Registered: Mar 2007
Location: canada
Distribution: SimplyMEPIS 6.5 final
Posts: 104
Rep:
|
Saving your downloads for the next install
Quote:
Originally Posted by fpd
Is there a method to save my current Synaptic choices (perhaps to a file) so I can have the same packages added/removed on my next Mepis clean installation?
This is not a backup/restore or a re-master question.
|
You may like my method. I just use k3b to copy all the debs that I have downloaded onto a cd. Then I use the cd to install all the debs in 'synaptic/edit/add cdrom' from the cd. You can find all of the debs that you have in /var/cache/apt/archives. That way is easiest I think.
|
|
|
06-01-2007, 07:29 PM
|
#6
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Also check out apt-cacher.
|
|
|
06-02-2007, 11:40 AM
|
#7
|
Member
Registered: Aug 2004
Distribution: Mepis
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by mepnoob2005
You may like my method. I just use k3b to copy all the debs that I have downloaded onto a cd. Then I use the cd to install all the debs in 'synaptic/edit/add cdrom' from the cd. You can find all of the debs that you have in /var/cache/apt/archives. That way is easiest I think.
|
Excellent idea. However; I neglected to save any downloads, and used apt-clean as well. The deb directory you mention is empty on my box. I will keep this in mind for my next full install.
|
|
|
06-03-2007, 08:25 AM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
A. What is wrong w/ post #2 for what you are trying to do?
B. Are you aware of dpgk -l? It will show a fairly comprehensive state of your system's packages. You can redirect it to a file or pipe it to a pager (e.g. less). If you use less, I suggest the following to be able to see all of the the info:
Code:
COLUMNS=160 dpgk -l | less -S#37
|
|
|
06-03-2007, 10:14 AM
|
#9
|
Member
Registered: Aug 2004
Distribution: Mepis
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by archtoad6
A. What is wrong w/ post #2 for what you are trying to do?
B. Are you aware of dpgk -l? It will show a fairly comprehensive state of your system's packages. You can redirect it to a file or pipe it to a pager (e.g. less). If you use less, I suggest the following to be able to see all of the the info:
Code:
COLUMNS=160 dpgk -l | less -S#37
|
A. Nothing is wrong. I have not installed a new version yet. I have the "--get-selections" data in a file, and updated it whenever I do any Synaptic update.
B. I like the output of the 'dpkg -l' - Can the data be used for the purpose of updating the list of apps I want when I do a new-version install?
|
|
|
06-05-2007, 10:30 AM
|
#10
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
I'm sure it could be, it just would need "massaging" into the correct format for the installer/pkg._mgr. you intend to use. One of the benefits I see is that the ver. info. is there, so pinning would be possible.
|
|
|
All times are GMT -5. The time now is 07:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|