On 2024-11-25, Mark <markbsdmail2...@gmail.com> wrote: > Hello, under OpenBSD 7.6, I have Nextcloud installed. > > I installed the Nextcloud package via pkg_add, and then I upgraded it > on its Web admin interface up to 30.0.2.
for future reference, if you install something from packages, use package tools to update it. > I'd like to upgrade my php-8.2.25 package to 8.2.26 via pkg-add -u, > however nextcloud package claims; > > "Collision in nextcloud-29.0.8->29.0.9: the following files already exist > It seems to be a missing package registration > Repair ? [y/N/a]" > > I don't want to proceed, as this might corrupt my Nextcloud installation. > > How to make pkg_add -u process ignore the nextcloud package completely > and continue upgrading any other packages? (I'd recommend backing up first to be on the safe side, but you shouldn't need to restore it) at this point, probably your best bet is to do this: rm -r /var/db/pkg/nextcloud-29.0.8 to forcibly remove the package registration, leaving the installed files in /var/www/nextcloud alone. then run pkg_check and allow it to clean the extra reverse dependencies in php-XXX packages. and then pkg_add -u. then continue to use nextcloud's admin interface for nextcloud updates. -- Please keep replies on the mailing list.