ports/122988: Can't update apcupsd via ports

Angelo Dipierro suCrabu at gmail.com
Tue Apr 22 13:20:01 UTC 2008


>Number:         122988
>Category:       ports
>Synopsis:       Can't update apcupsd via ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 22 13:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Angelo Dipierro
>Release:        6.2 STABLE
>Organization:
>Environment:
FreeBSD $MY_HOSTNAME 6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Aug 14 15:02:06 CEST 2007     root@$MY_HOSTNAME:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
It's been a couple of weeks that pkg_version reports that there's an updated version of the apcupsd package. Trying to update I get an error complaining of a file-size and checksum mismatch for the "apcupsd.pdf" file.

Attached you'll find the output for both the "portupgrade apcupsd" and "cd /usr/ports/sysutils/apcupsd/;; make" commands.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

portupgrade output:

--->  Upgrading 'apcupsd-3.14.2_1' to 'apcupsd-3.14.3_1' (sysutils/apcupsd)
--->  Building '/usr/ports/sysutils/apcupsd'
===>  Cleaning for apcupsd-3.14.3_1
===>  Found saved configuration for apcupsd-3.14.3
===>  Extracting for apcupsd-3.14.3_1
=> MD5 Checksum OK for apcupsd-3.14.3.tar.gz.
=> SHA256 Checksum OK for apcupsd-3.14.3.tar.gz.
=> MD5 Checksum mismatch for apcupsd.pdf.
=> SHA256 Checksum mismatch for apcupsd.pdf.
===>  Refetch for 1 more times files: apcupsd.pdf apcupsd.pdf
===>  Found saved configuration for apcupsd-3.14.3
=> apcupsd.pdf doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://apcupsd.sourceforge.net/manual/.
fetch: http://apcupsd.sourceforge.net/manual/apcupsd.pdf: Requested Range Not Satisfiable
=> Attempting to fetch from http://T32.TecNik93.com/FreeBSD/ports/apcupsd/sources/.
fetch: http://T32.TecNik93.com/FreeBSD/ports/apcupsd/sources/apcupsd.pdf: Requested Range Not Satisfiable
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/apcupsd.pdf: size mismatch: expected 1074251, actual 1076458
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.28531.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=apcupsd-3.14.2_1 UPGRADE_PORT_VER=3.14.2_1 make


make output:

===>  Found saved configuration for apcupsd-3.14.3
===>  Extracting for apcupsd-3.14.3_1
=> MD5 Checksum OK for apcupsd-3.14.3.tar.gz.
=> SHA256 Checksum OK for apcupsd-3.14.3.tar.gz.
=> MD5 Checksum mismatch for apcupsd.pdf.
=> SHA256 Checksum mismatch for apcupsd.pdf.
===>  Refetch for 1 more times files: apcupsd.pdf apcupsd.pdf
===>  Found saved configuration for apcupsd-3.14.3
=> apcupsd.pdf doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://apcupsd.sourceforge.net/manual/.
fetch: http://apcupsd.sourceforge.net/manual/apcupsd.pdf: Requested Range Not Satisfiable
=> Attempting to fetch from http://T32.TecNik93.com/FreeBSD/ports/apcupsd/sources/.
fetch: http://T32.TecNik93.com/FreeBSD/ports/apcupsd/sources/apcupsd.pdf: Requested Range Not Satisfiable
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/apcupsd.pdf: size mismatch: expected 1074251, actual 1076458
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list