Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th August 2007, 09:50 PM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Exclamation Help with Livna, FreshRpms, and YUM

Hi everyone! I could really use a hand on all this.

I just installed Fedora 7, and I was setting up the repositories, first I did it with Livna and then with FreshRPMs.

Well, I forbade Livna for downloading Mplayer, Mencoder, FFMpeg and VLC, but I think I should add more to this list, shouldn't I?

I did this, I added:

Code:
exclude=mplayer* mencoder* ffmpeg* vlc
To the livna.repo.

Now I was prompted when I rebooted the computer, with the PUP application, the one that tells you to update your system. And it tells me that I have to update faad2, libdca, vcdimager, x264, xmms-mp3. As I can see, the older version, the one that it is in my system was downloaded with livna, and those new, I don't know from which repository are supposed to come, just in case, I didn't accept to update until I get more info.

In the past I've had problems with faad2 as I can remember, so I don't want to have them again.

What is the solution? Should I add some "not-to-download" programs more (like Mplayer on livna, for example) to the livna.repo, or to the freshrpms.repo?
Or should I remove freshrpms? or livna? Can't they co-exist?

I think this is one of the points that should be fixed so that the user won't have so many problems.

Would you please throw me a life preserver before this installation of Fedora gets ruined??
I'm so confused with all this!
Reply With Quote
  #2  
Old 10th August 2007, 10:10 PM
sebnukem's Avatar
sebnukem Offline
Registered User
 
Join Date: May 2004
Location: Colorado
Age: 40
Posts: 159
What I would do if i was you would be enabling one 3rd party repo by default (say freshrpms) and disable the other one. I would regularly update with the defaults settings (Fedora + Freshrpms) and occasionally check updates available on Livna (--enablerepo=livna check-update).

I think Livna & Freshrpms can coexist but they overlap a lot.
Reply With Quote
  #3  
Old 10th August 2007, 10:21 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by tauro_kpo
I just installed Fedora 7, and I was setting up the repositories, first I did it with Livna and then with FreshRPMs.
You shouldn't enable both Livna and Freshrpms. Pick one and stay with it.

Quote:
Originally Posted by tauro_kpo
I think this is one of the points that should be fixed so that the user won't have so many problems.
The Fedora project isn't responsible for third-party repos and can't control their compatibility with each other. It's your job to keep the repo configuration of your machine in working order.
Reply With Quote
  #4  
Old 10th August 2007, 10:21 PM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Why, thanks a lot for helping!

I'd like to try what you suggested, but, I don't know how to permanently disable livna, and to check for updates just when I want. How would I do this?

Thanks!
Reply With Quote
  #5  
Old 10th August 2007, 10:24 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,849
Hello theres a simple answer i found here it was
Quote:
su
yum -y install yum-protectbase
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,livna*}'
this will stop the dependencies/mix up problems
Reply With Quote
  #6  
Old 10th August 2007, 10:27 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,220
Sign into a terminal as root (su -) and then use your favorite text editor (like gedit, for instance) to change the 'enabled=1' to 'enabled=0' for livna. Here's an example:

Quote:
su -
(give your password) then:
Quote:
gedit /etc/yum.repos.d/livna.repo
That opens a separate window with Livna's information. Change "enabled=1" to "enabled=0" and then save and close that window.

Finally, type 'exit' to leave root and save your work. Yum should now complete it's updates without using livna.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #7  
Old 10th August 2007, 10:27 PM
sebnukem's Avatar
sebnukem Offline
Registered User
 
Join Date: May 2004
Location: Colorado
Age: 40
Posts: 159
To disable livna, edit the /etc/yum.repos.d/livna.repo:
enabled=0

To use it occasionally add --enablerepo=livna to your yum command:
yum --enablerepo=livna check-update
Reply With Quote
  #8  
Old 10th August 2007, 10:31 PM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Bob, sebnukem, thanks a lot! Now that Dangermouse says so, isn't a better idea to do what he's telling? I mean, just you tell me and I'll do whatever is best.

markkuk, How am I supposed to use Fedora without third party repositories? I think, it's quite awkward and uncomfortable. Instead of sermoning me, help a brother out.

Thank you all!
Reply With Quote
  #9  
Old 10th August 2007, 10:34 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,220
Dangermouse has an excellent idea with the 'protectbase' plugin, plus the guy knows coding! I'm in awe and will defer to him.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #10  
Old 10th August 2007, 10:34 PM
sebnukem's Avatar
sebnukem Offline
Registered User
 
Join Date: May 2004
Location: Colorado
Age: 40
Posts: 159
I don't know I've never tried or thought about Dangermouse solution. Give it a try and tell us how it goes
Reply With Quote
  #11  
Old 10th August 2007, 11:18 PM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Angry

All was pink coloured but, oops :-( all is sad now!
Code:
[root@localhost tauro]# yum -y install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linux/7/mirrors-freshrpms error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot open/read repomd.xml file for repository: freshrpms
When I was trying to install what Dangermouse said, look what I got :-S

What is wrong here??? ! :-(
Reply With Quote
  #12  
Old 10th August 2007, 11:23 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by tauro_kpo
All was pink coloured but, oops :-( all is sad now!
Code:
[root@localhost tauro]# yum -y install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linux/7/mirrors-freshrpms error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot open/read repomd.xml file for repository: freshrpms
When I was trying to install what Dangermouse said, look what I got :-S

What is wrong here??? ! :-(
The freshrpms repo has been erratic today ( I had to disable it to update because the mirror was down )
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #13  
Old 10th August 2007, 11:28 PM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Thank you for telling, now miraculously it has worked, so I downloaded "yum-protectbase". And now what?

What is this -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,livna*}' ?

I have copied this
su -c 'perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/{fedora*,livna*}' and pasted it on a terminal window, and asked me for the su password, I gave it to it, and nothing happened. Now all problems are fixed??

Last edited by tauro_kpo; 10th August 2007 at 11:31 PM.
Reply With Quote
  #14  
Old 10th August 2007, 11:46 PM
sebnukem's Avatar
sebnukem Offline
Registered User
 
Join Date: May 2004
Location: Colorado
Age: 40
Posts: 159
I'd say that the Perl script adds a protect=yes in your repo definition files. Check all the fedora and livna.repo files in /etc/yum.repos.d/ to find out.
Reply With Quote
  #15  
Old 11th August 2007, 12:35 AM
tauro_kpo Offline
Registered User
 
Join Date: Feb 2007
Posts: 64
Thumbs up

Yes! What you said is truth, it adds a protect=yes to all the files in the directory /etc/yum.repos.d/
Is that good?

My advice to all of the users of Livna and FreshRPMs is to add this in the livna.repo file (editing as root)

Locate this two lines:
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

After them, you'll have to add:

exclude=mplayer* mencoder* ffmpeg* vlc x264 ffmpeg-libs xine-lib-extras-nonfree

And that's it, and will solve you a lot of problems.

For the moment, I'll leave the protect=yes fix installed, I think it won't bother, will it? And I'm leaving the two repositories to work at the same time.

I found another great app that will help you a lot, it is called yumex, it is a yum manager in x, very useful and handy.

I hope this helps someone else, and please answer my little questions.

Thanks a lot to all those who helped!
Reply With Quote
Reply

Tags
freshrpms, livna, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreshRPMs or Livna? andymelton Using Fedora 4 29th November 2007 01:25 AM
wish to try livna - conflicts w/ freshrpms - how to? jsabarese Using Fedora 17 8th June 2006 02:36 PM
mplayer - livna or freshrpms? tdurden Using Fedora 4 6th April 2006 06:57 AM


Current GMT-time: 06:45 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat