Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2017 16:04:15 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        FreeBSD <freebsd-ports@freebsd.org>, Carmel NY <carmel_ny@outlook.com>
Subject:   Re: Package database problems
Message-ID:  <077599c3e5aabd91f2c1a196bee1a44a@ultimatedns.net>
In-Reply-To: <BN6PR2001MB1730934C000B0B7CCAAB8659802E0@BN6PR2001MB1730.namprd20.prod.outlook.com>
References:  <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> <CA%2BtpaK2azVgx6yb98ySHFSr015Ngv5oMHT%2B29b_b_u6AbDL9EQ@mail.gmail.com> <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> <CAOjFWZ5CBOsSWDgrjLh8eeH4bYS_322ne6t=48cEQS7DYka4YA@mail.gmail.com> <D83DF3703BF1F6C62458B1C2@Pauls-MacBook-Pro.local>, <BN6PR2001MB1730934C000B0B7CCAAB8659802E0@BN6PR2001MB1730.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Nov 2017 21:26:33 +0000 Carmel NY <carmel_ny@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?077599c3e5aabd91f2c1a196bee1a44a>