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
>Organization:
>Environment:
NetBSD x555l.blilly.net 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 Intel 686-class NetBSD

>Description:
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 https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.1/amd64
sysupgrade: I: Starting auto-update with stages: fetch modules kernel sets etcupdate postinstall clean
sysupgrade: I: Downloading https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.1/amd64/binary/sets/base.tgz into /var/cache/sysupgrade
[...]
Requesting https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.1/amd64/binary/sets/base.tgz
ftp: Error retrieving file `404 Not Found'
sysupgrade: E: Failed to fetch https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.1/amd64/binary/sets/base.tgz

>How-To-Repeat:
See above.
>Fix:
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