LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 03-31-2008, 08:14 PM   #1
mamadu.bwana
Member
 
Registered: Sep 2007
Posts: 31

Rep: Reputation: 15
Can I use APT to install a list of applications


Hi,

Here is what happened: I had a hard disk failing with more and more bad sectors appearing and freezing the system. Still, I managed to backup my source list and I can still access the drive from another machine.

Here is what I would like to do:

I would like to copy the list of all the applications installed on the old drive to my new machine (which just has a basic Ubuntu install) and then tell apt "install all the applications I had on my old drive to new machine" thus avoiding reinstalling them one by one.

Is there a place where all the installed aps are listed and is there a way for me to use that list to have everything I had reinstalled?

Can I do that and, if yes, how?

Many thanks,

Mamadu
 
Old 03-31-2008, 08:58 PM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
Synaptic has an option to save markings as a file and to read markings. It also can create a script to install a set of packages.

I'd choose the installed packages, mark for reinstallation and then try making a script to perform the installation.

If you try the markings route I expect you'll have to manually transfer your repos over.

YMMV, attempting to test this hung synaptic for me with 100% CPU use ...
 
Old 03-31-2008, 10:17 PM   #3
mamadu.bwana
Member
 
Registered: Sep 2007
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pbhj View Post
Synaptic has an option to save markings as a file and to read markings. It also can create a script to install a set of packages.

I'd choose the installed packages, mark for reinstallation and then try making a script to perform the installation.

If you try the markings route I expect you'll have to manually transfer your repos over.

YMMV, attempting to test this hung synaptic for me with 100% CPU use ...
ok, but how do I get my Synaptic to "read" from the packages on the old disk (which is connected via USB to my new system)? how do I "choose and mark" applications from my old disk?!


and will Synaptic not get confused between the applications I have already installed on my new system and those I would "choose and mark"?

Sorry, but I am really confused here..
 
Old 04-01-2008, 05:41 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
See post #6 on this thread: http://www.linuxquestions.org/questi...debian-542460/
 
Old 04-01-2008, 12:16 PM   #5
mamadu.bwana
Member
 
Registered: Sep 2007
Posts: 31

Original Poster
Rep: Reputation: 15
thanks, that answers my question!
 
  


Reply

Tags
application, apt, list


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"apt-get install" gives me a really long error list when I try to install xsane tengun Linux - Software 1 11-18-2007 05:54 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 02:57 PM
List of installed applications kumarnarain Linux - Software 2 08-14-2006 11:40 AM
List running applications 3saul Linux - Software 2 02-15-2006 02:30 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM


All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration