I've been pkg_delete'ing the old one and pkg_add'ing the new when I want to
swap between branches.
Using @pkgpath won't help for a correct upgrade path across multiple
versions, the best it will do is offer multiple choices, but IIRC for
nextcloud it has to be done major version by major version, you can't jump
over them. i.e. when an old version is removed, add @pkgpath to them new
version so that users of the old one get updated.
I agree a current.html entry might be a good idea.
--
Sent from a phone, apologies for poor formatting.
On 8 June 2023 15:32:16 Giovanni Bechis <giovanni@paclan.it> wrote:
> Hi,
> I have a Nextcloud 23.x instance running on OpenBSD 7.3.
> pkg_add(1) suggests to upgrade to 24.x and then to 25.x before next release.
>
> $ doas pkg_add -ui
> [...]
> --- +nextcloud-23.0.12p1 -------------------
> Nextcloud 23 is EOL upstream, it is advised to update your installation
> to 24 then to 25 to make sure you're on a supported branch by the time
> OpenBSD 7.4 is released.
> $ doas pkg_add -i nextcloud
> quirks-6.121 signed on 2023-06-08T09:49:46Z
> Ambiguous: choose package for nextcloud
> a 0: <None>
> 1: nextcloud-23.0.12p1
> 2: nextcloud-24.0.12
> 3: nextcloud-25.0.6
> Your choice: 2
> Can't install nextcloud-24.0.12 because of conflicts (nextcloud-23.0.12p1)
> --- nextcloud-24.0.12 -------------------
> Can't install nextcloud-24.0.12: conflicts
> Couldn't install nextcloud-24.0.12
>
> How should a user upgrade (some info on current.html are needed imho) ?
> Can't we add pkgpath entries in order to correctly upgrade between
> nextcloud versions ?
>
> Cheers
> Giovanni
>
> -------------------------------------------------------------------------------------------------
>
> OpenBSD 7.3 (GENERIC) #655: Fri Mar 17 19:16:28 MDT 2023
> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> real mem = 536363008 (511MB)
> avail mem = 509448192 (485MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 20/80/26, BIOS32 rev. 0 @ 0xfac40
> pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0xa800
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class)
> 500 MHz, 05-0a-02
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
> mtrr: K6-family MTRR support (2 registers)
> amdmsr0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> 0:20:0: io address conflict 0x6100/0x100
> 0:20:0: io address conflict 0x6200/0x200
> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31
> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
> vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
> address 00:00:24:c8:de:80
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
> address 00:00:24:c8:de:81
> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
> address 00:00:24:c8:de:82
> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
> address 00:00:24:c8:de:83
> ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit
> 3579545Hz timer, watchdog, gpio, i2c
> gpio0 at glxpcib0: 32 pins
> iic0 at glxpcib0
> pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
> wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <ST500LM030-2E717D>
> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version
> 1.0, legacy support
> ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00
> addr 1
> isa0 at glxpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbc0: unable to establish interrupt for irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
> gpio1 at nsclpcsio0: 29 pins
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00
> addr 1
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd0a (5527fdd6d670763b.a) swap on wd0b dump on wd0b
No comments:
Post a Comment