View previous topic :: View next topic |
Author |
Message |
noff Guru
Joined: 11 Nov 2002 Posts: 388 Location: College Park, Maryland
|
Posted: Thu Jan 02, 2003 12:42 am Post subject: Exporting your World for backup |
|
|
Is there any way one could export their world file for and restore it later, so for an new install all I would have to do isand my system would be back to the way it is now. _________________ What Larry was saying is that if you make it too easy for programmers, then poor programmers will be able to do things best left to good programmers, and will inevitably do them poorly. Everyone will suffer in the long term as a result." - Tom Chance |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Thu Jan 02, 2003 11:57 am Post subject: |
|
|
hi,
the world file is under /var/cache/edb/world. you can manipulate it to your like.
to get a list of installed packages (without duplicates), type:
you can pipe the output to some file and save that file.
you need the gentoolkit ebuild installed to run the qpkg command.
i'm not sure how to handle duplicates, when restoring your system.
anyway i would recommend to emerge your packages with --buildpkg everytime you emerge new packages. Then you can save your .tbz2 files under /usr/portage/packages/All over a reinstall and you can do emerge --usepkg world to save some time compiling. |
|
Back to top |
|
|
noff Guru
Joined: 11 Nov 2002 Posts: 388 Location: College Park, Maryland
|
Posted: Fri Jan 31, 2003 7:29 pm Post subject: |
|
|
Is there anyway to get the exact version of the package without greping or something? The difference between xfree4.2.1-r2 and xfree-4.2.1-r3 _________________ What Larry was saying is that if you make it too easy for programmers, then poor programmers will be able to do things best left to good programmers, and will inevitably do them poorly. Everyone will suffer in the long term as a result." - Tom Chance |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 8:15 pm Post subject: |
|
|
noff, does "qpkg -I -nc -v" do what you want? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|