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

10th August 2007, 09:50 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 64

|
|
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!
|

10th August 2007, 10:10 PM
|
 |
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.
|

10th August 2007, 10:21 PM
|
|
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.
|

10th August 2007, 10:21 PM
|
|
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!
|

10th August 2007, 10:24 PM
|
 |
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
|

10th August 2007, 10:27 PM
|
 |
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:
(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.
|

10th August 2007, 10:27 PM
|
 |
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
|

10th August 2007, 10:31 PM
|
|
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!
|

10th August 2007, 10:34 PM
|
 |
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.
|

10th August 2007, 10:34 PM
|
 |
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
|

10th August 2007, 11:18 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 64

|
|
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??? ! :-(
|

10th August 2007, 11:23 PM
|
 |
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
|

10th August 2007, 11:28 PM
|
|
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.
|

10th August 2007, 11:46 PM
|
 |
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.
|

11th August 2007, 12:35 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 64

|
|
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:45 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|