![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
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 |
|
|
#1 |
|
A Carafe of Ubuntu
![]() 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. |
|
|
|
|
#2 |
|
Iced Almond Soy Ubuntu, No Foam
![]() 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...
__________________
Ubuntuguide : Community documentation : psychocats tutorials : Restricted Formats : Root & Sudo |
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() 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.
|
|
|
|
|
#4 | |
|
Iced Almond Soy Ubuntu, No Foam
![]() Join Date: Nov 2006
Location: Medford, MA
Beans: 1,185
Ubuntu 9.04 Jaunty Jackalope
|
Re: Is there a "World" file in ubuntu ...
Quote:
Code:
sudo dpkg -l | cut -d " " -f 3 Code:
sudo dpkg -l | cut -d " " -f 3 > installedpackages
__________________
Ubuntuguide : Community documentation : psychocats tutorials : Restricted Formats : Root & Sudo |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() 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. |
|
|
|
|
#6 |
|
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. |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|