apache24 package broken in 10.3?

maxnix maxnix.bsd at gmail.com
Wed Apr 6 16:48:31 UTC 2016


Il giorno Wed, 6 Apr 2016 16:58:33 +0200
Nagy László Zsolt <gandalf at shopzeus.com> ha scritto:

> # uname -a
> FreeBSD examplebox 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri
> Mar 25 02:10:02 UTC 2016    
> root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> # pkg update
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> # pkg install apache24
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> The following 5 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
>         apache24: 2.4.18
>         expat: 2.1.0_3
>         apr: 1.5.2.1.5.4
>         gdbm: 1.11_2
>         db5: 5.3.28_3
> 
> The process will require 75 MiB more space.
> 16 MiB to be downloaded.
> 
> Proceed with this action? [y/N]: y
> Fetching apache24-2.4.18.txz: 100%    4 MiB 481.5kB/s    00:08
> pkg: cached package apache24-2.4.18: size mismatch, fetching from
> remote Fetching apache24-2.4.18.txz: 100%    4 MiB 385.2kB/s    00:10
> pkg: cached package apache24-2.4.18: size mismatch, cannot continue
> #
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

I updated Apache yesterday, and had no problems. The errors you see
could be caused (in my experience) by a damaged packgesite (or meta,
don't remember well).

Try cleaning pkg's cache with:
pkg clan -ay
and then force the update of the repository:
pkg update -f
HTH

Maxnix


More information about the freebsd-questions mailing list