LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 7 upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-7-upgrade-699170/)

Raevmiza 01-22-2009 12:08 PM

Fedora 7 upgrade
 
Hi all,

I'm trying to upgrade my Fedora 6 to Fedora 7
But every time I start the upgrade I get an error on the end of the upgrade


Transaction Check Error:
file /etc/aliases from install of setup-2.6.4-1.fc7 conflicts with file from package da_exim-4.61-1

I know that it's something about Exim in Da but what should I do upgrade Exim?

jhwilliams 01-22-2009 12:44 PM

Package managers aren't perfect, and yum is certainly no exception. I'm not sure what caused your problem, but you might try:

1. Moving that file temporarirly:
Quote:

mv /etc/aliases /etc/aliases.bak
or

2. Removing da_exim temporarily, then reinstalling once setup-xxxx registers successfully.

I am forced to do things like (1) with apt not infrequently and it seems to solve my issues. Not on Debian -- Debian doesn't need help. Alas, Fedora and Ubuntu cannot be such the prize ponies.

lazlow 01-22-2009 04:17 PM

Why are you upgrade to F7? F7 (and even F8) are not supported any more either. If you are going to the effort of upgrading switch to a supported version (F9 or F10). With support dropping for F9 in April(?), I would go with F10. You may just want to switch to Centos5.2 instead of Fedora. Centos is RHEL with the logos removed. It is free to download/update (unlike RHEL) and has a 5 year support life, as opposed to Fedora's 13 month support life. Centos 5.0 was based on FC6 so it will "feel" very much like FC6.

Raevmiza 01-22-2009 05:40 PM

I solved mu problem upgrading my Exim.
My intention was to go from FC5 to FC6 etc but I'm stuck with 8 wright know. As stupid as I am I just removed yum. So yum does not work any more. Is there a wat to get bask yum? When I type yum I get the following error

# yum
bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

chrism01 01-22-2009 05:49 PM

In a sense, yum is a wrapper around the rpm cmd, so you can try rpm. Note that rpm does NOT do dependencies for you (hence yum).
You just need to note any dependencies it mentions and add them to the cmd.

lazlow 01-22-2009 05:53 PM

Assuming 64bit:

http://download.fedora.redhat.com/pu...4/os/Packages/

servat78 01-22-2009 08:10 PM

Download yum as an RPM package and install it like 'rpm -Uvh yum<version-name>rpm'. Then you have yum again.

Opposing some of the comments - upgrading to recent Fedora version is not necessarily the best idea for older PC's. If it runs as a server without X.org and upgraded with yum, then only the core system is updated, which is OK. But if you have Gnome or KDE and get the newest versions on old machines, then X-sessions will be a drag.

The usual argument for recent Fedora's is security, but given the fact that Fedora is the bleeding part of RedHat's development, you will rather get security flaws or bugs - best example was Fedora 10 and it's stupid bugs in the network GUI code on the initial installer release.

Debian

Raevmiza 01-23-2009 01:32 AM

Yes s I try to install yum again but Im having troubles wit installing Python. Thee to many dependencies to make the install easy. For example.
Installing yum giving me a output:

error: Failed dependencies:
/usr/bin/python is needed by yum-3.2.7-1.fc8.noarch
python >= 2.4 is needed by yum-3.2.7-1.fc8.noarch
python(abi) = 2.5 is needed by yum-3.2.7-1.fc8.noarch
python-iniparse is needed by yum-3.2.7-1.fc8.noarch
python-sqlite is needed by yum-3.2.7-1.fc8.noarch
rpm-python is needed by yum-3.2.7-1.fc8.noarch
urlgrabber is needed by yum-3.2.7-1.fc8.noarch
yum-metadata-parser >= 1.1.0 is needed by yum-3.2.7-1.fc8.noarch


And installing Python giving me an output of :

Failed dependencies:
libpython2.5.so.1.0 is needed by python-2.5.1-26.fc8.2.i386

So I thing Im in an loop

lazlow 01-23-2009 01:39 AM

Save yourself a lot of time and effort, just do a fresh install. Jumping more than one version is just going to cost you more time than it will save you.

John VV 01-23-2009 01:50 AM

Raevmiza are you upgrading 5 to 6 then 6 to 7 then 7 to 8 ...
THIS WILL NOT WORK you will end up with a non-working computer.
just install fedora 9 or fedora 10


All times are GMT -5. The time now is 08:32 PM.