LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-07-2015, 05:51 PM   #1
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Fedup and local packages


Hello All,
I ran into problems when I tried to use Fedup to upgrade from Fedora 20 to 21, and although the cause of those problems was never clear, I suspected that having locally built and installed packages may have been part of the problem.
I have looked for advice on any preparation one should take on this (e.g remove/uninstall any locally built packages) prior to using Fedup, but never seen anything on the subject.
Does anyone have any knowledge/experience on this?

Cheers,
Terry
 
Old 07-07-2015, 11:13 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
rual #1 with fedora
HOPE for the best
PLAN FOR THE WORST

you did make a back up ?

reformat and install 22 and copy over the data from the back up

with rpmfusion the main "extra" repo
that "? should ?" not be much of a issue ??? maybe ???


if the code you built from source is some of the system files - that WILL!!!!! caues problems

did you also use rpmbuild on them - THAT might have a big impact on fedora
--- i have NEVER had a fedora upgrade work out well
i have ALWAYS ended up reformatting and installing the NEW version

Last edited by John VV; 07-07-2015 at 11:17 PM.
 
Old 07-08-2015, 05:35 PM   #3
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by John VV View Post
if the code you built from source is some of the system files - that WILL!!!!! caues problems
did you also use rpmbuild on them - THAT might have a big impact on fedora
No system files, only applications, and built with rpmbuild.
I doubt that local builds that don't involve the package manager are ever going to be an issue as they are unknown to the package database.

Cheers,
Terry
 
Old 07-08-2015, 09:31 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Fedora upgrades have always been a bit hit-and-miss - they are getting better despite the constant protestations of @John VV.

I use a separate /home which allows me to simply do a clean re-install if the fedup goes pear shape. Of course I always have a backup first as well.
I think all my recent fedups have (eventually) worked - including a system where I have built kernels as a rpm package locally. Only problem is usually missing keys - google chrome, rpmfusion, fedora repository. Yep, even the target fedora itself. Go figger.
 
Old 07-09-2015, 01:50 AM   #5
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by syg00 View Post
Fedora upgrades have always been a bit hit-and-miss - they are getting better despite the constant protestations of @John VV.

I use a separate /home which allows me to simply do a clean re-install if the fedup goes pear shape. Of course I always have a backup first as well.
I think all my recent fedups have (eventually) worked - including a system where I have built kernels as a rpm package locally. Only problem is usually missing keys - google chrome, rpmfusion, fedora repository. Yep, even the target fedora itself. Go figger.
I did a lot of careful preparation, un-installed all my locally built and installed rpms, prepared 2 backups, each on different disks, of all my /home stuff, then followed the story of how to use fedup to get from 21 to 22, using network.
It all went exactly as they said it should, and the reboot provided a new boot option "system upgrade", which showed me progress as it did it's business, and finally it rebooted and this time gave me a boot option "twenty two"...and then it went well and truly pear shaped!
I end up with a message " Failed to start load kernel modules".
How on earth could it do everything without error, and leave me with a buggered system?
I can log in as root into a text only system, but blowed if I know what to do now.
Any advice would be appreciated.
P.S I have managed to boot into Fedora 20, on another disk...and this is S-L-O-W...an iron disk. My system disk is now an SSD, if I could only boot into it!

Cheers,
Terry
 
Old 07-09-2015, 06:35 PM   #6
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Fedora 22 boots into 'emergency mode', which leaves me a bit out of my depth as to what to do.
I have run 'journalctl -xb' and perused the output and I find (highlighted in red) "failed to find module 'vboxguest' ", also modules " vboxsf" and vboxvideo", so I'm guessing this may the problem.
Clearly my fault for overlooking the fact that I had VirtualBox installed, but I don't recall fedup calling foul on this before actually running the upgrade.
So, the big question, is there a way to extricate myself from this, after booting into emergency mode?

Cheers,
Terry
 
Old 07-09-2015, 07:19 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Anything in /etc/modules-load.d/ ?
 
Old 07-09-2015, 07:53 PM   #8
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by syg00 View Post
Anything in /etc/modules-load.d/ ?
Nothing in /etc/modules-load.d/

Cheers,
Terry
 
Old 07-09-2015, 08:23 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Emergency mode probably means initramfs. Sooo - if it was me I'd just check I was on the F22 kernel (uname -r), then rebuild the initramfs (dracut -f) then reboot. If it didn't fix it, I wouldn't waste any more time on it, and just do a full (clean) install of F22.

The dracut manpage has plenty of good info for your situation - including a sosreport file that will be created in your case.
 
Old 07-09-2015, 09:29 PM   #10
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
OK, uname -r reports '4.0.6-300.fc22.x86_64', so that looks OK.
'dracut -f' silently went about its business, and no sign of an sosreport file.
A reboot puts me back in exactly the same situation...so not good.
I'll now set about a clean install, which is a real bugger.
The ability to upgrade, instead of having to do a clean install, really should be foolproof, but perhaps that's asking too much :-)

Thanks for your help.

Cheers,
Terry
 
Old 07-11-2015, 10:30 PM   #11
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
I ran Fedup from 21 to version 22. I had external repositories for codecs, adobe, etc. And I ran it without reading he manual.

It ran for almost 8 hours (I put it on before retiring for the night), and in the AM, when I rebooted, I had a perfect Fedora22 system. That Fedora22 system included all updates and some for the non Fedora (external) repositories.

If you experienced problems with Fedora, I would attribute it to Nvidia graphics card drivers. These are very very kernel version specific.

I have actually, since Fedora22 was released, switched over to Chapeau Linux (www.chapeaulinux.org) or Distrowatch.

Chapeau Linux came with all of the items that I wanted to have included in a Fedora release. Chapeau Linux just worked after the reboot.

There were two warning messages which I was advised to ignore. One was for Dropbox updates and the other for Pharlap updates. I disabled the two repositories by changing the line enable=1 to enable=0. I have 4 versions of Chapeau Linux wrapping itself around Fedora22. Chapeau Linux is a superset of Fedora22. And yes, Fedup worked to bring Chapeau Linux 21 to Chapeau Linux 22.

One version -- a 1 gig memory netbook (atom processors)
One version a 4 gig memory Samsung laptop (I3 processor)
Two versions on 8 gig desktop -- one that boots from a 1 terabyte drive, the other from a 120 gig SSD.

Because Chapeau Linux is clean, clean, clean, the only updates I am receiving are for LibreOffice, Adobe, Firefox and the Gnome stuff.
 
Old 07-11-2015, 11:28 PM   #12
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by Lsatenstein View Post
If you experienced problems with Fedora, I would attribute it to Nvidia graphics card drivers. These are very very kernel version specific.
I doubt that...I wasn't using a proprietary graphics driver, just the Fedora supplied driver.

Cheers,
Terry
 
Old 07-12-2015, 01:15 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by Lsatenstein View Post
Because Chapeau Linux is clean, clean, clean, the only updates I am receiving are for LibreOffice, Adobe, Firefox and the Gnome stuff.
No vulnerability fixes (think ssl, ssh), no kernel updates, no nuthin' ... ?.
Doesn't sound like a Fedora spin I would want to play in.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Local file conflict BeTween packages?? Manish87 Linux - Newbie 2 06-29-2010 08:06 AM
Creating Local Respository for all packages vskram21 Linux - Software 6 12-30-2009 10:06 PM
Problem with packages - local list doesn't list all packages from a mirror simopal6 Debian 2 09-01-2008 04:44 AM
How to install packages from local media. chaitanya.daphal84 Linux - Newbie 1 01-29-2008 05:28 AM
Installing packages from local archives? Ravi72 Debian 2 09-13-2005 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:53 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