Koozali.org: home of the SME Server

Strange update dependency

Offline azche24

  • *
  • 163
  • +0/-0
    • http://az-law.de
Strange update dependency
« on: October 21, 2013, 09:32:10 AM »
With the latest yum update i get a dependency error

Quote
--> Missing Dependency: initscripts >= 8.45.43 is needed by package 1:nfs-utils-1.0.9-70.el5.i386 (base)

(also with 2 or 3 more packages. But initscripts 8.45.43 ist not available in the updates directory.

This only happens on my "old" production server. The clean affabox backup-server did not have this problem. Should i just skip these packages?
Alexander Ziemann, Berlin - DE

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Strange update dependency
« Reply #1 on: October 21, 2013, 10:32:37 AM »
azche24

Quote
Missing Dependency: initscripts >= 8.45.43 is needed by package 1:nfs-utils-1.0.9-70.el5.i386 (base)

The smeupdates repo here
http://mirror.canada.pialasse.com/releases/8.0/smeupdates/i386/RPMS/
has this package
initscripts-8.45.42-2.1.el5.sme.i386.rpm

But the nfs-utils-1.0.9-70.el5.i386 package which is installed on your system (not sure by whom or from where) requires a newer version of initscripts(8.45.43).

Same sort of issue perhaps for the other packages.

You should report this & the other dependency to bugzilla immediately.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline azche24

  • *
  • 163
  • +0/-0
    • http://az-law.de
Re: Strange update dependency
« Reply #2 on: October 21, 2013, 10:51:00 AM »
It was only this dependency. I made an entry in the bugtracker.

http://bugs.contribs.org/show_bug.cgi?id=7920

Thx!
« Last Edit: October 21, 2013, 12:06:23 PM by azche24 »
Alexander Ziemann, Berlin - DE

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Strange update dependency
« Reply #3 on: October 21, 2013, 10:54:59 AM »
azche24

Please add the bug number here for future reference
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Strange update dependency
« Reply #4 on: October 22, 2013, 12:32:52 PM »
He,

As explained by Michael Doerner in comment#2 for bug 7920, the initscript rpm is needed if you installed smeserver-nfs. NFS is often (but not always) used with AFFA, ie to make backups on a NAS.

For those who have this dependency problem, here is how I solved it :
Code: [Select]
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/5.9/cr/i386/RPMS/initscripts-8.45.44-3.el5.centos.i386.rpm
yum localupdate initscripts-8.45.44-3.el5.centos.i386.rpm
Then, you can update your SME the way you want (server-manager or command line) :-)

@JPP : Probably, this should be more tested, as I did it only on one server (my own old SME that I upgrade from a very old version). After that, it would be good if you update your repo ;-)

[EDIT]added forgotten code tags[/EDIT]
« Last Edit: October 22, 2013, 12:45:57 PM by jibe »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Strange update dependency
« Reply #5 on: October 24, 2013, 05:10:46 AM »
yum localupdate initscripts-8.45.44-3.el5.centos.i386.rpm

I think this is bad advice. The SME server initscripts rpm is modified. The CentOS version is not 100% compatible with SME server.

You will be missing these changes:

...
* Tue Oct 1 2013 Ian Wells <esmith@wellsi.com> 8.45.42-2.1.sme
- Update to 8.45.42-2.1 [SME: 7870]
- Exit with zero exit status for services not listed in configuration
  database to avoid failures in post scriptlets [SME: 1653]
- Merge in SME Server /sbin/e-smith/service wrapper so that only
  initscripts which exist in run-level 7 can be run. This ensures
  that the supervised service is run, if one exists, and protects
  against running "service httpd restart" [SME: 61, 1495]
...

My advice to you is to download the SME server initscripts rpm, and the older nfs-utils rpm. Then use "rpm -Uhv --oldpackage ..." to install both of them.

Offline azche24

  • *
  • 163
  • +0/-0
    • http://az-law.de
Re: Strange update dependency
« Reply #6 on: October 24, 2013, 08:48:07 AM »
I just uninstalled smeserver-nfs as described by Charlie in http://bugs.contribs.org/show_bug.cgi?id=7920#c1.

I do not want to switch to external centos 5.9 rpm's, because in this case i never can be shure the production server is updated correctly.
Alexander Ziemann, Berlin - DE

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Strange update dependency
« Reply #7 on: October 24, 2013, 09:15:17 AM »
Hi,

Thanks for this advice, Charlie ! And sorry for the bad solution  :oops:

Let's just hope that Ian Wells or chris burnat will soon have time to update the sme version of initscripts.

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Strange update dependency
« Reply #8 on: October 27, 2013, 09:12:54 AM »
Quote
My advice to you is to download the SME server initscripts rpm, and the older nfs-utils rpm.

Where are the nfs-utils to download?

Thank you for your reply.
stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
« Last Edit: October 27, 2013, 09:27:33 AM by TerryF »
--
qui scribit bis legit

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Strange update dependency
« Reply #10 on: October 28, 2013, 07:45:08 AM »
Hi,

Thanks for this advice, Charlie ! And sorry for the bad solution  :oops:

Let's just hope that Ian Wells or chris burnat will soon have time to update the sme version of initscripts.

Ian Wells has just build the sme version of initscripts, packages for 32 and 64 bits can be found in smetest repos:

Code: [Select]
initscripts-8.45.44-3.el5.sme.i386.rpm
and:
initscripts-8.45.44-3.el5.sme.x86_64.rpm

It would be great if some of you affected by this issue could test this new package on a test server and report results in Bugzilla:

http://bugs.contribs.org/show_bug.cgi?id=7920

Thanks.

- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Strange update dependency
« Reply #11 on: October 28, 2013, 10:11:18 AM »
Hi,

Tested and reported.

Seems OK, I'll see this night if affa works well with nfs (eating too much bandwidth if I test now, sorry... affa is working through my slow ADSL line).

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Strange update dependency
« Reply #12 on: October 28, 2013, 12:53:58 PM »
Hi,

Tested and reported.

Seems OK, I'll see this night if affa works well with nfs (eating too much bandwidth if I test now, sorry... affa is working through my slow ADSL line).

Thanks.
chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Strange update dependency
« Reply #13 on: October 29, 2013, 09:35:29 AM »
Hi,

Thanks.
chris
You're welcome  ;-)

I reported in the bugtrack that affa did the job normally this night.

I don't know if there is more to test, but for me all seems Ok, the rpm could be released.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Strange update dependency
« Reply #14 on: October 29, 2013, 09:49:56 AM »
Hi,
You're welcome  ;-)

I reported in the bugtrack that affa did the job normally this night.

I don't know if there is more to test, but for me all seems Ok, the rpm could be released.

Great!
Thank you for feedback and comments in BUgzilla, very appreciated.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Strange update dependency
« Reply #15 on: October 29, 2013, 05:16:39 PM »
It's now in the releasing queue, just waiting on release note preparation and review.
............