NetBSD-Users archive

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

Re: sysupgrade usage, expected file format



Hi, Please look at the bottom of sysupgrade.conf file :)

 #Archive file extension of the sets. For now it can be either 'tgz' or
# 'tar.xz'.
#ARCHIVE_EXTENSION=tar.xz



> Wiadomość napisana przez Riccardo Mottola <riccardo.mottola%libero.it@localhost> w dniu 07.11.2022, o godz. 18:19:
> 
> Hello,
> 
> while upgrading various systems to 9.3, I wanted to test also the sysupgrade option.
> But how is it supposed to work? Can I use the sysupgrade installed in 9.2 and use it?
> 
> On x86, I would have this version:
> sysupgrade-1.5nb10
> 
> However, if I try to use it this way:
> # sysupgrade auto http://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64
> 
> 
> it fails:
> sysupgrade: I: Starting auto-update with stages: fetch modules kernel sets etcupdate postinstall clean
> sysupgrade: I: Downloading http://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tgz into /var/cache/sysupgrade
> Trying [2a04:4e42:39::262]:80 ...
> ftp: Can't connect to `2a04:4e42:39::262:80': No route to host
> Trying 146.75.53.6:80 ...
> Requesting http://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tgz
> ftp: Error retrieving file `404 Not Found'
> sysupgrade: E: Failed to fetch http://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tgz
> 
> 
> Took me a while, but then I found it:
> http://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/
> 
> all files are .xz now, not tgz!
> 
> Riccardo


Home | Main Index | Thread Index | Old Index