Re: Accident: deleted installed.db

2003-12-08 Thread fergus
> cd /etc/setup > echo "INSTALLED.DB 2" > installed.db > ls *.lst.gz | sed -e 's/^\(.*\)\.lst\.gz$/\1 \1-0.tar.bz2 0/' >> installed.db Thank you. This worked and saved a lot of effort. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

Re: Accident: deleted installed.db

2003-12-07 Thread Max Bowsher
Robert Collins wrote: > On Mon, 2003-12-08 at 04:37, [EMAIL PROTECTED] wrote: >> I really really don't want to have to start again ... >> Thanks. Fergus > > Restore it from a backup. Yeah, stupendously helpful answer, Robert! :-) Anyway, Fergus, assuming /etc/setup/*.lst.gz are still intact, you

Re: Accident: deleted installed.db

2003-12-07 Thread Robert Collins
On Mon, 2003-12-08 at 04:37, [EMAIL PROTECTED] wrote: > I really really don't want to have to start again ... > Thanks. Fergus Restore it from a backup. Rob -- GPG key available at: . signature.asc Description: This is a digitally signed message part

Accident: deleted installed.db

2003-12-07 Thread fergus
No clear idea how it happened other than thoughtless fiddling, but I have deleted the file /etc/setup/installed.db. This was for an incomplete system tailored to size and specific requirements, so it would be a real pain to have to recreate it from scratch. Instead, can I recover installed.db? I've