<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2166/18/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=18415814#comment-18415814">Asterisk Packages</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~mkelly">michael kelly</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>You may want to add something for Prerequisites under 3. YUM (CentOS / Red Hat). I just tried to do an installation to a new, updated CentOS 5.6 and had dependency issues with the kernel version:</p>
<p><span class="error">[root@localhost etc]</span># vi /etc/yum.repos.d/centos-asterisk.repo<br/>
<span class="error">[root@localhost etc]</span># vi /etc/yum.repos.d/centos-digium.repo<br/>
<span class="error">[root@localhost etc]</span># yum install asterisk18 asterisk18-configs<br/>
Loaded plugins: fastestmirror<br/>
Loading mirror speeds from cached hostfile</p>
<ul>
        <li>base: mirror.raystedman.net</li>
        <li>extras: mirror.raystedman.net</li>
        <li>updates: mirror.teklinks.com<br/>
asterisk-current | 1.1 kB 00:00 <br/>
asterisk-current/primary | 226 kB 00:00 <br/>
asterisk-current 1050/1050<br/>
digium-current | 1.1 kB 00:00 <br/>
digium-current/primary | 50 kB 00:00 <br/>
digium-current 389/389<br/>
Setting up Install Process<br/>
Resolving Dependencies<br/>
--> Running transaction check<br/>
---> Package asterisk18.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
--> Processing Dependency: asterisk18-doc = 1.8.6.0 for package: asterisk18<br/>
--> Processing Dependency: asterisk18-dahdi = 1.8.6.0-1_centos5 for package: asterisk18<br/>
--> Processing Dependency: asterisk18-core = 1.8.6.0-1_centos5 for package: asterisk18<br/>
--> Processing Dependency: asterisk18-voicemail = 1.8.6.0-1_centos5 for package: asterisk18<br/>
--> Processing Dependency: asterisk-sounds-core-en-gsm for package: asterisk18<br/>
---> Package asterisk18-configs.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
--> Running transaction check<br/>
---> Package asterisk-sounds-core-en-gsm.noarch 0:1.4.21-1_centos5 set to be updated<br/>
---> Package asterisk18-core.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
---> Package asterisk18-dahdi.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
--> Processing Dependency: libopenr2 for package: asterisk18-dahdi<br/>
--> Processing Dependency: libss7 for package: asterisk18-dahdi<br/>
--> Processing Dependency: libtonezone for package: asterisk18-dahdi<br/>
--> Processing Dependency: dahdi-linux for package: asterisk18-dahdi<br/>
--> Processing Dependency: libpri for package: asterisk18-dahdi<br/>
--> Processing Dependency: dahdi-linux-kmod for package: asterisk18-dahdi<br/>
---> Package asterisk18-doc.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
---> Package asterisk18-voicemail.i386 0:1.8.6.0-1_centos5 set to be updated<br/>
--> Running transaction check<br/>
---> Package dahdi-linux.i386 0:2.5.0-1_centos5 set to be updated<br/>
--> Processing Dependency: dahdi-firmware for package: dahdi-linux<br/>
--> Processing Dependency: yum-kmod for package: dahdi-linux<br/>
---> Package kmod-dahdi-linux.i686 0:2.5.0-1_centos5.2.6.18_238.19.1.el5 set to be installed<br/>
--> Processing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 for package: kmod-dahdi-linux<br/>
---> Package libopenr2.i386 0:1.2.0-1_centos5 set to be updated<br/>
---> Package libpri.i386 0:1.4.11.5-1_centos5 set to be updated<br/>
---> Package libss7.i386 0:1.0.2-1_centos5 set to be updated<br/>
---> Package libtonezone.i386 0:2.5.0-1_centos5 set to be updated<br/>
--> Running transaction check<br/>
---> Package dahdi-firmware.noarch 0:2.0.2-1_centos5 set to be updated<br/>
--> Processing Dependency: dahdi-firmware-hx8 = 2.06 for package: dahdi-firmware<br/>
--> Processing Dependency: dahdi-firmware-tc400m = MR6.12 for package: dahdi-firmware<br/>
--> Processing Dependency: dahdi-firmware-oct6114-064 = 1.05.01 for package: dahdi-firmware<br/>
--> Processing Dependency: dahdi-firmware-oct6114-128 = 1.05.01 for package: dahdi-firmware<br/>
--> Processing Dependency: dahdi-linux-fwload-vpmadt032-kmod for package: dahdi-firmware<br/>
---> Package kmod-dahdi-linux.i686 0:2.5.0-1_centos5.2.6.18_238.19.1.el5 set to be installed<br/>
--> Processing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 for package: kmod-dahdi-linux<br/>
---> Package yum-kmod.noarch 0:1.1.16-16.el5.centos set to be updated<br/>
--> Running transaction check<br/>
---> Package dahdi-firmware-hx8.noarch 0:2.06-1_centos5 set to be updated<br/>
---> Package dahdi-firmware-oct6114-064.noarch 0:1.05.01-1_centos5 set to be updated<br/>
---> Package dahdi-firmware-oct6114-128.noarch 0:1.05.01-1_centos5 set to be updated<br/>
---> Package dahdi-firmware-tc400m.noarch 0:MR6.12-1_centos5 set to be updated<br/>
---> Package kmod-dahdi-linux.i686 0:2.5.0-1_centos5.2.6.18_238.19.1.el5 set to be installed<br/>
--> Processing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 for package: kmod-dahdi-linux<br/>
---> Package kmod-dahdi-linux-fwload-vpmadt032.i686 0:2.5.0-1_centos5.2.6.18_238.19.1.el5 set to be installed<br/>
--> Processing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 for package: kmod-dahdi-linux-fwload-vpmadt032<br/>
--> Finished Dependency Resolution<br/>
kmod-dahdi-linux-fwload-vpmadt032-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 from digium-current has depsolving problems<br/>
--> Missing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 (digium-current)<br/>
kmod-dahdi-linux-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 from asterisk-current has depsolving problems<br/>
--> Missing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 is needed by package kmod-dahdi-linux-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 (asterisk-current)<br/>
Error: Missing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 (digium-current)<br/>
Error: Missing Dependency: kernel-i686 = 2.6.18-238.19.1.el5 is needed by package kmod-dahdi-linux-2.5.0-1_centos5.2.6.18_238.19.1.el5.i686 (asterisk-current)<br/>
You could try using --skip-broken to work around the problem<br/>
You could try running: package-cleanup --problems<br/>
package-cleanup --dupes<br/>
rpm -Va --nofiles --nodigest<br/>
The program package-cleanup is found in the yum-utils package.</li>
</ul>
<p><span class="error">[root@localhost etc]</span># uname -a<br/>
Linux localhost.localdomain 2.6.18-274.el5 #1 SMP Fri Jul 22 04:49:12 EDT 2011 i686 i686 i386 GNU/Linux<br/>
<span class="error">[root@localhost etc]</span># yum check-update<br/>
Loaded plugins: fastestmirror<br/>
Loading mirror speeds from cached hostfile</p>
<ul>
        <li>base: mirror.raystedman.net</li>
        <li>extras: mirror.raystedman.net</li>
        <li>updates: mirror.teklinks.com<br/>
<span class="error">[root@localhost etc]</span># </li>
</ul>
<p>Is there a different package I should install, or do I upgrade the kernel?</p>
<p>Thanks</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=18415814#comment-18415814">View Online</a>
|
<a id="reply-18415814" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?replyToComment=18415814#comment-18415814">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>