Contribs.org

Please login or register.

Login with username, password and session length

News:

Remember SME Server is currently free to download and use. But it is not free to build. You can help by making a donation of time OR money from the links below.

Pages: 1 2 [3]  All   Go Down

Author Topic: How to update completely and properly a SME?  (Read 857 times)

Stefano

  • Site Administrator
  • *
  • Offline Offline
  • Posts: 10,133
  • Skype account: maghissimo
    • Smeserver italian community
Re: How to update completely and properly a SME?
« Reply #30 on: March 11, 2017, 06:27:23 PM »

ROTFL :-)
Logged
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

TerryF

  • Silver Supporter
  • *
  • Online Online
  • Posts: 725
Re: How to update completely and properly a SME?
« Reply #31 on: March 12, 2017, 08:58:41 AM »

https://wiki.contribs.org/Boaty_mcboatface

I see no problems with this :-)

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

Tell em to get !@#$%^, humour, its what makes the world a civilised place (most of the time) :-)

Logged
--
qui scribit bis legit

janet

  • Home away from home
  • ****
  • Offline Offline
  • Posts: 4,516
Logged
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

mmccarn

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,145
Re: How to update completely and properly a SME?
« Reply #33 on: March 18, 2017, 04:40:06 PM »

Wiki page updated:
https://wiki.contribs.org/Update_contribs

New Feature Request created:
https://bugs.contribs.org/show_bug.cgi?id=10158

New version of 'yumcheck.sh' added to bugzilla; installation instructions included on the wiki page.

The new version of the script:
* corrects an error in the "includepkgs" syntax used (separates packages with commas instead of spaces)**
* corrects the logic used to build the list of 'includepkgs' for each repository ***

** when 'includepkgs' used spaces instead of commas, the command would work from the command line but fail from inside the script for some updates

*** The original version of 'yumcheck.sh' would add the packages for each 3rd party repo to the existing list of packages from previously processed repositories.  This version makes sure that includepkgs only includes the packages installed from the current repository.
Logged

mmccarn

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,145
Re: How to update completely and properly a SME?
« Reply #34 on: March 26, 2017, 06:57:42 PM »

https://wiki.contribs.org/Update_contribs

https://bugs.contribs.org/show_bug.cgi?id=10158

yumcheck.sh updated (again).  The bug attachment and the installation instructions on the wiki have been updated.

New features:
* command line arguments starting with "@" will be stripped out and used to match the list of repositories with installed packages.  Only matching repos will be passed to yum.
* a warning is printed before exit if there are packages that were originally installed using 'yum localinstall'

Examples:
yumcheck.sh @sogo
Only look for updates to rpms with a repo name starting with "sogo".

yumcheck.sh @sogo update -q -y
Silently update all rpms originally installed from a repo whose name starts with "sogo"

yumcheck.sh @/
List all packages installed using 'yum localinstall'
Logged
Pages: 1 2 [3]  All   Go Up
 

Page created in 0.044 seconds with 26 queries.