Issues with postmaster after freebsd-update
Janky Jay, III
jankyj at unfs.us
Fri Feb 14 00:03:45 UTC 2014
Hello,
I've ran into a few of these same sort of issues in the paste.
What I did to fix it:
1) Migrate to pkgng. It looks like you already have based on the
ports-mgmt/pkg udpate. But, then I see your "pkg_install" error which
leads me to believe you haven't fully migrated. Just take a quick peek
at http://www.freebsd.org/doc/handbook/pkgng-intro.html and maybe try it
again.
2) Manually deinstall the problematic port. IE...:
# cd /usr/ports/graphics/py-clutter && make deinstall
I had to do this for a lot of ports that were "broken" on my system.
But, after some blood, sweat and tears, everything is back to normal.
Also, there still seem to be some underlying issues with the
/var/db/pkg directory still. For instance, I migrated to Dovecot2 many
moons ago and wiped out Dovecot1. However, dovecot-1.2.17 still remains
in my /var/db/pkg directory. *shrug* It's not causing any problems. It's
just confusing....
Regards,
Janky Jay, III
On 02/13/2014 04:39 PM, LuKreme wrote:
> I was running FreeBSD 8-2 and used freebsd-update to update:
>
> FreeBSD 8.4-RELEASE-p7 #0: Sat Jan 11 01:45:47 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>
> the next step I was given was to run
>
> portmaster -af
>
> This has been a freaking nightmare.
>
> I've managed to clear up some of the issues on my own (db41 is still installed, for example), but have no gotten to a point I can't seem tog et past:
>
> ===>>> The graphics/py-clutter port has been deleted: Has expired: Broken for more than 6 month
> ===>>> Aborting update
>
> ===>>> Killing background jobs
> Terminated
> Terminated
> Terminated
> Terminated
> ===>>> Exiting
>
> # portmaster -l | grep cutt
> pkg: not found
> # pkg2ng
> bash: pkg2ng: command not found
> # portmaster ports-mgmt/pkg
> [...]
> ===> Cleaning for pkg-1.2.6
> ===>>> Waiting on fetch & checksum for ports-mgmt/pkg <<<===
> /!\ WARNING /!\
> pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng
> http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/
> If you do not want to see this message again set NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf
>
> [...]
>
> /usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/libpkg/../external/sqlite/sqlite3.c:23598: error: 'posix_fallocate' undeclared here (not in a function)
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> ===> Compilation failed unexpectedly.
>
> At this point, I'm well and thoroughly stuck.
>
More information about the freebsd-ports
mailing list