Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been given a VM with Fedora Core 1 and was told I cannot reinstall the OS, only upgrade it. I have been scratching my head over it, but nothing seems to work. I tried up2date (dead repos), yum upgrade (which apparently does not what I thought it), and the Fedora Core 2 DVD iso (which only lets me install packages, and not actually upgrade the OS??).
Part of the problem you would hit (even if you locate archived repositories) is that the RPM database gets reformatted around Fedora 9/10 (thus making it very difficult to update - many failed). Second, other drastic changes to the system made updates a bit dicy (F14 to F15 did not go well, and F16 changed things again). Between F16 and F20 the UID allocations changed from starting at 500, to starting at 1000. And some of the UIDs (and GIDs) between 500 and 1000 are now used for some of the system services (polkitd, a new service, uses 995, another new one cockpit-ws uses 994, the new time service chrony uses 998, and there are a others).
The system itself doesn't use grub any more (now referred to as "grub legacy"), and uses grub2.
One additional note: Many of the Linux distributions are gradually phasing out 32 bit support, or supporting 32 bit after getting 64 bit configurations working. Based on the age of your Fedora version, I would believe that the VM is only 32bit capable. Fedora still has a 32 bit repository, but it is relegated to a "Other Downloads"...
Fedora Core 1 was a general distribution - server/workstation. The current Fedora (21) has this split up into workstation, server, cloud. The only real difference between them is what is considered the default set of layered package sets. You can still install workstation software on either server or cloud (and vice versa) - it just isn't done by default.
One additional thing - Fedora takes up a good bit more disk space than it used to. My current VMs use a 20GB storage allocation for the system. The boot partition alone has a minimum size of 600MB
(and IMO, should be 1 GB to allow you save more versions of the boot system, it is also used for certain update procedures that save rpms there temporarily there; having it too small means the update fails). A more minimal install than mine (I tend to throw in multiple desktops, development, and server software) would need about 10GB (actual use might be as low as 4-5GB).
What follows depends entirely on the context of the word "upgrade" in your organization. This is NOT a recommendation.
Many organizations use the word upgrade to mean "replace what exists with the newer version of the same equipment". In your case, this might mean "do not replace the VM", rather than "do not install the newer software".
Now taking this step does mean that the list of currently installed packages will need to be checked against the new list. A number of packages have been dropped - replaced by new packages (naturally with different names) to cover the same functions. In some cases, the functions were split into multiple packages. I believe FC1 had all the libraries installed for development, even if you weren't doing development, now there are separate packages for such, and a LOT more options for developers, such as Eclipse IDE; new languages.
And note - how easy/well some things can be installed will depend on the amount of disk space available.
Last edited by jpollard; 04-30-2015 at 07:34 AM.
Reason: can't spell worth a...
Fedora Core 1 was released over 12 years ago and is not likely to work well if at all on a newer computer and obviously, the problems stated in the post above apply.
I have been given a VM with Fedora Core 1 and was told I cannot reinstall the OS, only upgrade it. I have been scratching my head over it, but nothing seems to work. I tried up2date (dead repos), yum upgrade (which apparently does not what I thought it), and the Fedora Core 2 DVD iso (which only lets me install packages, and not actually upgrade the OS??).
How can I attempt an upgrade?
You don't, and you don't even attempt it.
Honestly, if this is for a client/job, then just walk away. You are in a no-win situation, if the people you're working with want to work with a version of an OS that is TWENTY (20) versions out of date. There is no 'upgrade'...there is 'replace'. If they insist, and won't listen to reason (and this is your employer), then you need to polish off your resume, and start looking for a new job. Let such things fail without YOU being involved.
The better course of action is to ask a few things:
WHY they want to keep it. Any reasons of "We only want to work with version xxx of program" are immediately discarded. They are invalid..they need to learn the new versions, period.
What services are running on the box? ANY services are either still available or have been replaced with newer ones that do the same things. Since this box is running now, in a VM, you are in a PERFECT spot to load a current OS, and configure the services and test them. Config files can be copied.
Not many. nearly all the configuration files have changed format and require more information than what was recorded for FC1.
Some of this is due to things changing names. FC1 had fixed device/network names for instance. Current Fedora doesn't. You can't use an old fstab as the device names may not match (though with a VM and a single disk they really ought to). In FC1 you used "/dev/hda1, /dev/hda2...". These are gone. The IDE subsystem has been merged with the SCSI subsystem - thus they would now be /dev/sda1, /dev/sda2... On some systems the hda references can still exist though (it depends on the VM), and there are new ones (vhd) that work faster for VMs though they don't exist outside the VM (and it depends on which VM support the host is using too).
In the case of networks, VMs normally only have one (eth0), but it depends on the VM support as to what the emulation actually is, and that might change the name (I would expect it to be eth0, but I have also seen vibr0 - the name for a virtual bridge network device).
"Red Hat Network Alert Notification Tool" (long name...) says there is only an update to kernel available, but when I actually launch up2date, it says there are no updates available... =/ I updated the /etc/sysconfig/rhn/sources file for up2date. Now, I am just curious...
I read here that FC1->FC2 should be done using anaconda. What does that mean? Isn't anaconda just the regular installer that comes on the iso DVD? That didn't let me upgrade either.
I guess what I am wondering is... how DID people upgrade FC1 back in the day?
"Red Hat Network Alert Notification Tool" (long name...) says there is only an update to kernel available, but when I actually launch up2date, it says there are no updates available... =/ I updated the /etc/sysconfig/rhn/sources file for up2date. Now, I am just curious...
I read here that FC1->FC2 should be done using anaconda. What does that mean? Isn't anaconda just the regular installer that comes on the iso DVD? That didn't let me upgrade either.
Please, stop where you are and consider what you're doing.
FC2 is STILL ANCIENT, and should not be used. Even *IF* (and IF is in big letters here), you could somehow manage to do an upgrade to FC2...so what? It's still incredibly insecure, buggy, and outdated. That's like trading in your 1972 Gremlin for a 1974 Pacer...yes, it's newer, but so what? And where does it end? Going to go from FC2 to FC3? All the way to 21?? No, sorry...things are going to break, period. As noted, config file types/syntax may have changed, and you'll have to re-install/reconfigure services anyway. Putting this off is absolutely pointless.
If this is a server, it's even MORE pointless, since even if you do a fresh install of the latest Fedora, it'll be replaced in six months...that's what a development distro is. Load a server-grade distro like CentOS, or Ubuntu LTS, which has a very long term-of-life, with good support. Migrate what you need to, and do the job right. Doing it half-way for no good reason is a waste of time.
I guess what I am wondering is... how DID people upgrade FC1 back in the day?
I ran Fedora from FC1 on and especially the early releases introduced lots of changes which gave it a bad rep (esp. with those who didn't want to tinker under the hood). Things got better up until around 15 / 18 (IIRC) which introduced Systemd, the / -> /usr layout change and other changes that warranted a clean install. I think (I didn't really keep a log of things) the two unsupported upgrade methods and 'fedup' worked kind of well for me from 17 on, so usually I only keep backups of MBR, /home, /etc, /root and /usr/local (mind you, these are more or less non-critical systems) and then take 2 to 4 hrs to reconcile configs and learn about new features and technology previews.
Long story short: yes, you can run FC-%{whatever} but you must not expose it to any public network nor burden us with any support questions, period. From experience I wouldn't suggest "upgrading" any old version of Fedora Core or Fedora below 18 but just install cleanly. Note this should in no way be mistaken for any endorsement or encouragement to run anything other than the current release. Not only will you be running unsupported, unmaintained software but also upstream and the Fedora community will not benefit from any bug reports that you as good Fedora user should file to help make it better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.