Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th April 2009, 11:07 AM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hylafax and yum

Hi All,
I'm looking for a bit of advice. I've been running FC5 now for a long time, its sat in the corner of the office for 4 years or so with no problems. It runs a samba service to talk to the windows pcs and a webservice that clients can log into for information.
I want to install hylafax to answer our fax line. Using yum i try 'yum install hylafax' .

This does not work ! the url in the repo is wrong , does anyone know the right one ? , the same with the software update it cant find anything.

I did have sucess with yum update last night, that worked great, i updated 354 packages no problem.

without being rude, can anyone think of a way forward for me

thanks

grayboots
Reply With Quote
  #2  
Old 30th April 2009, 02:53 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
I just searched in the FC5 core, updates and extras repos (in the archives) and there is no hylafax rpm in any of them. The earliest version of Fedora I could find hylafax for is F8. Have a look on rpm.find.net and see if any of these packages might work on FC5. Chances are pretty good that resolving any dependencies will be a major impediment. You'll more than likely need to compile it from source code, if you can round up the dependencies to do that.

Edit: Looking a bit further, I found it for FC5 here.

Last edited by PabloTwo; 30th April 2009 at 02:59 PM.
Reply With Quote
  #3  
Old 30th April 2009, 03:46 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hi PabloTwo,
Thanks for the reply, your link does point to a hylafax version for Fc5. I still have trouble installing anything using package manager , it fails to install. Yum also fails due to the yum .repo file returning a 404 url not found message.
I try rpm -i install hylafax ......rpm from terminal but that also fails to start.
I have downloaded the rpm but im not sure which directory i should install from , or too. I think i should be able to install from a local file ?

Any help appreciated

Grayboots
Reply With Quote
  #4  
Old 30th April 2009, 04:43 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
Quote:
Originally Posted by grayboots
I did have sucess with yum update last night, that worked great, i updated 354 packages no problem.
From the statement you made above, I assumed that you had edited your FC5 repo files to reflect the fact that the FC5 repos have moved long ago to the archives, and that you were aware that the original FC5 repos no longer existed. If you have never changed your FC5 repo url's, then I am in disbelief that you could have performed an update of 354 packages, let alone even one, using yum.
Quote:
Originally Posted by grayboots
I try rpm -i install hylafax ......rpm from terminal but that also fails to start.
If you did not first switch to root you cannot install an rpm package. Also, was the rpm package of hylafax that you downloaded in your current working directory when you tried that? If it was not, then you would need to have specified the full path to that rpm package file. It doesn't matter what directory you are in or what directory the package is in in order to install it, only that you are root and that you specify the full path to the file if it not in your current working directory. You would also need to type the full name of the package, or use a glob "*"

# rpm -ivh hylafax-5.2.9-1.fc5.i386.rpm ....or
# rpm -ivh hylafax-*

Note that your "rpm -i install hylafax" command is wrong. "-i" means "install". This syntax would try to install two packages (install and hylafax), but both with incomplete names, which would fail.

Last edited by PabloTwo; 30th April 2009 at 04:51 PM.
Reply With Quote
  #5  
Old 30th April 2009, 05:03 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hi Again,
Yes i am logged in as root. When i type 'dir' i see the listing of the current directory and the hylafax rpm is there.
I tried the command [rpm -ivh hylafax-5.2.9-1.fc5.i386.rpm] it thought about it for a while and gave a different error this time "cannot create %sourcedir /usr/src/redhat/SOURCES"
Im not sure if this is a step forward !

I used yum update sucessfully last night by just uncommenting the base url line in the three .repo files.
Do you know the new url that i should be pointing my yum repo files too ?

Thanks again for the help

grayboots
Reply With Quote
  #6  
Old 30th April 2009, 05:27 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
Quote:
cannot create %sourcedir /usr/src/redhat/SOURCES
That's perplexing. Makes me think it's actually a src.rpm package instead of compiled binary package due to the fact it's trying to make directory /usr/src/redhat/SOURCES, which is part of the default rpmbuild directory tree. Did you accidentally download the "....src.rpm" package?

Try (you don't need to be root for this): rpm -qpl hylafax-5.2.9-1.fc5.i386.rpm

That will give you a list of every file and it's location the package would install.

Also try: rpm -qpi hylafax-5.2.9-1.fc5.i386.rpm

To see if the Description matches what the package name implies.
For the url's of the archives: core, updates and extras:
Code:
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/5/i386/os/
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/5/i386/
http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/5/i386/
Edit: These are for the baseurl= lines. You must comment out the mirrorlist= lines.

Last edited by PabloTwo; 30th April 2009 at 05:43 PM.
Reply With Quote
  #7  
Old 30th April 2009, 05:59 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hi again,

Yes you are right , i had downloaded the .src.rpm version. I have now downloaded the correct .rpm and have made a leap forward.

[root@server ~]# rpm -ivh hylafax-5.2.9-1.fc5.i386.rpm
error: Failed dependencies:
sharutils is needed by hylafax-5.2.9-1.i386
[root@server ~]#

I need to install this new piece of software, this seems only available in a .src or a .gz.
I think i need an idiots guide on how to do this !

I have updated the base urls of the three .repo files with the new addresses. It is no different ! Are these the mirror locations or the base urls

Thanks for your help

grayboots
Reply With Quote
  #8  
Old 30th April 2009, 06:30 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
See the Edit to my last post #6 concerning the new url's.

Once you have made those edits (and hopefully they work), then try:

yum localinstall hylafax-5.2.9-1.fc5.i386.rpm

Yum should then check the repos for any needed deps. If you get an error message about a missing KEY and it fails because of that, well..... The newest versions of yum have a "--nogpgcheck" option, but I don't think your old FC5 version of yum has that. You could try it and see.

Otherwise, it would need to be: rpm -ivh --nosignature hylafax-5.2.9-1.fc5.i386.rpm after installing the missing dep(s) first

The other packages for deps being one(s) that you manually downloaded from wherever, or, you could try and use yum to install the missing dep package(s) prior to attempting to install hylafax. I'm also not sure if your version of rpm has a --nosignature option. Check with 'man rpm' to find out.

Checking on http://rpm.pbone.net tells me that sharutils-4.6.1-1.2.i386.rpm is in the FC5 core archive repo. If your repo edits are working OK, then using yum should work to get the sharutils package. You will need to make much use of the rpm.pbone.net resource locator in order to feed your long unsupported version of Fedora new software.

Edit: The actual sharutils file is located here. This is actually two directory layers below the baseurl address I posted for the 'core' (.../os/Fedora/RPMS/), but all later versions of Fedora after 5 work with the 'core' repo address ending on the /os/ directory. It may possibly be necessary to adjust the 'core' repo url to add either one or both for yum to work correctly. You may have to experiment with that.

Last edited by PabloTwo; 30th April 2009 at 06:43 PM.
Reply With Quote
  #9  
Old 30th April 2009, 06:43 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hi Again,
Thanks very much for your help today. I will try again with your suggestions tomorrow.
I'm sure we will get it going, but i wonder if i would be better backing up all of my work and doing a fresh install with the latest fedora release.
I will let you know how i progress.

Thanks again for your valuable time today

grayboots
Reply With Quote
  #10  
Old 30th April 2009, 06:47 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
Actually, for running a server with longer term support, backing up your data and installing CentOS5.x (whatever is the latest current version), would be the smarter thing to do.
Reply With Quote
Reply

Tags
hylafax, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hylafax on FC10 g33kwannabe Using Fedora 5 1st February 2009 09:49 PM
Hylafax - installation - what to do next? Airmister Servers & Networking 0 19th November 2006 03:32 PM
Hylafax Mad_Tux Servers & Networking 3 14th October 2004 02:59 AM


Current GMT-time: 12:12 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat