I messed up, removed /usr/X11R6/lib
Hi. Apart from the obvious answer to use the backup, is there any way to get it all back in /usr/X11R6/lib after you did a 'rm -fr' to many? I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped would pull back in all needed stuff. But, now X complains about some missing parts which I don't know where they come from. Anyone know how I can get it all back? The Errors: (EE) Failed to load module "bitmap" (module does not exist, 0) (EE) Failed to load module "pcidata" (module does not exist, 0) Where do I find them? /Andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I messed up, removed /usr/X11R6/lib
On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote: > > Hi. > > Apart from the obvious answer to use the backup, is there any way to get > it all back in /usr/X11R6/lib after you did a 'rm -fr' to many? > > I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped > would pull back in all needed stuff. But, now X complains about some > missing parts which I don't know where they come from. Anyone know how I > can get it all back? > > The Errors: > (EE) Failed to load module "bitmap" (module does not exist, 0) > (EE) Failed to load module "pcidata" (module does not exist, 0) > > Where do I find them? Those two come from the x11-server/XFree86-4-Server port, but there are *lots* of programs that install files under /usr/X11R6/lib - most programs that use X and install shared libraries put the libraries there, for example, so be prepared for more problems appearing. Restoring from backups sounds like a good idea. The other possibility is to reinstall all programs you have. Personally I would first get a list of all ports installed (using pkg_info(1), then delete all ports (using "pkg_delete '*'" and then install all wanted ports from scratch (after doing a "rm -fr /usr&X11R& /usr/local" to make sure no files were left.) This will take some time, so if you have good backups you should probably use them. It is of course not strictly necessary to reinstall all ports, just those who had files installed unser /usr/X11R6/lib, and you could probably get away by just doing a 'make reinstall' for each of them rather than deleting them first, but by deleting and installing all ports you minimize the risk for having problems with ports only having half of their files installed, or missing some port. -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I messed up, removed /usr/X11R6/lib
On Wed, 23 Jun 2004, Erik Trulsson wrote: > On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote: > > > > Hi. > > > > Apart from the obvious answer to use the backup, is there any way to get > > it all back in /usr/X11R6/lib after you did a 'rm -fr' to many? > > > > I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped > > would pull back in all needed stuff. But, now X complains about some > > missing parts which I don't know where they come from. Anyone know how I > > can get it all back? > > > > The Errors: > > (EE) Failed to load module "bitmap" (module does not exist, 0) > > (EE) Failed to load module "pcidata" (module does not exist, 0) > > > > Where do I find them? > > Those two come from the x11-server/XFree86-4-Server port, but there are > *lots* of programs that install files under /usr/X11R6/lib - most programs > that use X and install shared libraries put the libraries there, for > example, so be prepared for more problems appearing. Ok, XFree86-4-Server it was. X started working after I reinstalled that one. Thanks. I guess problems will appear later on, but at least X is working right now and KDE don't seem to be broken. Hopefully after a few cvsup's I will be back were I started. > Restoring from backups sounds like a good idea. The other possibility > is to reinstall all programs you have. The latter sounds triesome. I remember how long time it took to compile OpenOffice and all of KDE, even om my 1200MHz machine. I will seriously look at the idea of wiping my labsystem and use that disk for backups instead. /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I messed up, removed /usr/X11R6/lib
On Wed, Jun 23, 2004 at 11:39:22AM +0200, Andreas Davour wrote: > On Wed, 23 Jun 2004, Erik Trulsson wrote: > > > On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote: > > > > > > Hi. > > > > > > Apart from the obvious answer to use the backup, is there any way to get > > > it all back in /usr/X11R6/lib after you did a 'rm -fr' to many? > > > > > > I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped > > > would pull back in all needed stuff. But, now X complains about some > > > missing parts which I don't know where they come from. Anyone know how I > > > can get it all back? > > > > > > The Errors: > > > (EE) Failed to load module "bitmap" (module does not exist, 0) > > > (EE) Failed to load module "pcidata" (module does not exist, 0) > > > > > > Where do I find them? > > > > Those two come from the x11-server/XFree86-4-Server port, but there are > > *lots* of programs that install files under /usr/X11R6/lib - most programs > > that use X and install shared libraries put the libraries there, for > > example, so be prepared for more problems appearing. > > Ok, XFree86-4-Server it was. X started working after I reinstalled that > one. Thanks. I guess problems will appear later on, but at least X is > working right now and KDE don't seem to be broken. Hopefully after a few > cvsup's I will be back were I started. > > > Restoring from backups sounds like a good idea. The other possibility > > is to reinstall all programs you have. > > The latter sounds triesome. I remember how long time it took to compile > OpenOffice and all of KDE, even om my 1200MHz machine. Yeah, those are well-known for taking forever to compile. I think you might be in luck with KDE since that seems to put its files under /usr/local (while GNOME programs tend to put their files under /usr/X11R6). I don't know where OpenOffice installs to. > > I will seriously look at the idea of wiping my labsystem and use that disk > for backups instead. Backups are always a good idea. I really should start making backups myself. -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I messed up, removed /usr/X11R6/lib
On Wed, 23 Jun 2004 11:44:56 +0200 Erik Trulsson <[EMAIL PROTECTED]> wrote: > On Wed, Jun 23, 2004 at 11:39:22AM +0200, Andreas Davour wrote: > > On Wed, 23 Jun 2004, Erik Trulsson wrote: > > > > > On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote: > > > > > > > > Hi. > > > > > > > > Apart from the obvious answer to use the backup, is there any way > > > > to get it all back in /usr/X11R6/lib after you did a 'rm -fr' to > > > > many? > > > > > > > > I have reinstalled the /usr/ports/x11/XFree86-4 port which I had > > > > hoped would pull back in all needed stuff. But, now X complains > > > > about some missing parts which I don't know where they come from. > > > > Anyone know how I can get it all back? > > > > > > > > The Errors: > > > > (EE) Failed to load module "bitmap" (module does not exist, 0) > > > > (EE) Failed to load module "pcidata" (module does not exist, 0) > > > > > > > > Where do I find them? > > > > > > Those two come from the x11-server/XFree86-4-Server port, but there > > > are*lots* of programs that install files under /usr/X11R6/lib - most > > > programs that use X and install shared libraries put the libraries > > > there, for example, so be prepared for more problems appearing. > > > > Ok, XFree86-4-Server it was. X started working after I reinstalled that > > one. Thanks. I guess problems will appear later on, but at least X is > > working right now and KDE don't seem to be broken. Hopefully after a > > few cvsup's I will be back were I started. > > > > > Restoring from backups sounds like a good idea. The other > > > possibility is to reinstall all programs you have. > > > > The latter sounds triesome. I remember how long time it took to compile > > OpenOffice and all of KDE, even om my 1200MHz machine. > > Yeah, those are well-known for taking forever to compile. > I think you might be in luck with KDE since that seems to put its files > under /usr/local (while GNOME programs tend to put their files under > /usr/X11R6). I don't know where OpenOffice installs to. > just a tad off topic... whenever you're making those gargantuan ports, it is a good idea to also make a package (for occasions just like this) and keep it around until you update to the next version (and make another package). there is a tiny primer at http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html - [snip] % cd /usr/ports/www/lynx % make package % cd /usr/ports/mail/getmail % make package When you use make package, two things happen. One, a package is created and stored in a subdirectory of /usr/ports/packages. Second, the port is installed on the local machine, if it hasn't already been installed. If you don't want to keep the application installed on the machine acting as the package repository, simply type make deinstall once the package has been created. [snip] - hope this helps for next time. ;) > > > > I will seriously look at the idea of wiping my labsystem and use that > > disk for backups instead. > > Backups are always a good idea. I really should start making backups > myself. > > > -- > > Erik Trulsson > [EMAIL PROTECTED] > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I messed up, removed /usr/X11R6/lib
On Wed, 23 Jun 2004 [EMAIL PROTECTED] wrote: > > > The latter sounds triesome. I remember how long time it took to compile > > > OpenOffice and all of KDE, even om my 1200MHz machine. > > > > Yeah, those are well-known for taking forever to compile. > > I think you might be in luck with KDE since that seems to put its files > > under /usr/local (while GNOME programs tend to put their files under > > /usr/X11R6). I don't know where OpenOffice installs to. > > > > just a tad off topic... whenever you're making those gargantuan ports, it > is a good idea to also make a package (for occasions just like this) and > keep it around until you update to the next version (and make another > package). An excellent idea. /andreas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"