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 19th April 2007, 09:10 PM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
Problem with installing amarak-extras-nonfree

I should mention that I am still very new to linux and am learning as I go along here so please bare with me and my stupid questions.

I have been looking into getting Amarok to play MP3s. I have attempted to in stall the pacakge: 'amarok-extras-nonfree'. I have read that this will allow your system to play MP3s, or is at least apart of the process. However when I did the yum install 'yum install amarok-extras-nonfree' I get the following error:

Code:
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:   file /usr/lib/libavcodec.so.51 from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/libavformat.so.51 from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/libavutil.so.49 from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/drawtext.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/fish.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/imlib2.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/null.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/ppm.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
  file /usr/lib/vhook/watermark.so from install of ffmpeg-libs-0.4.9-0.35.20070204.lvn6 conflicts with file from package ffmpeg-0.4.9-0.8.20070109.fc6
I am just wondering why I am getting this error and if there is anyway to get around it and install the extras? Or is there another issue going on?

I attempted this tutorial: installing codecs but that didn't help at all. I am just wondering if that might be what is stopping the extras from installing?

Any help would greatly be appreciated

thanks
todd
Reply With Quote
  #2  
Old 19th April 2007, 10:24 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
You've just found out why you shouldn't mix repositories.

Disable any third party repos you have other than Livna and it will *hopefully* install, if not you'll need to remove the conflicting packages.

Save yourself the hassles pick a repo and stick with it, only enable others when you need them temporarily.

Last edited by Dies; 19th April 2007 at 10:26 PM.
Reply With Quote
  #3  
Old 19th April 2007, 11:47 PM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
Quote:
Originally Posted by Dies
You've just found out why you shouldn't mix repositories.

Disable any third party repos you have other than Livna and it will *hopefully* install, if not you'll need to remove the conflicting packages.

Save yourself the hassles pick a repo and stick with it, only enable others when you need them temporarily.
K probably another stupid question....how do I disable the other repos?

I was looking in the '/etc/yum.repos.d' folder. I then looked at one of the repo files in there and noticed there is a line labeled: "enabled". Do I just use a text editor to go through and edit each one of those lines in the repos listed and set that 'enabled' line from '1' to '0' (I am assuming if it is set to '1' it means its on and visa versa). Of course I would leave the Livna repo active.

any suggestions would greatly be appreciated
todd

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

*********************UPDATED********************** *********

K well I went ahead with the above just to see if I was on the right track. It appears that I want because when when yum gave a list of the places it was getting the required rpms from only livna was listed. However After I types 'y' to accept the packages and download them I received the exact same error I was getting before.
Is the problem that the files it is trying to download are already on the system? Or is yum having problems deciding where to actually get the files from?

thanks
todd

Last edited by bourne553; 20th April 2007 at 12:05 AM.
Reply With Quote
  #4  
Old 20th April 2007, 12:04 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
Quote:
Originally Posted by bourne553
K probably another stupid question....how do I disable the other repos?

I was looking in the '/etc/yum.repos.d' folder. I then looked at one of the repo files in there and noticed there is a line labeled: "enabled". Do I just use a text editor to go through and edit each one of those lines in the repos listed and set that 'enabled' line from '1' to '0' (I am assuming if it is set to '1' it means its on and visa versa). Of course I would leave the Livna repo active.

any suggestions would greatly be appreciated
todd
That's not a stupid question.

And yes, that is exactly how it works, so go through and disable all third party repos. Leave livna, fedora-core, fedora-extras, fedora-updates enabled just the way they are.

Now it should work fine, if in the future you find that you need/want a certain package from freshrpms or any of the other third party repos then enable them temporarily from the command line or use yumex which makes things easy.

for example from the command line

yum --enablerepo=freshrpms --disablerepo=livna install <whatever>

from yumex just check/uncheck the repos then reload.

If you get the same type of conflicts in the future then you'll need to remove the offending package and re-install it again now that you have your repos sorted out.


BTW I'm recommending that you only use Livna since that's what I use and have never had any problems, but you can decide to use something else if you like, as long as you don't have conflicting repos enabled all the time you should be fine.

Just be aware that most people here use/recommend Livna so how-to's and the like usually refer to Livna packages.
Reply With Quote
  #5  
Old 20th April 2007, 12:08 AM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
Quote:
Originally Posted by Dies
That's not a stupid question.

And yes, that is exactly how it works, so go through and disable all third party repos. Leave livna, fedora-core, fedora-extras, fedora-updates enabled just the way they are.

Now it should work fine, if in the future you find that you need/want a certain package from freshrpms or any of the other third party repos then enable them temporarily from the command line or use yumex which makes things easy.

for example from the command line

yum --enablerepo=freshrpms --disablerepo=livna install <whatever>

from yumex just check/uncheck the repos then reload.

If you get the same type of conflicts in the future then you'll need to remove the offending package and re-install it again now that you have your repos sorted out.


BTW I'm recommending that you only use Livna since that's what I use and have never had any problems, but you can decide to use something else if you like, as long as you don't have conflicting repos enabled all the time you should be fine.

Just be aware that most people here use/recommend Livna so how-to's and the like usually refer to Livna packages.
Wow so I did guess right, thats good news. Yeah I was reading that you could do it from the command line but I wasn't exactly sure of the syntax so I figured I would just do it manually. I did turn off all the fedora ones though so I should go back and enable those ones again. If you read the update in my one post you will see that I am still getting the same error. But I will try re-enabling the fedora ones and see what happens.

thanks again for the speedy responses
todd
Reply With Quote
  #6  
Old 20th April 2007, 12:14 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
Quote:
Originally Posted by bourne553
Wow so I did guess right, thats good news. Yeah I was reading that you could do it from the command line but I wasn't exactly sure of the syntax so I figured I would just do it manually. I did turn off all the fedora ones though so I should go back and enable those ones again. If you read the update in my one post you will see that I am still getting the same error. But I will try re-enabling the fedora ones and see what happens.

thanks again for the speedy responses
todd
In the Fedora ones you'll usually find three entries in each file, you just want the top one enabled, not the next two entries.

@Rondonjin

Not sure, I usually just install anything that says "non-free".
So I can't really say but I think the KDE one is needed for things like K3B
noatun maybe ?
Reply With Quote
  #7  
Old 20th April 2007, 12:09 AM
Wayne
Guest
 
Posts: n/a
I just checked Livna's repo files and 'amarok-extras-nonfree' is a dummy file. It's been superseded by xine-lib-extras-nonfree. Does installing 'kdemultimedia-extras-nonfree' make a difference?

Wayne
Reply With Quote
  #8  
Old 20th April 2007, 12:14 AM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
Quote:
Originally Posted by rondonjin
I just checked Livna's repo files and 'amarok-extras-nonfree' is a dummy file. It's been superseded by xine-lib-extras-nonfree. Does installing 'kdemultimedia-extras-nonfree' make a difference?

Wayne
Apparently 'kdemultimedia-extras-nonfree' package is already installed.
I followed your tutorial you posted in another thread (I replied to it as well).

So should I maybe try install ing the 'xine-lib-extras-nonfree' package instead and see if that makes a difference?

thanks
todd
Reply With Quote
  #9  
Old 20th April 2007, 12:20 AM
Wayne
Guest
 
Posts: n/a
Quote:
Originally Posted by bourne553
Apparently 'kdemultimedia-extras-nonfree' package is already installed.
I followed your tutorial you posted in another thread (I replied to it as well).

So should I maybe try install ing the 'xine-lib-extras-nonfree' package instead and see if that makes a difference?

thanks
todd
It will most likely clash with 'xine-lib-moles' so you might have to remove that first. Actually, they both contain the same codecs but are differently named, that's all.

Wayne
Reply With Quote
  #10  
Old 20th April 2007, 12:26 AM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
Quote:
Originally Posted by rondonjin
It will most likely clash with 'xine-lib-moles' so you might have to remove that first. Actually, they both contain the same codecs but are differently named, that's all.

Wayne
Well I tried installing the 'xine-lib-extras-nonfree' package and I received the same error.
Is there anything I can do to get this package to install? Are there files that are already on my system that I should try uninstalling or getting ride of? Any suggestions would be greatly appreciated. I really want to get a chance to play with amarok as it looks like a really cool media player, but if it can't play mp3s than it isn't of much use to me.

thanks again for the help
todd
Reply With Quote
  #11  
Old 20th April 2007, 03:13 AM
bourne553 Offline
Registered User
 
Join Date: Feb 2006
Posts: 50
baaaaaaaammmmmmmmmmmmmm, sweet I managed to fix the problem.

What had happened was that the file: akode-extras, kdemultimedia-extras-nonfree, ffmpeg were from another repository site like you guys mentioned (however I was to stupid to realize what you meant by that). So I did some searching and found that in order to fix the problem you have to remove those files first before you can download and install the same rpms from another repo site. The files had originally been installed from fresh-rpms. Once I figured that out it was just a matter of removing the files using yum.

'yum remove ffmpeg' (I used this file to remove the files because it was the first file listed in the error that I got). Using this also removed all the rpms that were associated with this file.
output:
Code:
Loading "installonlyn" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ffmpeg.i386 0:0.4.9-0.8.20070109.fc6 set to be erased
--> Running transaction check
Setting up repositories
Reading repository metadata in from local files
--> Processing Dependency: libavutil.so.49 for package: akode-extras
--> Processing Dependency: libavcodec.so.51 for package: akode-extras
--> Processing Dependency: libavformat.so.51 for package: akode-extras
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package akode-extras.i386 0:2.0.1-3.lvn6.1 set to be erased
--> Running transaction check
--> Processing Dependency: akode-extras for package: kdemultimedia-extras-nonfree
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kdemultimedia-extras-nonfree.i386 6:3.5.6-5.lvn6 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Removing:
 ffmpeg                  i386       0.4.9-0.8.20070109.fc6  installed         5.6 M
Removing for dependencies:
 akode-extras            i386       2.0.1-3.lvn6.1   installed          29 k
 kdemultimedia-extras-nonfree  i386       6:3.5.6-5.lvn6   installed         1.8 M

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove       3 Package(s)         

Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Removing  : akode-extras                 ######################### [1/3]
  Removing  : kdemultimedia-extras-nonfree ######################### [2/3]
  Removing  : ffmpeg                       ######################### [3/3]

Removed: ffmpeg.i386 0:0.4.9-0.8.20070109.fc6
Dependency Removed: akode-extras.i386 0:2.0.1-3.lvn6.1 kdemultimedia-extras-nonfree.i386 6:3.5.6-5.lvn6
Complete!
Then I installed the packages from the proper repo (livna). I first made sure that I disabled the fresh-rpm repo.
yum install ararok-extras-nonfree
Code:
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package amarok-extras-nonfree.i386 0:1.4.4-1.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: xine-lib-extras-nonfree for package: amarok-extras-nonfree
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xine-lib-extras-nonfree.i386 0:1.1.5-1.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: libavcodec.so.51 for package: xine-lib-extras-nonfree
--> Processing Dependency: libpostproc.so.51 for package: xine-lib-extras-nonfree
--> Processing Dependency: libavutil.so.49 for package: xine-lib-extras-nonfree
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package ffmpeg-libs.i386 0:0.4.9-0.35.20070204.lvn6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 amarok-extras-nonfree   i386       1.4.4-1.lvn6     livna             3.6 k
Installing for dependencies:
 ffmpeg-libs             i386       0.4.9-0.35.20070204.lvn6  livna             1.6 M
 xine-lib-extras-nonfree  i386       1.1.5-1.lvn6     livna             528 k

Transaction Summary
=============================================================================
Install      3 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: ffmpeg-libs                  ######################### [1/3] 
  Installing: xine-lib-extras-nonfree      ######################### [2/3] 
  Installing: amarok-extras-nonfree        ######################### [3/3] 

Installed: amarok-extras-nonfree.i386 0:1.4.4-1.lvn6
Dependency Installed: ffmpeg-libs.i386 0:0.4.9-0.35.20070204.lvn6 xine-lib-extras-nonfree.i386 0:1.1.5-1.lvn6
Complete!
And after I did that I fired up Amarok and now it plays MP3s like a champ. Thanks for all the help guys. Sorry I didn't catch on to what you were saying in the first place. I understand now what you meant by "conflicting repos". Just out of curiosity, will this only happen if the rpms are installed on your system and yum attempts to over write the files on your system with files from a different repo? What happens if you have multiple repos that all have the same file you need, does yum simple pick the first repo it finds that has the files to download from? Sorry if that question doesn't make any sense, I am just trying to understand 100% why the error occurred. The way I see it, I received the error because I already has similar files on my on my system and when I tried to get yum to use livna to overwrite those files it couldn't because the files were installed from a different repo site. Are repo sites kind of proprietary with their packages? Meaning only packages from the same site can overwrite packages previously installed from that repo site?

Sorry if all that doesn't make a lick of sense. I think I kind of understand what happened, I just want to make sure if what I am thinking is even half right

thanks agian guys for the help I really appreciate it!!

todd
Reply With Quote
Reply

Tags
amarakextrasnonfree, installing, problem

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
k3b-extras-nonfree = k3b-extras-freeworld?? edszr Using Fedora 4 28th April 2009 09:48 PM
can't install xine-lib-extras-nonfree mcwall1064 Using Fedora 44 24th October 2008 08:26 AM
Can't install xine-lib-extras-nonfree ( solved ) Jongi Using Fedora 16 18th September 2008 03:15 PM
Can't install amarok-extras-nonfree PaulFXH Using Fedora 14 6th January 2008 07:34 PM
amarok-extras-nonfree.i386 at livna psyklops Using Fedora 4 20th May 2007 06:33 AM


Current GMT-time: 19:41 (Wednesday, 19-06-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