Hello,
I made a BIG mistake, I removed /var/lib.
How can I reinstall it?
Hi Patrick,
How did you remove that directory? I think if you removed it via the GUI then it should still be in the wastebasket.
If you did rm -rf /var/lib/ then I am not sure you can bring it back!
Kind regards,
Tahir
On Mon, Mar 11, 2013 at 1:18 PM, Patrick Dupre < Patrick.Dupre@univ-littoral.fr> wrote:
Hello,
I made a BIG mistake, I removed /var/lib.
How can I reinstall it?
-- ==============================**==============================**========== Patrick DUPRÉ | | email: pdupre@kegtux.org Laboratoire de Physico-Chimie de l'Atmosphère Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ==============================**==============================**==========
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.**org/mailman/listinfo/usershttps://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On Mon, Mar 11, 2013 at 8:18 AM, Patrick Dupre Patrick.Dupre@univ-littoral.fr wrote:
Hello,
I made a BIG mistake, I removed /var/lib.
How can I reinstall it?
I don't think there is any fool proof way but it may be technically possible...
I'm thinking you would need, at a minimum, a list of all the packages you had installed that put files in /var/lib, then you would have to reinstall them, from a live CD or USB, etc, but set the root to your volume ( see yum --installroot ). You can try a chroot but with /var/lib being gone I'm not sure it would work.
Richard
Quoting lun, 11 mar 2013 Reindl Harald h.reindl@thelounge.net:
Am 11.03.2013 14:18, schrieb Patrick Dupre:
I made a BIG mistake, I removed /var/lib.
the machine is done
How can I reinstall it?
what do you imagine to "reinstall" no way - /var/lib contains as example the complete RPM-database
In the past it was possible to recover the database with: rpm --rebuilddb
Does it not work any more?
Thank.
On 03/11/2013 01:28 PM, Patrick Dupre wrote:
Quoting lun, 11 mar 2013 Reindl Harald h.reindl@thelounge.net:
Am 11.03.2013 14:18, schrieb Patrick Dupre:
I made a BIG mistake, I removed /var/lib.
the machine is done
How can I reinstall it?
what do you imagine to "reinstall" no way - /var/lib contains as example the complete RPM-database
In the past it was possible to recover the database with: rpm --rebuilddb
That just rebuilds indexes from package headers - it's never been able to recreate a completely missing RPMDB.
Regards, Bryn.
On Mon, Mar 11, 2013 at 2:28 PM, Patrick Dupre < Patrick.Dupre@univ-littoral.fr> wrote:
Quoting lun, 11 mar 2013 Reindl Harald h.reindl@thelounge.net:
Am 11.03.2013 14:18, schrieb Patrick Dupre:
I made a BIG mistake, I removed /var/lib.
the machine is done
How can I reinstall it?
what do you imagine to "reinstall" no way - /var/lib contains as example the complete RPM-database
In the past it was possible to recover the database with:
rpm --rebuilddb
Does it not work any more?
Thank.
As Reindl stated, your best (if not only) option is most likely a reinstall. Is there a compelling reason for you not to reinstall? Have you made extensive customizations to your installation? If not, just make a backup of your home folder and install a fresh copy.
-- ==============================**==============================**========== Patrick DUPRÉ | | email: pdupre@kegtux.org Laboratoire de Physico-Chimie de l'Atmosphère Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ==============================**==============================**==========
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.**org/mailman/listinfo/usershttps://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org