PDA

View Full Version : Transaction error on installing eclipse



Wasted
12th December 2007, 11:40 AM
I did yum install eclipse and i got the following error:



Transaction Check Error:
file /etc/gre.d/gre.conf from install of xulrunner-1.9-0.beta1.4.fc9.i386 conflicts with file from package firefox-2.0.0.10-2.fc8.i386


what must I do?

leigh123linux
12th December 2007, 11:46 AM
I did yum install eclipse and i got the following error:



Transaction Check Error:
file /etc/gre.d/gre.conf from install of xulrunner-1.9-0.beta1.4.fc9.i386 conflicts with file from package firefox-2.0.0.10-2.fc8.i386


what must I do?

Why are you trying to install a Rawhide package ?

post

yum repolist

and

rpm -qa |grep fc9

Wasted
12th December 2007, 12:04 PM
Well I wanted to install Eclipse, all of it, with the plugins. I wanted to try it for programming on c/c++.
Ok here's the code:



repo id repo name status
InstallMedia Fedora 8 enabled
development Fedora - Development enabled
fedora Fedora 8 - i386 enabled
livna Livna for Fedora Core 8 - i386 - Base enabled
updates Fedora 8 - i386 - Updates enabled




yum-3.2.8-2.fc9


Thanks for the attention ;)

leigh123linux
12th December 2007, 12:12 PM
Well I wanted to install Eclipse, all of it, with the plugins. I wanted to try it for programming on c/c++.
Ok here's the code:



repo id repo name status
InstallMedia Fedora 8 enabled
development Fedora - Development enabled
fedora Fedora 8 - i386 enabled
livna Livna for Fedora Core 8 - i386 - Base enabled
updates Fedora 8 - i386 - Updates enabled




yum-3.2.8-2.fc9


Thanks for the attention ;)

Ok you will need to disable the development repo or you will end up running F9 Rawhide :eek:


su
gedit /etc/yum.repos.d/fedora-development.repo


and change



# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#
# Product: Fedora
# Version: devel

[development]
name=Fedora - Development
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[development-debuginfo]
name=Fedora - Development - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[development-source]
name=Fedora - Development - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


to



# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#
# Product: Fedora
# Version: devel

[development]
name=Fedora - Development
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[development-debuginfo]
name=Fedora - Development - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[development-source]
name=Fedora - Development - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


Then run

su
yum clean all

glennzo
12th December 2007, 12:16 PM
Wasted, try disabling the development repo, either with yum, yum --disablerepo=fedora-developement install eclipse or by editing /etc/yum.repos.d/fedora-development.repo and changing the line that reads enabled=1 to read enabled=0.

Edit: I see Leigh beat me to the punch :)

leigh123linux
12th December 2007, 12:24 PM
Wasted, try disabling the development repo, either with yum, yum --disablerepo=fedora-developement install eclipse or by editing /etc/yum.repos.d/fedora-development.repo and changing the line that reads enabled=1 to read enabled=0.

Edit: I see Leigh beat me to the punch :)


It should be


yum --disablerepo=development install eclipse


But this will still leave the development repo active and the next update could advance him to Rawhide ( F9 ) :eek:

P.S Is your spell check working :)

glennzo
12th December 2007, 12:38 PM
It should be


yum --disablerepo=development install eclipse


But this will still leave the development repo active and the next update could advance him to Rawhide ( F9 ) :eek:

P.S Is your spell check working :)
The computer's spell check is working fine. The one on top of my shoulders has many glitches :rolleyes: Consider the fact the I also wrote editing /etc/yum.repos.d/fedora-development.repo. Must be too early in the morning for me. Your suggestion of disabling the repo entirely is clearly the better choice.

Wasted
12th December 2007, 03:22 PM
Thank you alot guys ^^

I have another question, since it's regarded about eclipse, might as well ask this: I installed it fine thanks to you, i also installed the c/c++ plugin, but where do I compile it? I always get the "launch failed no binaries found" error. What should I do?

leigh123linux
12th December 2007, 03:32 PM
Did you install eclipse-cdt ?


http://forums.fedoraforum.org/forum/showthread.php?t=174830&highlight=eclipse+plugins