Date: Thu, 7 Apr 2016 07:58:34 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Recovering from X "upgrade" disaster - now what? Message-ID: <5706051A.9080703@FreeBSD.org> In-Reply-To: <alpine.BSF.2.20.1604062145580.285@wonkity.com> References: <slrnnfaung.1ae.varro@anukis.local> <slrnnfpbqq.2pc.varro@anukis.local> <alpine.BSF.2.20.1603302316240.22555@wonkity.com> <slrnngb0mg.1g4.varro@anukis.local> <alpine.BSF.2.20.1604062145580.285@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sv0HLMTxX4N3rLQRJeAgntrRVHDVWxTAW Content-Type: multipart/mixed; boundary="lfwghjLEeRFvpCijLPBrFbtB3VDcwaE4n" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <5706051A.9080703@FreeBSD.org> Subject: Re: Recovering from X "upgrade" disaster - now what? References: <slrnnfaung.1ae.varro@anukis.local> <slrnnfpbqq.2pc.varro@anukis.local> <alpine.BSF.2.20.1603302316240.22555@wonkity.com> <slrnngb0mg.1g4.varro@anukis.local> <alpine.BSF.2.20.1604062145580.285@wonkity.com> In-Reply-To: <alpine.BSF.2.20.1604062145580.285@wonkity.com> --lfwghjLEeRFvpCijLPBrFbtB3VDcwaE4n Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/04/2016 04:51, Warren Block wrote: > On Wed, 6 Apr 2016, Will Parsons wrote: >=20 >> Thank you for the suggestions, even if they failed to solve the >> problem. >> >> Happily, I have now got X working again, but to do so I had to restore= >> the entire contents of /usr/local from a backup I had made about 6 >> months ago. I think what this means is that my pkg database is out of= >> sync with the actual contents of /usr/local. What does this mean as >> far as further updating? I'd just as soon try to resolve the real >> problem, but am understandably reluctant to leave my system crippled >> again. >=20 > First, make a full backup of the system as it is. >=20 > The easy way to fix the package database is the same thing that might > resolve the problem. Reinstall all the packages, either as binaries or= > from ports. There is a procedure for ports at the end of the portmaste= r > man page. For packages, I want to say it would be 'pkg install -af', > but I have not tested it. How comprehensive was that 6-month old backup? If it also happened to include /var/backup then you should also have a dump of the pkg DB from the same time. Cheers, Matthew --lfwghjLEeRFvpCijLPBrFbtB3VDcwaE4n-- --sv0HLMTxX4N3rLQRJeAgntrRVHDVWxTAW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXBgUgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATWBEP/RrYX+UP9BjTOJ2VGTeYym8i DPwxuttY5cMQdZMWw62zYnIXk+axoyH0nRKcOiRJo5+R2ajuI2asLnA5KrunMSXJ ldVZmQns9fjJBT28j8iWD6Ui97FEVMH0HcG/9oZTyL83MbOoy6H3N7iP83ZVyk1e 0NR2lDV8T3MxNVUy/JHqjGVVqXw9WnfILlg8PidXgNYYd05uR2KVNPJOyJ/MB8Jc RnP8v3aiQUPdnIbfuN8U6Yj/SfC7xVdGoTMl8JYkT5WKpiKPM4I3lJ/6eydzpjwa k9GEtFePFg5/HTJuj9KmZQoG6dwWmLRx0KOQ7d9mAoP5fN+w9zKkQ2H/Ysu5qYgK t2daH1K8jGYfsvNJBsYaFAjnoVwcRuEdaNkG8PoHUeMtKDNCmQMZ5dAB7n7JZ+tQ 7AZgsJi6DmKQIgWxmEK/OYgmFYPgsoD/drqqFHONVazq8GF/EsNJVkqUOxkYKWvW QjKs84EZvMLaqzE8+E3Ofb6TkpT7oQ6rGPDkpPAV2XhFHaq6jst9F8Zoxgw88agJ OdGC9Mgmro1GqUhQZuzB4CJDO7xo5YxB7WGgU22RWtaMEfoX7a3OdyV1IoBL14If dq6I4qI64vaz5iKA7WS5ZqWNY0Pxqcog9g6YreWTIrM3T5mE2lB+d5Deff572mYQ ET+d4FIKUNz6XZ+ugFQB =3sXB -----END PGP SIGNATURE----- --sv0HLMTxX4N3rLQRJeAgntrRVHDVWxTAW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5706051A.9080703>