DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th November 2018
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default Is there an update of sysupgrade available?

The 9er branch uses tar.xz suffixes instead of tgz. You can easily patch the shell script sysupgrade to handle this but is there an updated version available?
Pkgsrc.se list only version 1.5nb3.
__________________
NetBSD 8.99.25(AMD64)@Xiaomi Air 1.Gen
Reply With Quote
  #2   (View Single Post)  
Old 14th November 2018
Sehnsucht94's Avatar
Sehnsucht94 Sehnsucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
 
Join Date: Oct 2017
Location: Rome
Posts: 169
Default

Unfortunately not, jmmv hasn't updated the script yet. A issue was created on gihtub, but no PR committed; personally I don't use sysupgrade, but if you do, you can consider submitting a PR yourself, remembering to cover both legacy and new compression format with a if statement, depending on uname -r. I look forward to things like basepkg (new, currently available in pkgsrc/wip) getting upstreamed, even against syspkg project which I can figure has been stagnating for quite some time already
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„
Reply With Quote
  #3   (View Single Post)  
Old 20th September 2019
Sehnsucht94's Avatar
Sehnsucht94 Sehnsucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
 
Join Date: Oct 2017
Location: Rome
Posts: 169
Default

I recently found out that sysupgrade already supports .xz as an alternative archive extension, once just needs to specify it inside /usr/pkg/etc/sysupgrade.conf; from sysupgrade.conf(5) man page:
Code:
The following configuration variables are recognized: 
...
  ARCHIVE_EXTENSION
           Archive file extension of the sets. Can be either ‘tgz’ or ‘tar.xz’. 
           Default: tgz
Adjusting the variable in the configuration file like below:
Code:
# Archive file extension of the sets. For now it can be either 'tgz' or # 'tar.xz'.
  ARCHIVE_EXTENSION=tar.xz
...results in the sets being correctly fetched again
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sysupgrade fails on evbarm7hf (rasperry pi 2) milestone NetBSD Installation and Upgrading 10 26th April 2020 04:50 PM
Update via CVS paulr NetBSD Installation and Upgrading 15 4th July 2017 11:06 AM
Apache HTTP Server update fixes remote DoS issue - Update J65nko News 0 12th May 2011 07:21 PM
Cannot update with CVS guitarscn OpenBSD Installation and Upgrading 3 7th September 2009 11:12 PM
Update from 6.1 to 6.3 did nothing? alanthing FreeBSD Installation and Upgrading 4 8th June 2008 02:28 PM


All times are GMT. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick