Fedora Linux Support Community & Resources Center
  #1  
Old 28th May 2011, 07:25 AM
petrb Offline
Registered User
 
Join Date: May 2011
Posts: 11
linuxchrome
Unhappy F14 upgrade failure due to one package

Hi,
I,ve tried upgrade from F14 to F15 using preupgrade, but I run into serious problem. Preupgrade downloaded all packages without problem and prompt me to reboot. After reboot installation process went ok. It was upgrading cca 1650 packages. But installation hung around package 1600 (almost on end) with message that openjpeg-devel-1.4-6.fc15.i686 cannot be installed and only option to end installer. After reboot I ended up with "kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)". It is still possible to enter grub menu, where I can choose upgrade to F15, but it fails again on that openjpeg-devel package. When I enter terminal after failure, I can see package is downloaded in preupgrade repo (and after moving somewhere else and running upgrade again it I got message that package is missing). Is there any possibility to skip this package installation or only option is fresh reinstall?
Thanks for any help.

Udate: I found than kernel panic problem is due to missing initramfs for F15. Is initramfs created after finishing upgrade proces or am I facing the same problem as http://forums.fedoraforum.org/showthread.php?t=263771 ?

Last edited by petrb; 28th May 2011 at 08:10 AM. Reason: new information
Reply With Quote
  #2  
Old 28th May 2011, 12:28 PM
stustustu Offline
Registered User
 
Join Date: Aug 2009
Posts: 11
linuxchrome
Re: F14 upgrade failure due to one package

I am stuck with exactly the same problem except it was Blender that caused anaconda to choke.

Am now trying an upgrade with the F15 DVD but it's also failing saying "Package header redhat-lsb-4.0-6.fc15.x86_64: RPM Cannot open"

---------- Post added at 10:28 PM ---------- Previous post was at 10:16 PM ----------

In an attempt to get around this I used chroot to remove Blender (not sure if this package was the problem or if this is a false positive) but I'm still stuck with the above error when trying to upgrade.
Reply With Quote
  #3  
Old 28th May 2011, 01:44 PM
jpprade Offline
Registered User
 
Join Date: Nov 2007
Posts: 16
windows_vistafirefox
Re: F14 upgrade failure due to one package

I have exactly the same problem, what is the solution?

Maybe by running a live cd and deleting some file ?
Reply With Quote
  #4  
Old 28th May 2011, 03:53 PM
hyde-tech Offline
Registered User
 
Join Date: Sep 2007
Location: Peachtree City, GA USA
Posts: 34
linuxfedorafirefox
Re: F14 upgrade failure due to one package

I had exactly the same situation on two PC and end up I had to do fresh install.
This might happen on which have been upgraded from older version of Fedora such as Fedora12 or you have your own compiled module in your system.

I prefer not to use preupgrade to upgrade.
Since we can not tweak when we get these trouble, I prefer to use old method which update release package then yum update.

Here's how to.
Download these files
fedora-release-15-1.noarch.rpm fedora-release-notes-15.0.0-1.fc15.noarch.rpm fedora-release-rawhide-15-1.noarch.rpm
rpm -Uvh fedora-release-15-1.noarch.rpm fedora-release-notes-15.0.0-1.fc15.noarch.rpm fedora-release-rawhide-15-1.noarch.rpm
reboot
yum clean all
Use Yum Extender with disable all the repos other than fedora15 and fedora15-update.
Do update.
If you get any error message, remove related modules and repeat until you get success.
(I removed ffmpeg which I modified and some older files such as FC12, FC13 extension modules)
Once update finish, reboot and update again.
Reply With Quote
  #5  
Old 28th May 2011, 04:18 PM
jpprade Offline
Registered User
 
Join Date: Nov 2007
Posts: 16
windows_vistafirefox
Re: F14 upgrade failure due to one package

I only have my own ffmpeg module recompiled with faac is it the source of the issue ?

How can I run your command should I boot a F14 kernel in grub ?

if I delete the .rpm and .hdr file in /var/cache/... could it solve the issue ?
Reply With Quote
  #6  
Old 28th May 2011, 04:37 PM
hyde-tech Offline
Registered User
 
Join Date: Sep 2007
Location: Peachtree City, GA USA
Posts: 34
linuxfedorafirefox
Re: F14 upgrade failure due to one package

Quote:
Originally Posted by jpprade View Post
I only have my own ffmpeg module recompiled with faac is it the source of the issue ?

How can I run your command should I boot a F14 kernel in grub ?

if I delete the .rpm and .hdr file in /var/cache/... could it solve the issue ?
That ffmpeg might be the cause.
I haven't tried to fix preupgrade but good to try. If you can remove that ffmpeg rpm, it might continue.
Can you boot with F14 kernel?
Reply With Quote
  #7  
Old 28th May 2011, 05:29 PM
jpprade Offline
Registered User
 
Join Date: Nov 2007
Posts: 16
windows_vistafirefox
Re: F14 upgrade failure due to one package

I didn't tryed to boot F14. F15 is not booting. I fear to broke it more than it is already;

The full message log is (in french):

Mise à niveau de openjpeg-devel-1.4-6.fc15.x86_64
warning: openjpeg-devel-1.4-6.fc15.x86_64: Header V3 RSA/SHA256 Signature, key ID 069c8460: NOKEY
error: unpacking of archive failed on file /usr/include/openjpeg: cpio: rename failed - Ressource temporairement non disponible

---------- Post added at 06:29 PM ---------- Previous post was at 05:57 PM ----------

ok I booted on system rescue cd

and delete the directory :
/usr/include/openjpeg/

and the symlink :
/usr/include/openjpeg.h

and the installation finish.

But F15 does't boot :
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Reply With Quote
  #8  
Old 29th May 2011, 04:48 AM
stustustu Offline
Registered User
 
Join Date: Aug 2009
Posts: 11
windows_xp_2003ie
Re: F14 upgrade failure due to one package

Looks like I'll have to do a clean install here too - just can't get it to boot, even using the 2 older kernels I still have installed.

This machine (Dell Precision M4400 laptop) was a fairly fresh install of F14 so it's not as though it's been upgraded from older Fedora versions over the years.

I've used preupgrade on other PCs before and it's always worked well, just not this time.

Reply With Quote
  #9  
Old 29th May 2011, 01:08 PM
snurk Offline
Registered User
 
Join Date: May 2011
Posts: 1
linuxfedorafirefox
Re: F14 upgrade failure due to one package

I had the same openjpeg problem and removed all openjpeg refrences in /usr/include as jpprade suggested.
Then I rebooted and intercepted the Grub menu using the down arrow when the kernel name shows at the screen and instead of F15 I selected the F15 upgrade menu option.
This is now almost complete without any reference to openjpeg errors.
I will probably have to reinstall openjpeg with yum, we'll see.
Reply With Quote
  #10  
Old 7th June 2011, 01:25 PM
Randee Offline
Registered User
 
Join Date: Oct 2009
Posts: 6
linuxfirefox
Re: F14 upgrade failure due to one package

Hi all,

I am currently on a limited mobile broadband account and did not want to waste precious data on a wasted attempt at using preupgrade, which is obviously carrying a few flaws and I think a major one is that if the package download is interrupted for any reason it resumes on the next package without checking that the one it stalled on was downloaded fully, which I thought was a good reason for checksums.

Anyway I had a few tries and noticed that it stalled on the same package each time so I decided to boot from a live system, in my case Xubuntu, which is going on if I don't get Fedora going soon. I searched for the problem package and redownloaded it using the live system and then located the faulty package, which was in /var/cache/yum/preupgrade/then-according-to-repository. Please note that this came from memory as it has all been deleted now that I have semi-successfully updated.

The problem package was somewhat smaller than the replacement one, when I confirmed the replacement, indicating that the original package had not completely downloaded and preupgrade had not checked this.

Anyway after doing this I managed to get the upgrade to complete but came up with a kernel panic on rebooting. My investigations so far have revealed that an init ram drive has not been set up for the new kernel and it can't read the ext4 filesystem I am using, leaving me with the dilemma of how to create the ram drive, or do I put Ubuntu on, or change to Gentoo so that I get rid of a lot of the bloat and learn something about Linux???

I hope this minor chronicle has been of help to somebody, you do not have to do any more than replace a faulty package (or two) to get the upgrade to complete, but I hope you don't have the boot errors I am finding.

Cheers
Reply With Quote
  #11  
Old 15th June 2011, 10:34 AM
lhtri Offline
Registered User
 
Join Date: May 2005
Posts: 2
windows_7firefox
Re: F14 upgrade failure due to one package

I had the same problem (openjpeg, missing initramfs, kernel panic on reboot). Finally, i got it work as below:
- Fortunately, my non-PAE kernel has initramfs, so can made it boot to level 3
- Reinstalled PEA kernel
- Do an upgrade by yum
Reply With Quote
Reply

Tags
f14, failure, package, upgrade

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
smartmontools package dependency failure [SOLVED] midair5 Using Fedora 5 15th June 2009 05:45 PM
Package managment app failure Ryan Mc Installation and Live Media 2 23rd January 2007 11:32 AM
Package Installation Failure src2206 Using Fedora 2 21st September 2006 09:44 PM


Current GMT-time: 12:30 (Monday, 20-05-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