Koozali.org: home of the SME Server

Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« on: July 26, 2013, 12:09:24 PM »
Hi I am trying to update Sail to the latest version but get a failed dependency for dahdi-linux-kmdl-2.6.2-71.el5.

I have the asterisk-current and digium-current repos enabled when I run the yum localinstall.

can anyone advise if this rpm is actually available as I have been unable to locate it?

Thanks

Tony
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #1 on: July 26, 2013, 06:52:23 PM »
Hi There

Can you show us what commands are you running at the console?   It's difficult to comment otherwise.

Best

S

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #2 on: July 27, 2013, 12:25:51 AM »
Thanks the commands I am using are.

wget http://www.sailpbx.com/sail/sail-4.0/rpms/sail-4.0.0-58.noarch.rpm

wget http://www.sailpbx.com/sail/sail-4.0/rpms/smesailenv-4.0.0-11.noarch.rpm

yum localinstall *.rpm --enablerepo=base, asterisk-current, digium-current

Tony
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #3 on: July 27, 2013, 09:55:19 PM »
Sorry, one more question; what release are you upgrading from please?

Regards

S

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #4 on: July 27, 2013, 10:48:07 PM »
No problems I should have thought of that myself.
3.1.0-93

Thanks

Tony
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #5 on: August 02, 2013, 11:03:57 PM »
Hi There

I'm not sure why yum is trying to upgrade dahdi.   The sail rpms don't specify a release level dependency, just a general one. SAIL doesn't really care what asterisk or dahdi you are running, as long as they are present.

In any event, you should be able to run your upgrade without the Digium and Asterisk repos (the base repo is enabled anyway I think)

Code: [Select]
yum localinstall smesailenv-4.0.0-11.noarch.rpm sail-4.0.0-58.noarch.rpm
Make sure that, as a minimum you back up your sail database (/opt/sark/db/sark.db) before you run the upgrade.   If it all goes wrong then you can recover by removing sail; then re-install the latest 3.1.1 release, copy your saved database back and then run

Code: [Select]
sh /opt/sark/scripts/updatedb.sh

That should get you back to 3.1.1.

Kind Regards

S

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #6 on: August 03, 2013, 01:11:47 AM »
Thanks for the further information.

When i run the yum command I get the following.

Now I should have said earlier as this could be the issue. I have an AEX800 card with 1 S400M and 1 X400M Module installed.

[root@keane-server ~]# cd sailupdate
[root@keane-server sailupdate]# ls
sail-4.0.0-58.noarch.rpm
smesailenv-4.0.0-11.noarch.rpm
[root@keane-server sailupdate]# yum localinstall smesailenv-4.0.0-11.noarch.rpm sail-4.0.0-58.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smesailenv-4.0.0-11.noarch.rpm: smesailenv-4.0.0-11.noarch
Marking smesailenv-4.0.0-11.noarch.rpm as an update to smesailenv-1.0.0-19.noarch
Loading mirror speeds from cached hostfile
 * base: ftp.wicks.co.nz
 * smeaddons: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: ftp.wicks.co.nz
base                                                     | 1.1 kB     00:00
smeaddons                                                | 2.5 kB     00:00
smeextras                                                | 2.5 kB     00:00
smeos                                                    | 2.7 kB     00:00
smeupdates                                               | 2.5 kB     00:00
updates                                                  | 1.9 kB     00:00
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Examining sail-4.0.0-58.noarch.rpm: sail-4.0.0-58.noarch
Marking sail-4.0.0-58.noarch.rpm as an update to sail-3.1.0-93.noarch
Resolving Dependencies
--> Running transaction check
---> Package sail.noarch 0:4.0.0-58 set to be updated
--> Processing Dependency: dahdi-linux for package: sail
---> Package smesailenv.noarch 0:4.0.0-11 set to be updated
--> Processing Dependency: dahdi-linux for package: smesailenv
--> Finished Dependency Resolution
sail-4.0.0-58.noarch from /sail-4.0.0-58.noarch has depsolving problems
  --> Missing Dependency: dahdi-linux is needed by package sail-4.0.0-58.noarch (/sail-4.0.0-58.noarch)
smesailenv-4.0.0-11.noarch from /smesailenv-4.0.0-11.noarch has depsolving problems
  --> Missing Dependency: dahdi-linux is needed by package smesailenv-4.0.0-11.noarch (/smesailenv-4.0.0-11.noarch)
Error: Missing Dependency: dahdi-linux is needed by package sail-4.0.0-58.noarch (/sail-4.0.0-58.noarch)
Error: Missing Dependency: dahdi-linux is needed by package smesailenv-4.0.0-11.noarch (/smesailenv-4.0.0-11.noarch)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@keane-server sailupdate]#

Any assistance is appreciated.

Tony
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #7 on: August 03, 2013, 10:33:14 PM »
what does the following command give?

Code: [Select]
rpm -qa | grep dahdi
S

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #8 on: August 04, 2013, 02:19:08 AM »
Last login: Sat Aug  3 10:55:31 2013 from pc-00198.keane.co.nz
[root@keane-server ~]# rpm -qa | grep dahdi
dahdi-firmware-2.0.0-1_centos5
dahdi-firmware-tc400m-MR6.12-1_centos5
dahdi-firmware-vpmadt032-1.07-1_centos5
dahdi-firmware-oct6114-128-1.05.01-1_centos5
dahdi-firmware-oct6114-064-1.05.01-1_centos5
[root@keane-server ~]#
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #9 on: August 04, 2013, 11:51:07 AM »
OK, I think we need to back up a little.   Your system does not have Dahdi installed (which is why your sail install is asking for it).   I guess my question is, how did you run your digium analogue card (AEX800) in the past....   or is this a new install?

Kind REgards

S   

Offline CamKrist

  • 1
  • +0/-0
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #10 on: August 07, 2013, 04:20:16 PM »
Similar subject was being discussed at yahoo answers last week. I can post the link if needed.

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #11 on: August 07, 2013, 07:51:22 PM »
Sorry for taking so long to answer.

This is a server that was built some time ago and I don't know that the card has ever worked correctly. The only reason I started looking at it all was that we needed to use conference calling and I found that it would not work, which led to some reading on the sail wiki which led me to the conclusion I needed to sort the card so that the timing was correct.

I then decided I should update to the last version and here we are. :-)

I could simply shut the server down and remove the card but thought I would have a go at getting everything set up properly for once.

Any assistance is appreciated.

Thanks

Tony
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #12 on: August 09, 2013, 01:11:05 PM »
OK that explains it.

DAHDI dependencies are a bit of a nightmare on slow moving distros like SME server and you'll spend a lot of time trying to find the correct dahdi kmods to match your kernel release.  Sometimes you find you have no option but to upgrade the kernel to match the kmods you have (or are given by Digium).

If you just want something that works, then I suggest you back up what you've got (as explained in an earlier post on this thread) and install the sail iso from our download server.

http://sailpbx.com/iso/SME8/sail-3.1.1/

This will give you a working 3.1.1-22 which is the current stable release.

You can of course upgrade it to 3.1.1-39 which is the latest 3.1.1 release with a few more bells and whistles and some bug fixes.

Kind Regards

S

Offline ajkeane

  • ****
  • 187
  • +0/-0
    • http://keane.co.nz
Re: Failed Dependancy dahdi-linux-kmdl-2.6.2-71.el5
« Reply #13 on: August 14, 2013, 06:58:11 AM »
Thanks I will look at that.

Tony
...