LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FC7: Installing 'transcode' - "hal conflicts with kernel < 2.6.17" (https://www.linuxquestions.org/questions/linux-software-2/fc7-installing-transcode-hal-conflicts-with-kernel-2-6-17-a-597316/)

fluffels 11-05-2007 01:41 PM

FC7: Installing 'transcode' - "hal conflicts with kernel < 2.6.17"
 
I'm trying to install, among others, ffmpeg, transcode, and suchlike on a clean FC7 box.

I keep hitting a brick wall because of some package called 'hal'. I get this message:

Code:

Error: hal conflicts with kernel < 2.6.17
The thing is, my kernel isn't what it thinks, as I updated it to

Code:

# uname -r
2.6.18-8.1.14.el5xen

So, I'm completely confuzzled. I just need these few packages installed via yum, and it's starting to annoy me, as I've been playing (and failing) all day.

Google searches, and a search on here brings up no mention of the issue on FC7.

Does anyone have any suggestions? Mucho thanko in advance :)

macemoneta 11-05-2007 02:08 PM

It isn't an issue on FC7, because you didn't install an FC7 kernel. The "el5" designation indicates that you installed a Red Hat Enterprise Linux 5 kernel. I'm surprised this is your only problem.

Lenard 11-05-2007 02:08 PM

Try again, this time boot to the non-xen kernel.

fluffels 11-05-2007 02:12 PM

hm, that's odd, because all i did was

Code:

yum install kernel
how do i see, or indeed specify to boot, from another kernel?


edit: for a little more info, it's a base install on a xen VM.. there's no other option for this project. just in case that affects booting from a non-xen kernel...

lazlow 11-05-2007 02:16 PM

List the contents of /etc/yum.repos.d/ . If you have the repos for the wrong distro installed (and it looks like you do) you will not be able to get it fixed until this is cleared up.

fluffels 11-05-2007 02:34 PM

Quote:

Originally Posted by lazlow (Post 2949123)
List the contents of /etc/yum.repos.d/ . If you have the repos for the wrong distro installed (and it looks like you do) you will not be able to get it fixed until this is cleared up.

here's what i've got:

Code:

# ls -l /etc/yum.repos.d/
total 20
-rw-r--r-- 1 root root 1541 May 24 20:58 fedora-development.repo
-rw-r--r-- 1 root root 1084 May 24 20:58 fedora-updates-testing.repo
-rw-r--r-- 1 root root 1006 May 24 20:58 fedora-updates.repo
-rw-r--r-- 1 root root 1096 May 24 20:58 fedora.repo
-rw-r--r-- 1 root root  354 Jun 28  2005 freshrpms.repo


lazlow 11-05-2007 02:40 PM

I would open up the freshrpms and see if you got the el5 one by mistake. Just use a text editor.

macemoneta 11-05-2007 02:48 PM

Freshrpms does not have kernels. With that configuration, the only way you got that kernel is with a manual install.

fluffels 11-05-2007 02:58 PM

Quote:

Originally Posted by lazlow (Post 2949153)
I would open up the freshrpms and see if you got the el5 one by mistake. Just use a text editor.

i opened it up but there's no info about kernels, only a pointer to the freshrpms mirror list.


Quote:

Originally Posted by macemoneta (Post 2949163)
Freshrpms does not have kernels. With that configuration, the only way you got that kernel is with a manual install.

i used this command:

Code:

yum install kernel
..after seeing the message about hal conflicting, and a thread somewhere on the interwebs about upgrading the kernel if this message is seen...

lazlow 11-05-2007 03:02 PM

Only use Freshrpms for a couple of things so I missed that.

The only other possibility is if a repo got added to /etc/yum.conf which would be unusual.

fluffels 11-05-2007 03:26 PM

Quote:

Originally Posted by lazlow (Post 2949180)
Only use Freshrpms for a couple of things so I missed that.

The only other possibility is if a repo got added to /etc/yum.conf which would be unusual.


contents of yum.conf:
Code:

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

so, how can i go about booting in to another kernel, or even listing the others that i have?

Lenard 11-05-2007 03:57 PM

Which version of Red Hat / Fedora are you running???

cat /etc/*release

While I do agree that Freshrpms has no kernels the fedora repos do, you may want to disable them.
You may want to also install the rpmforge repo as directed here:

http://dag.wieers.com/rpm/FAQ.php#B

because of your running kernel......
Quote:

# uname -r
2.6.18-8.1.14.el5xen

fluffels 11-05-2007 05:33 PM

Quote:

Originally Posted by Lenard (Post 2949248)
Which version of Red Hat / Fedora are you running???

cat /etc/*release

Code:

Fedora release 7 (Moonshine)
Quote:

Originally Posted by Lenard (Post 2949248)
While I do agree that Freshrpms has no kernels the fedora repos do, you may want to disable them.
You may want to also install the rpmforge repo as directed here:

http://dag.wieers.com/rpm/FAQ.php#B

because of your running kernel......

Is there any disadvantage to disabling the fedora repos?

I can't see that the rpmforge thing is supported on FC7 :(

lazlow 11-05-2007 06:07 PM

I would hold off installing something new until you figure out how you got that el kernel.

As you boot you will see it say something like booting to kernel blah in x second. Usually you can hit any key, choose any of the installed kernels and then boot.

Lenard 11-06-2007 06:09 AM

OK so you seem to have F7 installed, you have no need for the rpmforge repo because of this.

Like lazow said, how did you get the RHEL kernel installed?? Please list the ones you do have installed;

rpm -qa 'kernel*'


All times are GMT -5. The time now is 06:23 PM.