You are not logged in.

#1 2008-11-23 00:30:39

Jams
Member
Registered: 2008-11-23
Posts: 9

Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

Hi everyone. I'm new to Archlinux but not to Linux. I had problems to play mp3s on rhythmbox cause the appropiate gstreamer plugin to decode mp3 was not installed, so i search with pacman:

pacman -Ss gstreamer

. And it find some packages related to gstreamer but not gstreamer0.10-mad and some others like *-vorbis for instance. So i tried installing one by one gstreamer packages appearing in pacman results and openning rhythmbox to see if it works, but it didnt with some tries, so searching google realized that the package gstreamer0.10-mad was neccesary to play mp3s by gstreamer and installed it by pacman -S ... The thing is that when i need a new package or app but didnt know package's name, i obviously search it by pacman -Ss, but problems like this would make my mind to say that searched app or package doesnt exists in archlinux repositories.

So, there's another pacman option to correctly do that?, or its just a bug with some packages?. Thanks a lot

Offline

#2 2008-11-23 01:33:34

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

Try installing "gst-plugins-ugly", then you'll have /usr/lib/gstreamer-0.10/libgstmad.so

Offline

#3 2008-11-23 01:35:37

Jams
Member
Registered: 2008-11-23
Posts: 9

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

indeed i already solved mp3 playing with gstreamer problem, sorry if i explain myself badly in my first post. My question is why pacman didnt find some packages like gstreamer0.10-mad using pacman -Ss?

Offline

#4 2008-11-23 02:09:45

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

That's because there's no package with such name. But, if you search specifically for gstreamer0.10-mad, it will find gstreamer0.10-ugly-plugins because the latter provides the former (pacman -Si gstreamer0.10-ugly-plugins shows it). I think the search on provides field only works if the entire package name matches.

Offline

#5 2008-11-23 02:52:17

Jams
Member
Registered: 2008-11-23
Posts: 9

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

ok, i kinda get it. It's like subpackages or groups of packages?, i'm familiar with Debian, so i automatically think in apt (Debian package manager), and i'm trying to link both ways of manage packages.

Offline

#6 2008-11-23 03:20:24

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

Nope.

"Provides" here just means that the "gstreamer0.10-ugly-plugins" provides the same functionality as "gstreamer0.10-mad". When an application says "I need gstreamer0.10-mad", "gstreamer0.10-ugly-plugins" steps in and says "I can do everything that "...-mad" can do and more, use me instead.

In your case you need certain libraries. Those libraries are in the "...-ugly-plugins" package. There is no way to search each package for every single library it contains without downloading it, but in this case because there's a "provides" line, pacman is able to figure out what will do what you need when you search for "...-mad" directly, even though there is no such package (nor group).

I agree that you should be able to search for "provides" equivalents though.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#7 2008-11-23 03:27:10

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

GStreamer Ugly plug-ins is a set of plug-ins which includes mad, lame and others. Notice that it is not a virtual package that contains nothing except dependencies on others (neither in debian).

More info at http://gstreamer.freedesktop.org/module … -ugly.html

Offline

#8 2008-11-23 04:00:02

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

I've added a "provides" regex search function to pacpal because of this thread.

$ pacpal --find-provides 'gstreamer0.10-mad'
gstreamer0.10-ugly-plugins

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2008-11-23 15:13:48

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

Cool, but it does what pacman does (the last one without --find-provides option). It would be nicer if pacpal could do this for instance (pacman can't):

$ pacpal --find-provides 'mad'
gstreamer0.10-ugly-plugins

I tried to test it, but current pacpal complains about the --find-provides option

Offline

#10 2008-11-24 04:14:32

Jams
Member
Registered: 2008-11-23
Posts: 9

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

Thanks for all the info.

Offline

#11 2008-11-24 04:23:48

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

$ pacpal --find-provides 'mad'
madwifi-utils
gstreamer0.10-ugly-plugins

I hadn't updated the AUR package at the time of posting here, but it was available on the site in my sig.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB