Re: dpkg database rebuild

2005-09-15 Thread Derek Broughton
Matej Cepl wrote: > Derek Broughton wrote: >> aptitude install `cat installed.txt` >> >> Nice, Matej. I think I'll just cron that command on a weekly basis. > > ??? What is it good for to run this in cron? Sorry, I didn't mean I'd cron the install, but your command to get the list of packages.

Re: dpkg database rebuild

2005-09-14 Thread Matej Cepl
Derek Broughton wrote: > aptitude install `cat installed.txt` > > Nice, Matej. I think I'll just cron that command on a weekly basis. ??? What is it good for to run this in cron? Matej -- Matej Cepl, http://www.ceplovi.cz/matej/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 8

Re: dpkg database rebuild

2005-09-14 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MJD wrote: > This souldn't be a problem. I installed two different distributions on one > lvm VG. However, after you copy back the data, you will need to recreate > your initrd file because it needs to discover the lvm setup, and correctly > set it up

Re: dpkg database rebuild

2005-09-14 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Kimball wrote: > And BTW, what does this have to do with laptops? :-) Thanks for all your reply. I'm willing to switch to LVM because AFAIK it can do resizing of Logical Volumes. I own a 30 GB HDD and therefore, with the help of LVM, will be a

Re: dpkg database rebuild

2005-09-14 Thread Derek Broughton
Brian Kimball wrote: > Derek Broughton wrote: >> Brian Kimball wrote: >> > Ritesh Raj Sarraf wrote: >> >> If I copy the whole filesystem to another hard drive and rebuild >> >> the dpkg database, will it work ? Will dpkg be able to understand >> >> all the packages installed ? ... >> > Totally unn

Re: dpkg database rebuild

2005-09-13 Thread MJD
2) I doubt if LVM and VG creation happens without the OS on the HDD. Themetadata is stored on the partition table or is part of the OS ? Can someone who has experience with LVM confirm this ?If it was plain HDD to HDD migration, it would have been very trivial. This souldn't be a problem.  I instal

Re: dpkg database rebuild

2005-09-13 Thread Brian Kimball
Ritesh Raj Sarraf wrote: > Now, questions: > 1) I use udev, so do I need to backup and restore dev ? Sort of. This was my one "gotcha" the first time I did this. While you're still booted into your rescue disc or knoppix or whatever, make sure you run at least "MAKEDEV std" and "MAKEDEV conso

Re: dpkg database rebuild

2005-09-13 Thread Brian Kimball
Derek Broughton wrote: > Brian Kimball wrote: > > Ritesh Raj Sarraf wrote: > >> If I copy the whole filesystem to another hard drive and rebuild > >> the dpkg database, will it work ? Will dpkg be able to understand > >> all the packages installed ? > > > > Yes, and you don't have to rebuild anythi

Re: dpkg database rebuild

2005-09-13 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Georgeson wrote: > "Derek Broughton" <[EMAIL PROTECTED]> writes: >> Brian Kimball wrote: >>> Yes, and you don't have to rebuild anything. Forget all that discussion >>> about dpkg --get-selections and --set-selections. Totally unnecessary. >> I

Re: dpkg database rebuild

2005-09-13 Thread Iain Georgeson
"Derek Broughton" <[EMAIL PROTECTED]> writes: > Brian Kimball wrote: >> Yes, and you don't have to rebuild anything. Forget all that discussion >> about dpkg --get-selections and --set-selections. Totally unnecessary. > It _is_ totally unnecessary if he just has a single file system. What > happ

Re: dpkg database rebuild

2005-09-13 Thread Derek Broughton
Matej Cepl wrote: > Derek Broughton wrote: >> Cute, but why is it "preferred"? The dpkg method (which I've used) is >> pretty simple. > > Cause aptitude keeps what was installed just to satisfy dependencies. > Ah! Good point. Since I used the dpkg method to install packages I'd used on Debian

Re: dpkg database rebuild

2005-09-13 Thread Derek Broughton
> Matej Cepl wrote: > >> Ritesh Raj Sarraf wrote: >>> If I copy the whole filesystem to another hard drive and rebuild the >>> dpkg database, will it work ? Will dpkg be able to understand all the >>> packages installed ? >> >> What about >> >> dpkg --get-selections >> dpkg --set-selections >>

Re: dpkg database rebuild

2005-09-13 Thread Derek Broughton
Brian Kimball wrote: > Ritesh Raj Sarraf wrote: > >> If I copy the whole filesystem to another hard drive and rebuild the >> dpkg database, will it work ? Will dpkg be able to understand all the >> packages installed ? > > Yes, and you don't have to rebuild anything. Forget all that discussion

Re: dpkg database rebuild

2005-09-12 Thread Brian Kimball
Ritesh Raj Sarraf wrote: > If I copy the whole filesystem to another hard drive and rebuild the > dpkg database, will it work ? Will dpkg be able to understand all the > packages installed ? Yes, and you don't have to rebuild anything. Forget all that discussion about dpkg --get-selections and

Re: dpkg database rebuild

2005-09-12 Thread Matej Cepl
Derek Broughton wrote: > Cute, but why is it "preferred"? The dpkg method (which I've used) is > pretty simple. Cause aptitude keeps what was installed just to satisfy dependencies. Matej -- Matej Cepl, http://www.ceplovi.cz/matej/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964

Re: dpkg database rebuild

2005-09-12 Thread Derek Broughton
Matej Cepl wrote: > Ritesh Raj Sarraf wrote: >> If I copy the whole filesystem to another hard drive and rebuild the dpkg >> database, will it work ? Will dpkg be able to understand all the packages >> installed ? > > What about > > dpkg --get-selections > dpkg --set-selections > > RTFM, dpkg(1

Re: dpkg database rebuild

2005-09-12 Thread Matej Cepl
Ritesh Raj Sarraf wrote: > If I copy the whole filesystem to another hard drive and rebuild the dpkg > database, will it work ? Will dpkg be able to understand all the packages > installed ? What about dpkg --get-selections dpkg --set-selections RTFM, dpkg(1) Or you can use (which is my preferr

dpkg database rebuild

2005-09-11 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello People, If I copy the whole filesystem to another hard drive and rebuild the dpkg database, will it work ? Will dpkg be able to understand all the packages installed ? Regards, rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.co