Koozali.org: home of the SME Server

Nextcloud update issue

Offline edb

  • *
  • 546
  • +0/-0
Nextcloud update issue
« on: March 01, 2019, 08:00:41 PM »
Software updater shows update available for Nextcloud but errors on installing the newer update and removing older one.

Resolving Dependencies
--> Running transaction check
---> Package nextcloud.noarch 0:13.0.1-4.el6.sme will be updated
---> Package nextcloud.noarch 0:15.0.0-5.el6.sme will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch         Version                   Repository         Size
================================================================================
Updating:
 nextcloud       noarch       15.0.0-5.el6.sme          smecontribs        34 M

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 34 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
version.php found, already installed
Installed version has 15.0.4 been upgraded and is most recent than this rpm 15.0.0 version
error: %pre(nextcloud-15.0.0-5.el6.sme.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package nextcloud-15.0.0-5.el6.sme.noarch
error:   install: %pre scriptlet failed (2), skipping nextcloud-15.0.0-5.el6.sme

Is there a way to fix this? BTW my current installed version is 15.0.4
Thanks

-edb
......

Offline Jean-Philippe Pialasse

  • *
  • 2,761
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Nextcloud update issue
« Reply #1 on: March 01, 2019, 08:27:00 PM »
Nothing to do. Just ignore.

You seem to update it yourself using web, so you could just add the rpm to exclusions.

db yum_repositories setprop smecontribs Exclude "$(db yum_repositories getprop smecontribs Exclude),nextcloud"
signal-event yum-modify
« Last Edit: March 02, 2019, 01:03:33 AM by Jean-Philippe Pialasse »

Offline edb

  • *
  • 546
  • +0/-0
Re: Nextcloud update issue
« Reply #2 on: March 01, 2019, 08:45:53 PM »
Excellent! Thank you for the detailed reply that's just what I needed.
You're the best Jean :)
......

Offline edb

  • *
  • 546
  • +0/-0
Re: Nextcloud update issue
« Reply #3 on: March 02, 2019, 12:27:06 AM »
Nothing to do. Just ignore.

You seem to update it yourself using web, so you could just add the rpm to exclusions.

db yum_repositories setprop smecontribs Exludes "$(db yum_repositories getprop smecontribs Excludes),nextcloud"
signal-event yum-modify

I tried the command you suggested but the update remains there in "Updates Available" even after a reconfigure/reboot.
Is nextcloud the correct parameter or should it be the specific rpm? Just wondering why it keep showing up in the updates.
No biggy just cosmetics.
Have a great weekend.
......

Offline Jean-Philippe Pialasse

  • *
  • 2,761
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Nextcloud update issue
« Reply #4 on: March 02, 2019, 01:00:50 AM »
Typos

s/Exludes/Excludes/
s/Excludes/Exclude/

Will edit my initial post
« Last Edit: March 02, 2019, 01:04:08 AM by Jean-Philippe Pialasse »

Offline edb

  • *
  • 546
  • +0/-0
Re: Nextcloud update issue
« Reply #5 on: March 02, 2019, 01:39:19 AM »
That did the trick thanks again! :D
......