Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Community Discussions > Other OS Talk > Distributions > Gentoo
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read


The Ubuntu Forums have grown tremendously over the years. While we regret that we are discontinuing our Other OS Talk category, this gives us an opportunity to help other Linux distributions grow by directing traffic to the websites of these distributions.

Here is a list of the official websites for the operating systems that used to have individual forums here. We hope you are able to find further assistance from there. And finally, if you haven't yet found what you are looking for, we suggest you look for information on the DistroWatch website or you might try the multi-distribution LinuxQuestions forum.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Gentoo
Discussions on Gentoo Linux.

 
 
Thread Tools Display Modes
Old April 30th, 2007   #1
garlik42
A Carafe of Ubuntu
 
garlik42's Avatar
 
Join Date: Aug 2006
Location: USA-CT
Beans: 88
Ubuntu Karmic Koala (testing)
Is there a "World" file in ubuntu ...

I find myself often rebuilding a system for different reasons (usually because I screwed something up ...) and on my gentoo boxes, if I want to take a "snapshot" of how the system was set up, I make a copy of /etc and a copy of the world file. /etc to give me how stuff is configured, and world so I know what I have installed.

My question, is: Is there a file somewhere on my ubuntu system, that has all the packages I have requested to be installed (not nesessarily dependancies) ? So if I want to take a systems configuration and copy it, it will be a bit easier.

Thanks.
garlik42 is offline  
Old April 30th, 2007   #2
jfinkels
Iced Almond Soy Ubuntu, No Foam
 
jfinkels's Avatar
 
Join Date: Nov 2006
Location: Medford, MA
Beans: 1,185
Ubuntu 9.04 Jaunty Jackalope
Re: Is there a "World" file in ubuntu ...

http://kmandla.wordpress.com/2007/04...sh-your-cache/

Of course, if you empty your cache sometime, these .deb files won't be there...
jfinkels is offline  
Old April 30th, 2007   #3
garlik42
A Carafe of Ubuntu
 
garlik42's Avatar
 
Join Date: Aug 2006
Location: USA-CT
Beans: 88
Ubuntu Karmic Koala (testing)
Re: Is there a "World" file in ubuntu ...

Thanks, I was aware of the cache, but I was looking for a listing of packages that were installed, that would not nesessarily depend on the cache, some of the systems I have don't have the space to keep all those package files, so I typically clean them out occasionally.
garlik42 is offline  
Old April 30th, 2007   #4
jfinkels
Iced Almond Soy Ubuntu, No Foam
 
jfinkels's Avatar
 
Join Date: Nov 2006
Location: Medford, MA
Beans: 1,185
Ubuntu 9.04 Jaunty Jackalope
Re: Is there a "World" file in ubuntu ...

Quote:
Originally Posted by garlik42 View Post
Thanks, I was aware of the cache, but I was looking for a listing of packages that were installed, that would not nesessarily depend on the cache, some of the systems I have don't have the space to keep all those package files, so I typically clean them out occasionally.
Yeah, I realized that after I posted. You could do this command:
Code:
sudo dpkg -l | cut -d " " -f 3
which lists all applications installed and "cut"s out just the names of each package. You can then insert that into a file I suppose...for example, a file named "installedpackages"...
Code:
sudo dpkg -l | cut -d " " -f 3 > installedpackages
jfinkels is offline  
Old April 30th, 2007   #5
garlik42
A Carafe of Ubuntu
 
garlik42's Avatar
 
Join Date: Aug 2006
Location: USA-CT
Beans: 88
Ubuntu Karmic Koala (testing)
Re: Is there a "World" file in ubuntu ...

That's the ticket!!

Thanks, looks like I need to become friends with this dpkg program, I guess it's similar to the gentoo-toolkit programs like qpkg qfile etc.

Thanks again.
garlik42 is offline  
Old January 19th, 2009   #6
funkyFlash
5 Cups of Ubuntu
 
Join Date: Sep 2007
Location: Minneapolis, MN
Beans: 21
Ubuntu 9.04 Jaunty Jackalope
Re: Is there a "World" file in ubuntu ...

It'd be nifty if I could take this a step further. Do you know where dpkg keeps this information? The manpage doesn't have a "files" section, so that rules that out.

Here's what I'm getting at: with gentoo, I can copy my world file from my old system to a fresh system, type something along the lines of "emerge world", then it will happily calculate deps, and emerge it's heart out until it has all of the packages that were installed on my old system. I'm looking for a similar solution, where I could just copy apt's record of installed packages from one system to another, do an "apt-get upgrade" or something, and it would pound away until all packages are installed.
__________________
Unix is user friendly. It's just picky about it's friends.
funkyFlash is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:19 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry