WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce-update -c not performing update  (Read 1521 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
sce-update -c not performing update
« on: February 18, 2016, 07:19:26 AM »
I select "owncloud-client" from the list; I do know that there is an update available (because it was down-graded after fiddling with the debextra entries ...). This is what happens afterwards:
Code: [Select]
Enter selection ( 1 - 35 ) or just Enter to proceed, (n)ext, (p)revious:
 
owncloud-client
 
Press Enter to update check above SCE(s), (q)uit to exit:
 
Checking owncloud-client.sce...
         owncloud-client update check...
 
Update check completed.
 
owncloud-client
 
Press Enter to update above SCE(s), (v)iew package updates, Ctrl-C aborts:
 
 
Press Enter to review packages that had updates available, (n)o to exit:
 
owncloud-client updates:
libowncloudsync0   http://download.opensuse.org/repositories/isv:/ownCloud:/desk
top/Ubuntu_14.04
libqtkeychain0   http://download.opensuse.org/repositories/isv:/ownCloud:/deskto
p/Ubuntu_14.04
libssl1.0.0   ubuntu trusty main
owncloud-client   http://download.opensuse.org/repositories/isv:/ownCloud:/deskt
op/Ubuntu_14.04
owncloud-client-l10n   http://download.opensuse.org/repositories/isv:/ownCloud:/
desktop/Ubuntu_14.04
However, the second step ("update above SCE(s)") does not do anything. Indeed, the screen output flushes right away to the next step ("review packages that had updates available").

Issueing ''sce-update owncloud-client'' on the other hand does perform the update well.

This all is on dCore-trusty:2016.02.17.17.16

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update -c not performing update
« Reply #1 on: February 18, 2016, 02:52:15 PM »
As per the --help file:
Code: [Select]
'sce-update -c'      menu prompt, check selected SCE(s) for updates only,
                     no actual updates performed.

No updates are to be performed when using the -c option, so i would think it's performing as designed.

The script should, however, have different echo output when the -c option is utilized. Instead of 'Press Enter to update above SCE(s), (v)iew package updates, Ctrl-C aborts:' it should probably just either indicate "No updates available" or list available package updates and exit. Maybe Jason can add something like this in one of the next RCs. I don't plan on sending script revisions until the latest import/update issues are settled.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update -c not performing update
« Reply #2 on: February 18, 2016, 05:30:58 PM »
Clearer wording and behavior, will be in the next RC.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: sce-update -c not performing update
« Reply #3 on: February 18, 2016, 11:56:24 PM »
As per the --help file:
Code: [Select]
'sce-update -c'      menu prompt, check selected SCE(s) for updates only,
                     no actual updates performed.

No updates are to be performed when using the -c option, so i would think it's performing as designed.

The script should, however, have different echo output when the -c option is utilized. Instead of 'Press Enter to update above SCE(s), (v)iew package updates, Ctrl-C aborts:' it should probably just either indicate "No updates available" or list available package updates and exit. Maybe Jason can add something like this in one of the next RCs. I don't plan on sending script revisions until the latest import/update issues are settled.

I had only read the first line of the help-command, silly me! This proves that a) the help command is useful indeed, b) I can read, c) concentration varies over time. ;)

I suggest skipping the output for the unavailable steps if possible.
Many thanks, JasonW, for the continuous support BTW!