Koozali.org: home of the SME Server

How to update completely and properly a SME?

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: How to update completely and properly a SME?
« Reply #15 on: February 27, 2017, 04:53:07 PM »
Hi,

I'm happy to see that it's going on about this feature.

Thanks for your script: much shorter than mine, the updates seem to run quicker too => congratulation!  :cool:

Bye
Arnaud

guest22

Re: How to update completely and properly a SME?
« Reply #16 on: February 28, 2017, 07:18:55 PM »
I believe this this deserves it's own wiki page...

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: How to update completely and properly a SME?
« Reply #17 on: February 28, 2017, 08:09:08 PM »
The script is the wiki page in reality.

And even if this topic is important for my use, I'm not very convinced that it is for much people when I consider the discreet feedback.

Arnaud

guest22

Re: How to update completely and properly a SME?
« Reply #18 on: February 28, 2017, 08:59:10 PM »
And even if this topic is important for my use, I'm not very convinced that it is for much people when I consider the discreet feedback.


Maybe not many really understand a full and careful update of not only SME Server basic, but also what has been installed along the way by contribs...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to update completely and properly a SME?
« Reply #19 on: March 08, 2017, 12:14:41 AM »
I agree with RequestedDeletion.. I think this script RULES!
Even if you answer NO to updates, you can find out whats should be updated on each repo!
COOL!

Thanks by your work!
...

guest22

Re: How to update completely and properly a SME?
« Reply #20 on: March 08, 2017, 12:35:18 AM »
I suggest we add 'screen -L' to the script so we have a permanent file based copy of all output.

@mmccarn, Arnaud, is that viable please?

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: How to update completely and properly a SME?
« Reply #21 on: March 08, 2017, 08:21:59 PM »
I'll do it.

Which title should I give? "Update the system from several repositories"?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: How to update completely and properly a SME?
« Reply #22 on: March 08, 2017, 10:43:33 PM »
Arnaud

How about

Updating from external repositories

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: How to update completely and properly a SME?
« Reply #23 on: March 09, 2017, 01:26:11 AM »
I'll do it.

Which title should I give? "Update the system from several repositories"?
How about 'update audit' of some kind?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: How to update completely and properly a SME?
« Reply #24 on: March 09, 2017, 01:35:41 AM »
.....Or

Update contribs
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: How to update completely and properly a SME?
« Reply #25 on: March 09, 2017, 06:48:53 AM »
Or custom update

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: How to update completely and properly a SME?
« Reply #26 on: March 09, 2017, 07:41:04 AM »
How about boaty mcboatface that seemed to be popular recently..

sorry had a humour attack, have to keep a watch on that....
--
qui scribit bis legit

Offline Arnaud

  • *
  • 143
  • +0/-0
    • GuedeL
Re: How to update completely and properly a SME?
« Reply #27 on: March 11, 2017, 04:27:38 PM »
Hi,

here https://wiki.contribs.org/Update_contribs is the summary of this topic.

Arnaud

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: How to update completely and properly a SME?
« Reply #28 on: March 11, 2017, 05:45:19 PM »
Thanks.

I added a note that these scripts will only work on SME9 - /sbin/e-smith/audittools/newrpms does not show the 'installed from' repo information on SME8.

I also added a 3rd script - the one I'm using locally - that uses "check-update -q" by default, and accepts arguments so I can run it with "update -q -y" to install the pending updates.

I wrote (and apparently failed to post) a comment a few days ago asking if this should be an NFR bug for a new "audittool" or an update to smeserver-yum.


A note -
A few years ago (2011) I did some work on this, and was asked to leave it alone.  The thought at that time was that supported packages should be moved onto the smecontribs build server so that 3rd party repositories would not be needed.

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: How to update completely and properly a SME?
« Reply #29 on: March 11, 2017, 05:52:06 PM »
And for TerryF:

https://wiki.contribs.org/Boaty_mcboatface


(I'm sure I'll get chastised for this...)