Package database problems

Chris H bsd-lists at bsdforge.com
Fri Nov 17 00:04:08 UTC 2017


On Thu, 16 Nov 2017 21:26:33 +0000 Carmel NY <carmel_ny at outlook.com> wrote

> On Thu, 16 Nov 2017 13:37:02 -0600, Paul Schmehl stated:
> 
> >Is there a way to force a port install regardless of conflicts?
> 
> This is untried. Using synth, you could create a file with a listing of all
> your installed ports, then run: synth force "your file" That should correct
> the problem. That should rebuild your system and correct any errors. Again, I
> have not tested it.
Or...
$ cd /path/to/problem/port

$ make

followed by

$ make -DFORCE_PKG_REGISTER install clean

I *love* synth. But I (like Carmel) can't guarantee synth.
But I can say that the method I just provided has saved my
bacon more times than I care to remember. :/

HTH, and good luck!

--Chris

P.S. If your any good with Structured Query Language, you
can simply make a copy of the DB, and edit the live one.
There are some DB GUI's in the ports tree that can also
help in that regard, that support sqlite3. I've also gone
that route.

> 
> -- 
> Carmel
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




More information about the freebsd-ports mailing list