LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-21-2007, 06:54 AM   #1
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Rep: Reputation: 15
problem in yum


Hello
so i used yum to install kernel and kernel-devel same follow:

[root@localhost ~]# yum install kernel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.19-1.2911.6.5.fc6 set to be installed
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.20-1.2925.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel i686 2.6.19-1.2911.6.5.fc6 updates 16 M
Removing:
kernel i686 2.6.20-1.2925.fc6 installed 45 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 1 Package(s)

Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-2.6.19-1.29 100% |=========================| 16 MB 02:17
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-2.6.20-1.2925.fc6 (which is newer than kernel-2.6.19-1.2911.6.5.fc6) is already installed
and:
[root@localhost ~]# yum install kernel-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-devel to pack into transaction set.
kernel-devel-2.6.19-1.291 100% |=========================| 724 kB 00:01
---> Package kernel-devel.i686 0:2.6.19-1.2911.6.5.fc6 set to be installed
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-devel i686 2.6.19-1.2911.6.5.fc6 updates 4.7 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-devel-2.6.1 100% |=========================| 4.7 MB 00:25
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-devel-2.6.20-1.2925.fc6 (which is newer than kernel-devel-2.6.19-1.2911.6.5.fc6) is already installedreboot system and :

[root@localhost ~]# uname -r
2.6.18-1.2798.fc6xen

why? it should be 2.6.20-1.2925.fc6
for install ip_wccp i did:
[root@localhost ~]# yum install ip_wccp
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: ip_wccp
Nothing to do

also it gets this result for try to install ip_wccp-1.7 or 1.6 module.help me plssssss
 
Old 03-21-2007, 09:05 AM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Do the following
>su
pwd
>gedit /etc/grub.conf

put # in front of hiddenmenu
and
put default=1 and reboot

This will boot the computer into the latest installed kernel(not the xen one) and show you the boot menu where you can select the kernel to boot into
Hope I have got your question correct

Edit: BTW did you manually download & install kernel before doing yum install kernel? It seems that newer version than what exists in the default repository is installed

Last edited by sn68; 03-21-2007 at 09:12 AM.
 
Old 03-21-2007, 10:51 AM   #3
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
thanku,i did what u said,but its kernel is old yet

[root@localhost ~]# gedit /etc/grub.conf
cannot open display:
Run 'gedit --help' to see a full list of available command line options.

[root@localhost ~]# vim /etc/grub.conf


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.20-1.2925.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.20-1.2925.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2925.fc6.img
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,0)
kernel /xen.gz-2.6.18-1.2798.fc6
module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2798.fc6xen.img
title Fedora Core-up (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img

reboot,

[root@localhost ~]# uname -r
2.6.18-1.2798.fc6xen
 
Old 03-21-2007, 11:42 AM   #4
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
put default=0 to boot into 2.6.20-1.2925.fc6 kernel
 
Old 03-21-2007, 12:24 PM   #5
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
ok.thanks.it works properly.but now,how should install ip_wccp via yum?
thank u very much dear Sn68
 
Old 03-22-2007, 05:43 PM   #6
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
how should install ip_wccp via yum?
 
Old 03-22-2007, 09:31 PM   #7
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
ip_wccp does not seem to be available in yum repositories (incl freshrpms & livna)
There is an rpm available at http://rpm.pbone.net (kernel-net-ip_wccp.---.rpm) which you can download and install else you can download the tar file for ip_wccp and install
 
Old 03-23-2007, 07:21 AM   #8
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
i couldnt use those rpms :
[root@localhost ~]# rpm -i kernel-net-ip_wccp-0.1-16@2.2.26_3.i386.rpm
error: Failed dependencies:
kernel-up = 2.2.26-3 is needed by kernel-net-ip_wccp-0.1-16@2.2.26_3.i386
this result gets for others trying
help me
 
Old 03-23-2007, 07:45 AM   #9
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
The kernel version and the ip_wccp version needs to be the same, if you cant find the ip_wccp version to match your kernel, you can always install kernel(which are more easily available) to match ip_wccp version
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
a problem using YUM (FC 6 ) nick911 Linux - Software 1 02-08-2007 02:17 PM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM
problem with yum saipraveen Linux - Newbie 4 08-17-2005 02:23 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration