Fedora Linux Support Community & Resources Center
  #1  
Old 3rd January 2008, 11:15 PM
JacekZ Offline
Registered User
 
Join Date: Jun 2007
Location: England
Posts: 50
how to remove non-free codecs

Does anyone know an easy way of removing non-free codecs.

I added the livna repository some time back, to add flash player or something, and along the way found that I could view ".mov" video files that I hadn't been able to view before. It may have had something to do with gstreamer, but if I try and remove that now, the dependencies that it wants to wipe with it seem to cover lots of ordinary things like open office!?

I tried un-ticking livna in pup and then doing yum list extras, but the result didn't mean much to me.

Does anyone know an easy way to work out what to remove to make the system 'free' again?

Thanks
Jacek
Reply With Quote
  #2  
Old 4th January 2008, 12:11 AM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
This is one of the reasons Livna repos are hell when it comes to removing some rpms. Many sometimes tie into many others. At your own risk you can use the --force option when removing using the rpm command. If referring to gstreamer then say.
rpm -e gstreamer --force.

Before doing this I would post output of the command
rpm -e gstreamer
To see what other rpms are dependent on it.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 4th January 2008, 02:04 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
Quote:
Originally Posted by JacekZ
Does anyone know an easy way of removing non-free codecs.

I added the livna repository some time back, to add flash player or something, and along the way found that I could view ".mov" video files that I hadn't been able to view before. It may have had something to do with gstreamer, but if I try and remove that now, the dependencies that it wants to wipe with it seem to cover lots of ordinary things like open office!?

I tried un-ticking livna in pup and then doing yum list extras, but the result didn't mean much to me.

Does anyone know an easy way to work out what to remove to make the system 'free' again?

Thanks
Jacek
A good start would be to run

yum remove *nonfree*

to remove any packages that have nonfree in the name then run

rpm -qa | grep "lvn"

That will show you all the packages you've installed from the livna repo, you can even do

rpm -qa | grep "lvn" >> nonfree.txt

so you have a file to refer to when you try to remove them. On the upside they shouldn't try to take half your system with them.
Reply With Quote
  #4  
Old 4th January 2008, 02:20 AM
bradchaus Offline
Registered User
 
Join Date: May 2006
Posts: 548
can you post output of

rpm -qa | grep gstreamer
__________________
* AMD Phenom 9750, 8GB DDR-1066, Gigabyte MA770UD3, ATI X550, F12 64bit
* Dual Athlon MP2800+, Gigabyte GA-7DPXDWP, 1GB, Centos 5.4

Linux Rules
Reply With Quote
  #5  
Old 7th January 2008, 08:05 PM
JacekZ Offline
Registered User
 
Join Date: Jun 2007
Location: England
Posts: 50
Thanks folks,
sorry for the time to reply.

Here are the various outputs:

Code:
$ rpm -e gstreamer
error: Failed dependencies:
        libgstbase-0.10.so.0 is needed by (installed) gstreamer-plugins-good-0.10.6-6.fc8.i386
        libgstbase-0.10.so.0 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        libgstbase-0.10.so.0 is needed by (installed) gstreamer-plugins-base-0.10.15-1.fc8.i386
        libgstbase-0.10.so.0 is needed by (installed) rhythmbox-0.11.3-5.fc8.i386
        libgstbase-0.10.so.0 is needed by (installed) totem-2.20.1-2.fc8.i386
        libgstcontroller-0.10.so.0 is needed by (installed) gstreamer-plugins-good-0.10.6-6.fc8.i386
        libgstcontroller-0.10.so.0 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        libgstcontroller-0.10.so.0 is needed by (installed) gstreamer-plugins-base-0.10.15-1.fc8.i386
        libgstcontroller-0.10.so.0 is needed by (installed) rhythmbox-0.11.3-5.fc8.i386
        libgstdataprotocol-0.10.so.0 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        libgstdataprotocol-0.10.so.0 is needed by (installed) gstreamer-plugins-base-0.10.15-1.fc8.i386
        libgstnet-0.10.so.0 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gnome-media-2.20.1-3.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gstreamer-plugins-good-0.10.6-6.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) control-center-2.20.1-5.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) sound-juicer-2.20.1-1.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gnome-power-manager-2.20.0-6.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gnome-applets-2.20.0-8.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) wxGTK-2.8.4-6.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gnomebaker-0.6.2-2.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) openoffice.org-core-2.3.0-6.7.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gnome-games-2.20.2-1.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) evolution-2.12.2-2.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) gstreamer-plugins-base-0.10.15-1.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) rhythmbox-0.11.3-5.fc8.i386
        libgstreamer-0.10.so.0 is needed by (installed) totem-2.20.1-2.fc8.i386
        gstreamer >= 0.10.6 is needed by (installed) gstreamer-plugins-good-0.10.6-6.fc8.i386
        gstreamer >= 0.10.4 is needed by (installed) gstreamer-python-0.10.8-2.fc8.i386
        gstreamer >= 0.10.15 is needed by (installed) gstreamer-plugins-base-0.10.15-1.fc8.i386
        gstreamer >= 0.10.1 is needed by (installed) totem-2.20.1-2.fc8.i386
Code:
$ rpm -qa | grep gstreamer
gstreamer-tools-0.10.15-1.fc8
gstreamer-0.10.15-1.fc8
gstreamer-plugins-good-0.10.6-6.fc8
gstreamer-python-0.10.8-2.fc8
gstreamer-plugins-base-0.10.15-1.fc8
Code:
$ rpm -qa | grep "lvn"
livna-config-display-0.0.20-1.lvn8
Reply With Quote
  #6  
Old 7th January 2008, 08:47 PM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
try removing the "good" plugins of gstreamer?
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
  #7  
Old 7th January 2008, 09:15 PM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
try the following commands for a list of package -- license (very slow, not optimized) :

Code:
rpm -qa > names.list
rpm -qa -i | grep "License:\ " | cut -d ":" -f 3 > licenses.list
paste names.list licenses.list > licinfo.txt
and view the licinfo.txt file with a text viewer or editor, searching for nonfree licenses.
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
  #8  
Old 7th January 2008, 11:42 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
@JacekZ

You only have one Livna package on your system and that is GPL, so you're done.

Unless you've also used other third party repos, have you?

Also, don't remove the "good" plugins, "good" is in the name for a reason, they come from the Fedora repos.
Reply With Quote
  #9  
Old 23rd January 2008, 11:49 PM
JacekZ Offline
Registered User
 
Join Date: Jun 2007
Location: England
Posts: 50
Thanks Dies,
The only repositories I have ever had are adobe, fedora (including fc4, 5, 6, 7), livna and extras.

So I'm done - great! The odd thing is, why can I still view .mov files? I don't think the codecs for .mov are open-free gpl, or are they now?

Jacek
Reply With Quote
  #10  
Old 23rd January 2008, 11:56 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
Quote:
Originally Posted by JacekZ
Thanks Dies,
The only repositories I have ever had are adobe, fedora (including fc4, 5, 6, 7), livna and extras.

So I'm done - great! The odd thing is, why can I still view .mov files? I don't think the codecs for .mov are open-free gpl, or are they now?

Jacek
Have you installed any codecs manually?

Check in

/usr/lib/codecs
/usr/lib/win32
/usr/local/lib/codecs
/usr/local/lib/win32

You can just delete those folders, if you have any of them.
Reply With Quote
  #11  
Old 24th January 2008, 12:20 AM
JacekZ Offline
Registered User
 
Join Date: Jun 2007
Location: England
Posts: 50
No, I have none of these codecs. I did install real player manually one time, but that's it I think.
Reply With Quote
  #12  
Old 25th January 2008, 11:59 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
Quote:
Originally Posted by JacekZ
No, I have none of these codecs. I did install real player manually one time, but that's it I think.
I doubt Real Player would affect any other programs, but...?

Not sure why it still works for you.

You can always do

rpm -qa > ALL.txt

then wait a while for it to finish, once you get a prompt back have a look at the text file in your home to see if you see anything or even attach it here.
Reply With Quote
  #13  
Old 26th January 2008, 11:57 AM
JacekZ Offline
Registered User
 
Join Date: Jun 2007
Location: England
Posts: 50
Thanks Dies, I wasn't sure what to look out for, so here's the lot:

Jacek
Attached Files
File Type: txt ALL.txt (27.7 KB, 143 views)
Reply With Quote
  #14  
Old 26th January 2008, 01:00 PM
gabolander Offline
Registered User
 
Join Date: May 2004
Location: Rimini - Italy
Age: 46
Posts: 31
Quote:
Originally Posted by JacekZ
Does anyone know an easy way of removing non-free codecs.

I added the livna repository some time back, to add flash player or something, and along the way found that I could view ".mov" video files that I hadn't been able to view before. It may have had something to do with gstreamer, but if I try and remove that now, the dependencies that it wants to wipe with it seem to cover lots of ordinary things like open office!?

I tried un-ticking livna in pup and then doing yum list extras, but the result didn't mean much to me.

Does anyone know an easy way to work out what to remove to make the system 'free' again?

Thanks
Jacek
IMHO, the best way to remove them safely, is to use the "yum remove" command.

It recalculates all dependencies, and tell you what you are about to remove, togheter with the package(s) you specified.

For example, if you type:

yum remove gstreamer-plugins-ugly


.. after it analysing, you'll get:

"Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Removing:
gstreamer-plugins-ugly i386 0.10.6-5.lvn8 installed 574 k

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

Is this ok [y/N]:
"

In this way I don't have dependecies linked to this package. Otherwise, It should have showed all the programs/libriaries it had to remove to complete unistall procedure...

At end, you may decide to proceed or not.

Best,
G.
__________________
Gabolander :cool:
GNU/Linux user #380098
Reply With Quote
  #15  
Old 26th January 2008, 10:57 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
Quote:
Originally Posted by JacekZ
Thanks Dies, I wasn't sure what to look out for, so here's the lot:

Jacek
Just had a quick look, but nothing really stood out except for Real Player.

But Real Player has no .mov support, so not sure what's going on with your system, though since you've upgraded several times it may be some left overs?

In any case I assume your still able to play these files with Totem?

Can you do

rm -rf .gstreamer*
gst-inspect-0.10

then either post or attach the output from that last command depending on how long it is.
Reply With Quote
Reply

Tags
codecs, nonfree, remove

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
Free DVD Player with Codecs??? Chetanji Installation, Upgrades and Live Media 1 3rd November 2008 05:23 AM
Add/Remove gets Internal Error / no free codecs? / Adobe Flash Doesnt Work kanazky Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 1 27th September 2008 09:44 PM
free codecs? GreenMeanie Using Fedora 7 21st August 2008 12:35 PM
Free Multimedia Codecs? john262 Using Fedora 3 9th November 2007 04:21 PM
Trouble installing no free codecs threethirty Using Fedora 2 6th June 2006 08:33 PM


Current GMT-time: 17:54 (Tuesday, 30-09-2014)

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