LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-17-2007, 02:40 PM   #1
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Rep: Reputation: 16
yum - error on package download


Trying to do yum localinstall /media/DVD/Fedora/gnome*

113 packages at 174MB selected. then at "Downloading packages"
traceback (most recent calls last):
File "usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:1])

File "usr/share/yum-cli.py", line 172, in main base.doTransaction()

and more for usr/lib/python

and finally
in getDiscNum
return int(fragid)
ValueError: invalid literal for int() with base 10:

What is wrong = what is it trying to do and what do i try ????
 
Old 06-17-2007, 03:30 PM   #2
emuub
Member
 
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Original Poster
Rep: Reputation: 16
Angry I give up ! - i' m doing a fresh install of Fed 7

Too many problems and too little time. I've backed up anything usefull (i hope).

Thanks for the help and the interest.

Mike
 
Old 06-21-2007, 04:28 AM   #3
coola
LQ Newbie
 
Registered: Jun 2007
Distribution: Fedora Core 7
Posts: 3

Rep: Reputation: 0
the same problem

I've got the same problem. When I'm installing/updating packages from Fedora Core CDROM (ver. 7) i have got the same stacktrace. Is this Fedora/Yum/Python bug, or something else ?
 
Old 06-22-2007, 07:35 AM   #4
coola
LQ Newbie
 
Registered: Jun 2007
Distribution: Fedora Core 7
Posts: 3

Rep: Reputation: 0
Problem resolved

I've resolved the problem myself.
You must use "createrepo" tool.
Find it an install with rpm
Code:
rpm -i <name_of_your_package.rpm>
.
Then copy all packages from Fedora DVD on your hard disk.
Then execute createrepo with name of the folder where are packages on your hard disk.
For example
Code:
createrepo /root/Fedora/
In your yum configuration file, /etc/yum.conf or in /etc/yum.repos.d (it depends where you have your configuration), you must point baseurl on you folder, for example file:///root/Fedora/
Then execute
Code:
yum clean all
to clean all old configuration.
Now you can use yum without any errors. (Note that in this case you haven't package groups configuration, because this is on DVD disk, made by Fedora, and in our case we are making our custom repository only from single packages).
 
Old 06-22-2007, 07:48 AM   #5
69fuzzy69
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
ned sum hlp

hey hii... i want to install wine in fedora but it cant find the baseurl for the repo.

thnkx
 
Old 06-26-2007, 02:21 AM   #6
coola
LQ Newbie
 
Registered: Jun 2007
Distribution: Fedora Core 7
Posts: 3

Rep: Reputation: 0
answer

Try this http://fr2.rpmfind.net/linux/rpm2htm...m=Fedora&arch=

This url is a query for http://fr2.rpmfind.net/ portal and "package : wine" and "system : Fedora" parametres.

Last edited by coola; 06-26-2007 at 02:24 AM.
 
  


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
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM
yum - Package Conflicts revof11 Fedora 5 04-24-2007 06:28 AM
Smart Package>>Error:No public key available AFTER download Balarabay1 SUSE / openSUSE 1 09-24-2006 06:15 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM
From where Do I download YUM? TSynergy Linux - Newbie 4 11-06-2004 09:01 PM

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

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration