yum update complaining about Dahdi

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

yum update complaining about Dahdi

Postby hykhan » Mon Nov 18, 2013 10:38 am

Hi Guys

starting a new thread as i thought probably i should nt try to resurrect a very old post

am trying to do a system update using yum but its complaining about depsolving problems

below is the exact output what am getting while trying to update

any help would be much appreciated

Code: Select all
--> Finished Dependency Resolution
kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 from digium-current has depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (digium-current)
kmod-dahdi-linux-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 from asterisk-current has depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (asterisk-current)
Error: Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (digium-current)
Error: Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (asterisk-current)
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.
hykhan
Newsterisk
 
Posts: 10
Joined: Fri Apr 05, 2013 11:46 am

Re: yum update complaining about Dahdi

Postby malcolmd » Mon Nov 18, 2013 1:40 pm

Howdy,

We've made an issue report for you.

https://issues.asterisk.org/jira/browse/ANOW-195

...just needs updated DAHDI RPMs.

Cheers
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: yum update complaining about Dahdi

Postby hykhan » Tue Nov 19, 2013 3:34 am

thanks Malcolm
hykhan
Newsterisk
 
Posts: 10
Joined: Fri Apr 05, 2013 11:46 am

Re: yum update complaining about Dahdi

Postby hykhan » Fri Jan 31, 2014 11:17 am

Hi

did it get resolved, i still cant do yum update.
jira issue anow-195 says it a duplicate of anow-196 but what happened with anow-196

many thanks
Hash
hykhan
Newsterisk
 
Posts: 10
Joined: Fri Apr 05, 2013 11:46 am

Re: yum update complaining about Dahdi

Postby malcolmd » Fri Jan 31, 2014 11:20 am

New 2.8.0.1 DAHDI packages were pushed to the repo for DAHDI on or about Dec 27, 2013.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: yum update complaining about Dahdi

Postby hykhan » Mon Feb 03, 2014 3:07 am

Hi Malcolm

i did try updating just before posting my last reply and have just tried again and getting following

Code: Select all
--> Finished Dependency Resolution
kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 from digium-current has depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (digium-current)
kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 from asterisk-current has depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 (asterisk-current)
Error: Missing Dependency: kernel-x86_64 = 2.6.18-348.12.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.7.0-1_centos5.2.6.18_348.12.1.el5.x86_64 (digium-current)
Error: Missing Dependency: kernel-x86_64 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 (asterisk-current)
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
hykhan
Newsterisk
 
Posts: 10
Joined: Fri Apr 05, 2013 11:46 am

Re: yum update complaining about Dahdi

Postby malcolmd » Mon Feb 03, 2014 8:05 am

Howdy,

Well, until we can do yet another update, you might just wanna exclude the kernel from your yum update.

"yum –exclude=kernel* update"

Cheers
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: yum update complaining about Dahdi

Postby hykhan » Fri Feb 07, 2014 12:17 pm

Hi

did you mean to say, exclude dahdi ?

yum --exclude=kmod-dahdi-linux\* update

because the error am getting while trying to update is

Code: Select all
--> Processing Dependency: kernel-x86_64 = 2.6.18-308.8.2.el5 for package: kmod-dahdi-linux
---> Package kmod-dahdi-linux-fwload-vpmadt032.x86_64 0:2.6.1-1_centos5.2.6.18_308.16.1.el5 set to be erased
--> Finished Dependency Resolution
kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 from asterisk-current has depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 (asterisk-current)
Error: Missing Dependency: kernel-x86_64 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.x86_64 (asterisk-current)
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.
hykhan
Newsterisk
 
Posts: 10
Joined: Fri Apr 05, 2013 11:46 am

Re: yum update complaining about Dahdi

Postby david55 » Fri Feb 07, 2014 2:39 pm

He meant exclude the kernel. Once you change the kernel, it is no longer compatible with dahdi.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: yum update complaining about Dahdi

Postby iansteigrad » Thu Feb 20, 2014 11:31 pm

Is there a fix for this yet? I've fallen behind on system updates for some time and now I can't get yum do do much without causing free PBX to fail.
iansteigrad
Newsterisk
 
Posts: 1
Joined: Thu Feb 20, 2014 11:23 pm

Re: yum update complaining about Dahdi

Postby benbrown » Tue Mar 04, 2014 5:50 am

Is there any update? This is still broken since December!!!!

I'm not sure why when kmod-dahdi-linux moved from 2.7.0 to 2.8.0 it was built with an older kernel?

[ ] kmod-dahdi-linux-2.6.2-1_centos5.2.6.18_348.12.1.el5.i686.rpm 16-Jul-2013 14:05 3.7M
[ ] kmod-dahdi-linux-2.7.0-1_centos5.2.6.18_348.12.1.el5.i686.rpm 02-Aug-2013 14:30 4.2M
[ ] kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.i686.rpm 27-Dec-2013 09:10 4.5M

Code: Select all
[root@server ~]# yum update
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
* base: centos.serverspace.co.uk
* extras: mirrors.coreix.net
* updates: mirrors.coreix.net
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-dahdi-linux.i686 0:2.8.0.1-1_centos5.2.6.18_308.8.2.el5 set to be installed
--> Processing Dependency: kernel-i686 = 2.6.18-308.8.2.el5 for package: kmod-dahdi-linux
--> Finished Dependency Resolution
kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.i686 from asterisk-current has depsolving problems
  --> Missing Dependency: kernel-i686 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.i686 (asterisk-current)
Error: Missing Dependency: kernel-i686 = 2.6.18-308.8.2.el5 is needed by package kmod-dahdi-linux-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.i686 (asterisk-current)
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
[root@server ~]# uname -a
Linux server.xarin.com 2.6.18-348.12.1.el5 #1 SMP Wed Jul 10 05:31:48 EDT 2013 i686 i686 i386 GNU/Linux


Thanks, Ben.
benbrown
Newsterisk
 
Posts: 1
Joined: Tue Mar 04, 2014 5:44 am

Re: yum update complaining about Dahdi

Postby mpiontek » Sat Mar 08, 2014 9:11 am

I am interested in this as well.

Not ready to replace with CentOS 6 yet.

I am still on 2.6.18-274.18.1.el5 and trying to do a 1.6 to 1.8, then hopefully all the way to Asterisk 10?

But I am at this road block with the dependency.
Mark
IT Director
Milwaukee, Wisconsin
mpiontek
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm

Re: yum update complaining about Dahdi

Postby mpiontek » Tue Mar 11, 2014 12:24 pm

Ok, so I think my plan is to install the required kernel (308.8.2) and the kmod, then if/when that is successful, I will yum update and exclude the kernel and dahdi.

Does that sound like a good plan? I likely will not execute until the weekend.
Mark
IT Director
Milwaukee, Wisconsin
mpiontek
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm

Re: yum update complaining about Dahdi

Postby david55 » Tue Mar 11, 2014 3:25 pm

If you want to run with kernels that don't match AsteriskNOW, it will be much easier to install from source code.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: yum update complaining about Dahdi

Postby mpiontek » Wed Mar 12, 2014 6:25 am

david55 wrote:If you want to run with kernels that don't match AsteriskNOW, it will be much easier to install from source code.


I'm not even using asterisknow, I just have the same issues as this post so I came here. But I need to use the kernel that the 2.8 dahdi module depends on, so this was the solution I came up with.

Thanks.
Mark
IT Director
Milwaukee, Wisconsin
mpiontek
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm

Re: yum update complaining about Dahdi

Postby david55 » Wed Mar 12, 2014 6:57 am

If you compile from source, dahdi will depend on the kernel that was running when you compiled.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: yum update complaining about Dahdi

Postby mpiontek » Wed Mar 12, 2014 7:00 am

david55 wrote:If you compile from source, dahdi will depend on the kernel that was running when you compiled.


Yes, I understand that but I prefer not to compile from source on this particular production implementation.

Do you see a flaw in my game plan as far as using the required kernel and then excluding the kernel and dahdi from yum update?
Mark
IT Director
Milwaukee, Wisconsin
mpiontek
Oldsterisk
 
Posts: 57
Joined: Thu Dec 21, 2006 10:56 pm

Re: yum update complaining about Dahdi

Postby ttendys » Mon May 18, 2015 8:00 pm

My situation: I'm using CentOS 5 on Citrix Xenserver and I like the fact that CentOS 5 supports Xen tools properly, allows memory the kernel device to cooperate with Xenserver, and stability is very good. I hit exactly the same problem described above, for me the packages "asterisk" and also "asterisk18" don't even install any more from a fresh CentOS 5 setup.

=============================
http://packages.asterisk.org/centos/5/c ... i386/RPMS/

kmod-dahdi-linux-xen-2.6.2-1_centos5.2.6.18_348.12.1.el5.i686.rpm
kmod-dahdi-linux-xen-2.7.0-1_centos5.2.6.18_348.12.1.el5.i686.rpm
kmod-dahdi-linux-xen-2.8.0.1-1_centos5.2.6.18_308.8.2.el5.i686.rpm
=============================

So from above you see that "kmod-dahdi-linux-xen-2.7.0" was compiled against a kernel "2.6.18_348.12.1" while the later version "kmod-dahdi-linux-xen-2.8.0.1" was actually compiled against an earlier linux kernel "2.6.18_308.8.2" and as far as I can see NO Centos 5 repo actually provides this particular kernel version, it's something halfway from 5.8 to 5.9 I think, but no longer officially exists at all.

My suggestion (only way I've been able to get past this) is just install the "asterisk-core" package and not the "asterisk" package. I'm only using SIP and IAX2 and I don't really need DAHDI at all for these virtual PBX applications. The only time you need DAHDI is if you have PRI compatible hardware for T1/E1 links, etc. Since the "asterisk-core" package has a lot less dependencies, you can uninstall the packages you don't need (or start from scratch and never install them in the first place). Keeping the package list to a minimum makes it smaller, more likely to work and probably avoids future upgrade problems in future.

My general strategy is to virtualize the main PBX as often as possible and keep all DHADI out of that, avoid a dedicated PBX box, and then you can take snapshots, and manage it a bit more easily. Make this pure VoIP, pure software and try to get a consistent rollout.

When a requirement to interface with a genuine PRI comes along, use a small dedicated gateway box to interface between PRI and regular VoIP, then trunk to the main PBX. Lots of those gateway boxes are out on the market now, you can shop around for them. If the hardware breaks you can drop in a new one with minimal fuss.
ttendys
Newsterisk
 
Posts: 1
Joined: Mon May 18, 2015 6:34 pm


Return to AsteriskNOW Support

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest