NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/55748: Default amd64 sysupgrade configuration doesn't work

>Number:         55748
>Category:       bin
>Synopsis:       Default amd64 sysupgrade configuration doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 23 17:15:00 +0000 2020
>Originator:     Bruce Lilly
>Release:        9.0 amd64
NetBSD 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 amd64 x86_64 Intel 686-class NetBSD

The default configuration file shipped with the binary "sysupgrade" package for amd64 has the "ARCHIVE_EXTENSION" line in /usr/pkg/etc/sysupgrade.conf commented out, therefore expecting the default ".tgz" extension for set files.  That doesn't work for amd64, where the sets (for 9.1) use ".tar.xz":

# sysupgrade auto
sysupgrade: I: Starting auto-update with stages: fetch modules kernel sets etcupdate postinstall clean
sysupgrade: I: Downloading into /var/cache/sysupgrade
ftp: Error retrieving file `404 Not Found'
sysupgrade: E: Failed to fetch

See above.
Manual work-around: uncomment the ARCHIVE_EXTENSION line in /usr/pkg/etc/sysupgrade.conf

Ideally, the binary packages for each architecture should include an appropriate configuration file for that architecture.

Home | Main Index | Thread Index | Old Index