LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-16-2004, 01:26 PM   #1
thorax
Member
 
Registered: Jun 2004
Location: Germany
Posts: 73

Rep: Reputation: 15
can't install RPMs under Fedora Core 2


Hi!
RPM seems to be broken on my freshly set up Fedora Core 2 distro. I first recognized it when I wanted to install the xmms-mp3 package. First, it tries to solve the dependencies, saying I need xmms => 1.2.7
When you then force it with --nodeps it just says
----------------
Warnung: xmms-mp3-1.2.7-0.rhfc1.dag.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
Fehler: can't create transaction lock
---------------

I thought it had something to do with the forced ignoring of the dependencies, so I tried to install my favourite linux game, LBreakout2 out of its RPM, but I got the same error.
Is there any way to fix this?
 
Old 06-16-2004, 02:02 PM   #2
csummers
LQ Newbie
 
Registered: Jun 2004
Location: London, UK
Distribution: Fedora, Knoppix
Posts: 3

Rep: Reputation: 0
Installing Software on FC2

Hi there,

I really recommend the use of yum for installing software if you have a half decent internet connection.

Open a terminal window and type 'yum install synaptic' for a start. Synaptic is a nice yum front end with which you can serach for any package you want. Then use synaptic to solve all your problems.

Another trick is to add repositories to your /etc/yum.conf which may have the software you want. Search Google for 'dag repository' - I can't remember the exact name of the site but on there, there are some good instructions for using yum and apt and he has some good packages in his repository that you can install.

Good luck let me know how it goes.

Cameron
 
Old 06-17-2004, 09:38 AM   #3
Qoo
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
I found www.mjmwired.net is helpful, go to resources and Fedora Core II
a lots of hints are useful like the xmm's
 
Old 06-17-2004, 11:01 AM   #4
mvaneck
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
installing via rpm

Hi Thorax,

The errormessage 'cannot create transaction lock' also occurs when you are trying to install without being logged in as root.
 
Old 06-17-2004, 11:14 AM   #5
thorax
Member
 
Registered: Jun 2004
Location: Germany
Posts: 73

Original Poster
Rep: Reputation: 15
Ooops, how could I have forgotten that?
Thanks, mvaneck.

The yum thing sounds good, will try, altough I only own an 56K modem.
 
Old 06-17-2004, 01:38 PM   #6
thorax
Member
 
Registered: Jun 2004
Location: Germany
Posts: 73

Original Poster
Rep: Reputation: 15
Hmm, yum doesn't want to work. I think I've made a mistake

When I try 'yum list' or 'yum update' (as root), I get


---------------------------
[root@zytor pp]# yum list
Options Error: Not a boolean: 1
[fedora-us-2]
name=Fedora Core 2 -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/fedora/2/i386/RPMS.os
[fedora-us-2-updates]
name=Fedora Core 2 updates -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/2/i386/RPMS.updates
[fedora-us-2-stable]
name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/2/i386/RPMS.stable

Usage: yum [options] <update | upgrade | install | info | remove | list |
clean | provides | search | check-update | groupinstall | groupupdate |
grouplist >

Options:
-c [config file] - specify the config file to use
-e [error level] - set the error logging level
-d [debug level] - set the debugging level
-y answer yes to all questions
-t be tolerant about errors in package commands
-R [time in minutes] - set the max amount of time to randomly run in.
-C run from cache only - do not update the cache
--installroot=[path] - set the install root (default '/')
--version - output the version of yum
--exclude=some_pkg_name - packagename to exclude - you can use
this more than once
--download-only - only download packages - do not run the transaction
-h, --help this screen

------------------------------


Here's my /etc/yum.conf:

-----------------------

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

### See http://www.fedora.us/wiki/FedoraSources
### And insert here the fedora.us repository configuration

### And then add theese lines to access rpm.livna.org repositories:
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
gpgcheck=1

[livna-unstable]
name=Livna.org Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable
gpgcheck=1

[livna-testing]
name=Livna.org Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing
gpgcheck=1

[fedora-us-2]
name=Fedora Core 2 -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/fedora/2/i386/RPMS.os
[fedora-us-2-updates]
name=Fedora Core 2 updates -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/2/i386/RPMS.updates
[fedora-us-2-stable]
name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror
baseurl=http://ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora/2/i386/RPMS.stable

------------------------------
 
Old 06-18-2004, 06:08 AM   #7
csummers
LQ Newbie
 
Registered: Jun 2004
Location: London, UK
Distribution: Fedora, Knoppix
Posts: 3

Rep: Reputation: 0
Yum.conf

I couldn't find much info on that error you are getting. In any case you could extract those 'livna' entries from yum.conf and leave the default ones in there to test it is working properly. And to state the obvious you need to be connected to the internet for it to work The first time you run yum you should use:

#yum check-update

This will download and update all the headers of the available packages in the respective repositories listed in your yum.conf. This will take a good few minutes - especially over 56k modem so go make some tea and biscuits and read a book or something

Your other option is to try 'apt'. Apt is similar to yum and also works quite well. You should find most of the instructions and download links you need for apt and yum here:

http://dag.wieers.com/home-made/apt/FAQ.php

Check it out and see how it goes. As a last resort, if you think your yum/apt/fedora install is stuffed, just re-install the box and start again. Yum *should* work out the box without any need for tweaking.

And remember to connect to your ISP before running yum or apt!

Good luck

C
 
Old 06-30-2004, 02:40 PM   #8
stetr
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
I also just installed Fedora Core Two and also had a problem installing RPM's from both the GUI and command-line. In addition, I had a problem dual booting. I was no longer able to boot back into my Windows XP installation. By reading through some posts on the dual boot issue of FC2 I found out that I had to change my disks from "auto" to "LBA" in the BIOS. Once I did this the machine was able to boot into both operating systems.
While I am not sure of the relationship between the dual boot and RPM installation problems, the issue of not being able to install RPMs is now not a problem from command-line. The ability to install RPM's from the GUI is still a problem. My understanding from some other posts that Redhat intentionally disabled the ability to install RPM's from the GUI.
 
Old 07-01-2004, 01:46 PM   #9
thorax
Member
 
Registered: Jun 2004
Location: Germany
Posts: 73

Original Poster
Rep: Reputation: 15
I think so, too. But I've heard of a inofficial Fedora FAQ which explains how to install RPMs in the GUI. Maybe you'll have more luck in finding it on the net than I had
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 2 KDE 3.3 rpms dmh11686 Fedora 3 11-12-2004 11:56 PM
Fedora Core 3 x86_64 RPMs Chebyshev Fedora 0 11-09-2004 01:50 PM
gnome 2.6 RPMS for Fedora Core 1 freeWorld Red Hat 0 06-07-2004 09:02 AM
Will Fedora Core 1 RPMs still be compatable with Fedora Core 2? yarjar Linux - Software 1 05-02-2004 01:02 AM
RPM installation error: I'm using Fedora Core 1 and trying to install various RPMs, utts Linux - Software 2 04-23-2004 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration