- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Fedora core 4 to core 5 upgrade blues
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-18-2006 08:30 AM
04-18-2006 08:30 AM
Fedora core 4 to core 5 upgrade blues
uname -a
Linux host1.domain.com 2.6.16-1.2069_FC4 #1 Tue Mar 28 12:19:10 EST 2006 i686 i686 i386 GNU/Linux
when I wanted to upgrade from core 4 to 5, I followed the instructions on the same page that I followed for core 3 to 4 upgrade. But I am having problems.
The procedure I followed :
Download and install the Fedora Core 5
Example:
# rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
(which I did exactly)
yum upgrade 2>&1 | tee /tmp/yum_upgrade
at this point it bums out. And the troubleshootings says:
Failures generally indicate that a currently-installed RPM has a dependency that cannot be satisfied with packages from the new Fedora Core release. Deprecated packages and packages from third party repositories may cause this problem.
The following generates a list of packages that may need to be removed prior to a successful yum upgrade.
$ perl -ne 'print "$1\n" if ((/Error: Missing Dependency:.*is needed by package (.*)$/) || (/Error: Package (.*?) needs.*, this is not available./))' /tmp/yum_upgrade | sort | uniq
command above gives the following output:
hal
initscripts
kudzu
and troubleshooting text continues as follows:
If the initscripts package is returned, I recommend booting into the latest Fedora Core 4 kernel, removing all previous kernels, and running yum upgrade again.
I have included a reboot between old kernel removal and running yum upgrade. Here is my boot filesystem contents:
# ll /boot
total 5763
-rw-r--r-- 1 root root 63029 Mar 28 09:43 config-2.6.16-1.2069_FC4
-rw-r--r-- 1 root root 50929 Nov 2 2004 config-2.6.9-1.667
drwxr-xr-x 2 root root 1024 May 19 2005 grub
-rw-r--r-- 1 root root 1661220 Apr 12 18:05 initrd-2.6.16-1.2069_FC4.img
-rw-r--r-- 1 root root 968908 Dec 29 2004 initrd-2.6.9-1.667.img
drwx------ 2 root root 12288 Dec 29 2004 lost+found
-rw-r--r-- 1 root root 786855 Mar 28 09:43 System.map-2.6.16-1.2069_FC4
-rw-r--r-- 1 root root 714266 Nov 2 2004 System.map-2.6.9-1.667
-rw-r--r-- 1 root root 1598219 Mar 28 09:43 vmlinuz-2.6.16-1.2069_FC4
as you can see, there is only one kernel. Yet the yum upgrade fails with the same exact package names and I looked them up in the log file and this is what I got:
grep Error /tmp/yum_upgrade
Error: Bad repository file ///etc/yum.repos.d/dries.repo.
--> Processing Conflict: kudzu conflicts keError: Unable to satisfy dependenciesError: Package hal needs kernel < 2.6.11, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
do I need to downgrade my kernel version ? If so, how do I do it ? Or any other suggestions ??
As always, thanks in advance.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-18-2006 08:48 AM
04-18-2006 08:48 AM
Re: Fedora core 4 to core 5 upgrade blues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-18-2006 09:49 AM
04-18-2006 09:49 AM
Re: Fedora core 4 to core 5 upgrade blues
from all none "default fedora repo" *.repo
copy somewhere else atrpms.repo_keep
keep fedora-core.repo
keep fedora-development.repo
keep fedora-extras-development.repo
keep fedora-extras.repo
keep fedora-legacy.repo
keep fedora-updates.repo
keep fedora-updates-testing.repo
copy somewhere elselivna-devel.repo
copy somewhere elselivna.repo
copy somewhere else livna-testing.repo
copy somewhere else dries.repo
make sure that all that is left point to fedora core 5 not fedora core 4
then
# yum -y update
If this fails it may also be less painfull to apply upgrade from the 5 fedora core 5 cd
Keep us informed on progress.
Jean-Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-18-2006 06:00 PM
04-18-2006 06:00 PM
Re: Fedora core 4 to core 5 upgrade blues
I have tried doing online updates in the way you describe and have found that, almost without exception you have to run the rpm -U several imes in order for it to resolve all the dependancies, and also that using the extra "--aid" flag can help.
I would still recommend that you download the ISO's to CD/DVD, and boot from it to do the upgrade, as this is must cleaner and easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2006 02:28 PM
05-01-2006 02:28 PM
Re: Fedora core 4 to core 5 upgrade blues
# rpm -qa "kernel*"
kernel-2.6.9-1.667
kernel-2.6.16-1.2069_FC4
#
Jean-Pierre, here is the screen capture from repos directory manipulations and subsequent attempt of yum -y update:
#cd /etc/yum.repos.d/
# ll
total 36
-rw-r--r-- 1 root root 10 Apr 12 17:58 dries.repo
-rw-r--r-- 1 root root 840 Mar 14 15:20 fedora-core.repo
-rw-r--r-- 1 root root 1549 Mar 14 15:20 fedora-development.repo
-rw-r--r-- 1 root root 780 Mar 14 15:20 fedora-extras-development.repo
-rw-r--r-- 1 root root 763 Mar 14 15:20 fedora-extras.repo
-rw-r--r-- 1 root root 486 Mar 14 15:20 fedora-legacy.repo
-rw-r--r-- 1 root root 790 Mar 14 15:20 fedora-updates.repo
-rw-r--r-- 1 root root 865 Mar 14 15:20 fedora-updates-testing.repo
# mv dries.repo ~mburslan
# ll
total 28
-rw-r--r-- 1 root root 840 Mar 14 15:20 fedora-core.repo
-rw-r--r-- 1 root root 1549 Mar 14 15:20 fedora-development.repo
-rw-r--r-- 1 root root 780 Mar 14 15:20 fedora-extras-development.repo
-rw-r--r-- 1 root root 763 Mar 14 15:20 fedora-extras.repo
-rw-r--r-- 1 root root 486 Mar 14 15:20 fedora-legacy.repo
-rw-r--r-- 1 root root 790 Mar 14 15:20 fedora-updates.repo
-rw-r--r-- 1 root root 865 Mar 14 15:20 fedora-updates-testing.repo
#yum -y update
Setting up Update Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 249 kB 00:07
updates : ################################################## 805/805
Added 284 new packages, deleted 0 old in 6.61 seconds
primary.xml.gz 100% |=========================| 1.0 MB 00:02
extras : ################################################## 2966/2966
Added 467 new packages, deleted 121 old in 14.78 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package expat.i386 0:1.95.8-8.2 set to be updated
---> Package tux.i386 0:3.2.18-4.2.1 set to be updated
...
...
long list of similar output lines deleted for space saving
...
...
and the process got hung for longer than 2 hours and I killed it.
Andrew, downloading ISO's and burning them to CDs to upgrade is always on my mind as a last resort. Right now, I am trying all possible non-hard-media involving ways.
Thanks all but I am still at a stand still. Any further advice is greatly appreciated.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2006 06:09 PM
05-01-2006 06:09 PM
Re: Fedora core 4 to core 5 upgrade blues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2006 06:35 PM
05-01-2006 06:35 PM
Re: Fedora core 4 to core 5 upgrade blues
I just did an upgrade within RH 4 from update2 to update3 with Vitaly's method.
It worked out relatively well.
I'd kind of back up my custom configuration at this point, install FC 5 and then reinstall applications and customizations.
Would you trust a system to do any serious work after what this one has been through? I would not.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2006 09:31 PM
05-01-2006 09:31 PM
Re: Fedora core 4 to core 5 upgrade blues
As I mention in previous note, I still thing that if this fails for you the best is to down load cd to do this, mind you you still have to yum -y update after that and that also will take a very long time !.
Downloading rpm localy has that advantage that you can use a system "nearby/fast" to do downloads, then install.. then a very last yum update for the very latest.
...SEP is also right that having had all theses hardship during upgrade , you should be carefull when you use this after that... probably lots of monitoring and tweaking will be needed.
my less then 2 Euro cent "advices/comment"
Jean-Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-02-2006 02:48 AM
05-02-2006 02:48 AM
Re: Fedora core 4 to core 5 upgrade blues
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-02-2006 02:57 AM
05-02-2006 02:57 AM
Re: Fedora core 4 to core 5 upgrade blues
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP