There have been a number of upgrade failure reports, and most of them seem

to stem from external dependencies not getting updated. (Here, external
dependencies are ports which do NOT depend upon glib20.) I'm suspecting that
the cause of this is inconsistent package databases. Inconsistent pkgdbs will
cause portupgrade(1) to silently fail, but portinstall and pkg_delete will
still work just fine. (I really wish gnu had agreed to make pkgdb(1) return
meaningful error codes -- or any error codes at all!)

So, instead of running pkgdb -F, we're now running pkgdb -fu. This will
hopefully rebuild the entire database from scratch, and leave us with a
consistent database every time. And just in case, we follow it with a
pkgdb -F for good measure.

Additionally, I've changed the script's version number to be a bit more
legible, and thus a bit more meaningful.

Also, there is now a -v option which prints some basic version/revision
information.

I'd like to thank Alexandre Vasconcelos's horribly inconsistent package
database for inspiring the pkgdb change ;;)
This commit is contained in:
Adam Weinberger 2005-03-15 22:28:11 +00:00
parent ed56a0d22c
commit 8d67096409
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=24105

View file

Internal server error - The gay git

500

Internal server error

Forgejo version: 9.0.3

@ -34,13 +34,14 @@