Koozali.org: home of the SME Server

No Match for argument: asterisk

Offline jibe

  • ****
  • 128
  • +0/-0
No Match for argument: asterisk
« on: February 09, 2010, 12:33:24 PM »
Hi,

I'm trying to install SAIL on a newly installed/updated SME 7.4. But :
1 - I got many dependency problems installing dahdi... Why dahdi rpms in the smecontribs repo have these dependency problems ? Seems they are not matching together and the SME 7.4 kernel version !!!
2 - Trying to install asterisk, here is what I got :
Code: [Select]
root #yum install asterisk --enablerepo=atrpms
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
No Match for argument: asterisk
Nothing to do
I tried with smecontribs repo, and it's the same... Don't understand why, as asterisk is there (and is surely also on Atrpms repo) !

What can I do ? I could try (I didn't) to download the rpm and make a local install, but the normal way should work and I don't understand why it doesn't...

[EDIT]
Waiting for a better solution, I tried to download the rpms (all asterisk rpms, a I got the same error with asterisk-addons !) and make a localinstall. This worked for asterisk, but going forward :
Code: [Select]
root# rpm -Uvh http://sarkpbx.com/sail/sail-2.3.2/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
Recuperation de http://sarkpbx.com/sail/sail-2.3.2/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
erreur: http://sarkpbx.com/sail/sail-2.3.2/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm ignore - echec du telechargement - Erreur inconnue ou inattendue
I don't know what are the messages in english, but they could be translated this way :
Code: [Select]
downloading http://sarkpbx.com/sail/sail-2.3.2/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
error: http://sarkpbx.com/sail/sail-2.3.2/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm ignored - download failed - Unknown or unexpected error.

... don't know if the bug is between my chair and my keyboard, but seems that there is a big problem...  :shock:
« Last Edit: February 09, 2010, 02:06:21 PM by jibe »

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: No Match for argument: asterisk
« Reply #1 on: February 09, 2010, 09:36:59 PM »
perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm is required by sail and it is available for download from the same folder as sail.  Simply download it and install it with rpm or yum.

The sme asterisk rpms in smecontribs were not contributed by us.  They are no longer up-to-date.       

I do not know why you cannot find asterisk on atrpms.

There is a page on our Wiki which explains why there are dependancy difficulties with Asterisk

http://sarkpbx.com/twiki/bin/view/Main/AsteriskDahdi

There is also a section in the wiki covering how to download and install asterisk from source.   

http://sarkpbx.com/twiki/bin/view/Main/DocChapter03d

Kind Regards

S

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: No Match for argument: asterisk
« Reply #2 on: February 09, 2010, 10:29:56 PM »
I think you will find asterisk is now 'asterisk14' in both smecontribs and on atrpms

Also the dahdi-linux-kmdl version will be for kernel -18 or later and not the current -16 of sme, so you will need this from sarkpbx

The sark wiki is out of date as sail-2.3.2 is no longer available, current version is 2.4.1-7 for dahdi

Try
Code: [Select]
wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-7.noarch.rpm
wget http://sarkpbx.com/sail/kmdls/dahdi/dahdi-linux-kmdl-2.6.9-89.0.16.EL-2.2.0.2-65.el4.i686.rpm
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
yum localinstall dahdi-linux-kmdl-2.6.9-89.0.16.EL-2.2.0.2-65.el4.i686.rpm
yum install --enablerepo=atrpms dahdi-linux dahdi-tools
yum install --enablerepo=smecontribs --exclude=dahdi* asterisk14
yum localinstall sail-2.4.1-7.noarch.rpm perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm

I haven't tried the above but should be somewhere near. I have recently updated asterisk and dahdi but not done a fresh install so YMMV
« Last Edit: February 10, 2010, 04:20:27 PM by timn »

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: No Match for argument: asterisk
« Reply #3 on: February 09, 2010, 11:06:09 PM »

we have dahdi kmdl rpms for -16 on the wiki here

http://sarkpbx.com/sail/kmdls/dahdi/

2.3 references removed from the wiki (thanks for the heads up).


Kind Regards

S



Kind Regards


 

Offline jibe

  • ****
  • 128
  • +0/-0
Re: No Match for argument: asterisk
« Reply #4 on: February 10, 2010, 12:14:06 AM »
Hi,

we have dahdi kmdl rpms for -16 on the wiki here

http://sarkpbx.com/sail/kmdls/dahdi/
Yes, it's good  :-)
... but where to find the right dahdi-linux corresponding to the -16 kernel ? I was unable to find it, and finally used rpm --nodeps to install the one I found on atrpms, as it was complaining about the kernel dependency... Why is the one on smecontribs repo not compatible with the last SME kernel ? Isn't it possible to have it on your server, with the kmdls ?

Yes, I know that I can install from sources and compile. I should prefer a simplest way : not easy for each kernel update to install the dev-tools first, and to remove them after  :-( Not always possible to do that on a test server with the dev-tools permanently installed !

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: No Match for argument: asterisk
« Reply #5 on: February 10, 2010, 08:39:30 AM »
Quote
where to find the right dahdi-linux

dahdi-linux is not kernel release dependent.

Kind Regards

S   

Offline jibe

  • ****
  • 128
  • +0/-0
Re: No Match for argument: asterisk
« Reply #6 on: February 10, 2010, 02:59:01 PM »
Hi,

Yes, installed with --nodeps, the one found on atrpms works properly.

I was not exactly right : the dependency is not with the kernel, more exactly it's dahdi-linux-kmdl, kernel release dependant, that asks as dependency a specific version of dahdi-linux... Not a big problem, but not very simple !

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: No Match for argument: asterisk
« Reply #7 on: February 10, 2010, 04:19:57 PM »
You probably needed to localinstall dahdi-linux-kmdl first, before dahdi-linux and dahdi-tools, as the dependancies are the other way round - sorry. I have changed my original post above.

Again, I haven't tested. YMMV

Offline jibe

  • ****
  • 128
  • +0/-0
Re: No Match for argument: asterisk
« Reply #8 on: February 10, 2010, 09:53:56 PM »
Hi timn,

Thanks for your help  :)

But... When I saw your first post, I already succeeded to install SAIL, about the way you explain, with some little differences.

In fact, I downloaded the rpms and made a yum localinstall following the same order as given on the wiki. They changed it since yesterday, so I'm no more sure about it...

Now, they removed all, and advice to install by compiling the sources. Probably, it's less headache ! But if I install SAIL on a production server, I don't like to install/uninstall the dev tools and make compilations on it. Seems there is no other way : according to this post it's impossible to compile on a test server and transfer... :(

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: No Match for argument: asterisk
« Reply #9 on: February 11, 2010, 01:18:28 AM »
Quote
Now, they removed all, and advice to install by compiling the sources. Probably, it's less headache !

I'm sorry if we've given you the impression that we want you to install from sources. All we have said is that unfortunately, suitable rpms aren't always available so we have shown you how to get Asterisk running by compiling from sources.  We don't recommend one method or the other, at least that wasn't our intention.

Kind Regards

S

         

Offline jibe

  • ****
  • 128
  • +0/-0
Re: No Match for argument: asterisk
« Reply #10 on: February 11, 2010, 02:35:29 PM »
Hi,

Don't worry : I just give my opinion, as I think that knowing user's opinion is interesting for you.

I don't know what was your intention and I know that it's not easy for you too ! But if you remove all explanations about installation from rpms in the wiki, how could I consider that you don't drive us to source compilation ? ;)

Maybe source compilation is the right way in this special case. I just mentioned that I don't like that so much (because in most cases, rpms are an easier and safer way). But with kernel modules that often change and atrpm's choice to not keep old versions, it's possible that finally the best way is to compile... I'm just a little confused about what to think !

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: No Match for argument: asterisk
« Reply #11 on: February 14, 2010, 07:44:09 AM »
i have the same probleme today trying to isntall freepbx and needing the righet evrsiob of dadhi linux and dahdi linux kmdl. As i have the 2.6.9-89.0.16 kernel i found your kmdl interesting as it is the last .16 version on the net... but impossible to find th dahdi linux 2.2.0.2-65.el4  suposed to work with.


It is such a pain that contribs put on smecontribs repository version that are not in functional with the kernel provided.

This is not the first time i have issues with this kind of problem. It is like there is no consistency in the production.
Is it too complicated to check dependency before puting in production a rpm and removing the old one ?


by he way somebody would be able to provide the good  dahdi linux 2.2.0.2-65.el4 rpm ?

JP