send-pr

Mark Felder feld at FreeBSD.org
Mon Oct 27 13:29:05 UTC 2014



On Sat, Oct 25, 2014, at 15:00, Paul Beard wrote:
> I would use send-pr for this but it doesn’t work because postfix doesn’t
> work because it doesn’t link against the right db libraries for the files
> on disk. I have tried re-hashing/re-mapping and it doesn’t seem to take.
> And I can’t install from source because of this. 
> 
> pkg-static:
> lstat(/usr/ports/mail/postfix/work/stage%%RESETPREFIX%%/share/doc/postfix/):
> No such file or directory
> 
> Kind of underwhelmed with pkgng when this kind of thing happens. I have
> another send-pr stuck in queue which is how I found this. 
> 
> If I wanted an uncooperative package management system, I could have
> stayed with Linux…
>

This sounds like a bdb issue.

https://wiki.freebsd.org/Ports/BerkeleyDBCleanup


20140821:
  AFFECTS: users of databases/db4, databases/db4[1-7]*
  AUTHOR: mandree at FreeBSD.org

  HEADS UP: for some applications that store their data in Berkeley DB
  databases, you may have to export the data before the upgrade and
  reload it afterwards.  Detailed instructions are at
  <https://wiki.freebsd.org/Ports/BerkeleyDBCleanup>.

  The older databases/db4* ports providing versions 4.0 to 4.7
  inclusively have been removed, and 4.8 has been deprecated.
  The default Berkeley DB version is now 5.3.
  (6.x has a different license, but will be eligible as default on
  systems that build ports from source and have db6 installed.)
    All enabled and working ports have been changed such that they use
  Berkeley DB 4.8 or newer, and an -exp run has been made.

  After you have performed the first steps from the Wiki documentation,
  and have arrived at a step that reads "build all applications", then
  type as privileged user and without the hash sign:

  # Tools/scripts/BDB-upgrade-helper.sh

  The helper script requires that ports-mgmt/portmaster or
  .../portupgrade is installed, will try to upgrade your applications
  with either of these tools (portmaster preferred), and if that
  succeeds,
  it will attempt to delete the packages if confirmed interactively.


More information about the freebsd-pkg mailing list