cannot install codecs/vlc

hi,
i cannot insall vlc or any codecs to play movies in other players. yast freezes when i tried: VLC media player for openSUSE and i have to kill it, tells me i have to downgrade some packages when i tried opensuse-community.org/codecs-gnome.ymp so i agree and then it says instalation of packages failed. it gives me the error

y2base: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
YaST got signal 11 at YCP file OneClickInstallWorkerFunctions.ycp:188
/sbin/yast2: line 437:  4738 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

i dont want too watch movies under wine, pls help. tell me what logs i have to post, thanks.

i fallowed this: Check your multimedia problem in ten steps - openSUSE Forums and here it goes. i dont have some packages and some i cant install, e.g.

 lc_all=c zypper ve
Loading repository data...
Reading installed packages...
Some of the dependencies of installed packages are broken. In order to fix these
 dependencies, the following actions need to be taken:

The following NEW package is going to be installed:
  libmp4v2 


Overall download size: 717.0 K. After the operation, additional 2.3 M will be us
ed.
Continue? [YES/no]: yes
Retrieving package libmp4v2-1.5.0.1-10.pm.1.i586 (1/1), 717.0 K (2.3 M unpacked)
Retrieving: libmp4v2-1.5.0.1-10.pm.1.i586.rpm [done]
Installing: libmp4v2-1.5.0.1-10.pm.1 [error]
Installation of libmp4v2-1.5.0.1-10.pm.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: open
 of /var/cache/zypp/packages/Packman failed: No such file or directory
error: open of Repository/i586/libmp4v2-1.5.0.1-10.pm.1.i586.rpm failed: No such
 file or directory


Abort, retry, ignore? [A/r/i]:

then:

zypper in libxine1-codecs
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be upgraded:
  libxine1 libxine1-gnome-vfs libxine1-pulse 


The following NEW packages are going to be installed:
  libavcodec52 libavutil50 libmodplug0 libmp3lame0 libpostproc51 libx264-68 
libxine1-codecs 


The following packages are going to change architecture:
  libxine1 libxine1-gnome-vfs libxine1-pulse 


The following packages are going to change vendor:
  libxine1 libxine1-gnome-vfs libxine1-pulse 


Overall download size: 5.2 M. After the operation, additional 8.5 M will be used
.
Continue? [YES/no]: yes
Retrieving package libmp3lame0-3.98.2-1.1.i686 (1/10), 125.0 K (286.0 K unpacked
)
Retrieving: libmp3lame0-3.98.2-1.1.i686.rpm [done]
Installing: libmp3lame0-3.98.2-1.1 [done]

Retrieving package libavutil50-0.5.0.19505-1.1.i686 (2/10), 28.0 K (59.0 K unpac
ked)
Retrieving: libavutil50-0.5.0.19505-1.1.i686.rpm [done]
Installing: libavutil50-0.5.0.19505-1.1 [done]


Retrieving package libmodplug0-0.8.7-2.1.i686 (3/10), 148.0 K (315.0 K unpacked)
Installing: libmodplug0-0.8.7-2.1 [error]
Installation of libmodplug0-0.8.7-2.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: open
 of /var/cache/zypp/packages/11.1 failed: No such file or directory


Abort, retry, ignore? [A/r/i]:

and

zypper in gstreamer-0_10-ffmpeg
Retrieving repository 'PK_TMP_DIR' metadata [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  gstreamer-0_10-ffmpeg libavcodec52 libavformat52 libpostproc51 libswscale0 
libx264-68 


Overall download size: 2.5 M. After the operation, additional 7.6 M will be used.
Continue? [YES/no]: yes
Retrieving package libswscale0-0.5.0.19505-1.1.i686 (1/6), 69.0 K (226.0 K unpacked)
Retrieving: libswscale0-0.5.0.19505-1.1.i686.rpm [done]
Installing: libswscale0-0.5.0.19505-1.1 [done]



Retrieving package libpostproc51-0.5.0.19505-1.1.i686 (2/6), 18.0 K (62.0 K unpacked)
Retrieving: libpostproc51-0.5.0.19505-1.1.i686.rpm [done]
Installing: libpostproc51-0.5.0.19505-1.1 [done]



Retrieving package libx264-68-0.68-4.1.i686 (3/6), 215.0 K (608.0 K unpacked)
Retrieving: libx264-68-0.68-4.1.i686.rpm [done]
Installing: libx264-68-0.68-4.1 [0%]

and then it hangs.

and the last one

rpm --query --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' MPlayer '*vlc*' | grep -v avahi | sort
gstreamer-0_10-0.10.21-3.11
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.1
gstreamer-0_10-plugins-bad-0.10.8-6.6.1
gstreamer-0_10-plugins-bad-lang-0.10.8-6.6.1
gstreamer-0_10-plugins-base-0.10.21-2.20
gstreamer-0_10-plugins-good-0.10.10-3.20
gstreamer-0_10-schroedinger-1.0.5-2.19
gstreamer-0_10-utils-0.10.21-3.11
gstreamer-utils-0.10.21-3.11
libavutil49-0.5-0.pm.3
libavutil50-0.5.0.19505-1.1
libgstapp-0_10-0-0.10.8-6.6.1
libgstinterfaces-0_10-0-0.10.21-2.20
libgstreamer-0_10-0-0.10.21-3.11
libpostproc51-0.5.0.19505-1.1
libswscale0-0.5.0.19505-1.1
libxine1-1.1.15-23.4.1
libxine1-gnome-vfs-1.1.15-23.3.3
libxine1-pulse-1.1.15-23.3.3
phonon-backend-xine-4.1.3-4.2.9
totem-xine-2.22.2-10.3
totem-xine-lang-2.22.2-10.3
xinetd-2.3.14-129.28

Please open a terminal and post the result of:

zypper lr -d

Multi-media and Restricted Format Installation Guide - openSUSE Forums

zypper lr -d
#  | Alias                | Name                  | Enabled | Refresh | Priority
 | Type     | URI                                                               
                 | Service
---+----------------------+-----------------------+---------+---------+---------
-+----------+-------------------------------------------------------------------
-----------------+--------
1  | 11.1 - VideoLan      | 11.1 - VideoLan       | Yes     | Yes     |   99    
 | rpm-md   | http://download.videolan.org/pub/videolan/vlc/SuSE/11.1/          
                 |        
2  | Libdvdcss repository | Libdvdcss repository  | Yes     | Yes     |   99    
 | rpm-md   | http://suse.linuxin.dk/repo/11.1/                                 
                 |        
3  | PHP                  | PHP                   | Yes     | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/repositories/server:/php/server_apach
e_openSUSE_11.0/ |        
4  | PK_TMP_DIR           | PK_TMP_DIR            | Yes     | Yes     |   99    
 | plaindir | dir:///var/tmp/TmpDir.QW1mOt                                      
                 |        
5  | Packman Repository   | Packman Repository    | Yes     | Yes     |   99    
 | rpm-md   | http://ftp.skynet.be/pub/packman/suse/11.1/                       
                 |        
6  | gnome                | gnome                 | Yes     | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/repositories/GNOME:/Community/openSUS
E_11.0/          |        
7  | gnome2               | gnome2                | Yes     | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/repositories/GNOME%3a/STABLE/openSUSE
_11.0/           |        
8  | home:HessiJames      | home:HessiJames       | Yes     | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/repositories/home:/HessiJames/openSUS
E_11.1/          |        
9  | openSUSE 11.1-0      | openSUSE 11.1-0       | Yes     | No      |   99    
 | yast2    | cd:///?devices=/dev/sr0                                           
                 |        
10 | openSUSE:11.0        | openSUSE:11.0         | Yes     | Yes     |   99    
 | yast2    | http://download.opensuse.org/distribution/11.0/repo/oss/          
                 |        
11 | packman              | packman               | Yes     | Yes     |   99    
 | rpm-md   | http://ftp.skynet.be/pub/packman/suse/11.0/                       
                 |        
12 | repo-debug           | openSUSE-11.1-Debug   | No      | Yes     |  100    
 | NONE     | http://download.opensuse.org/debug/distribution/11.1/repo/oss/    
                 |        
13 | repo-non-oss         | openSUSE-11.1-Non-Oss | Yes     | Yes     |  100    
 | yast2    | http://download.opensuse.org/distribution/11.1/repo/non-oss/      
                 |        
14 | repo-oss             | openSUSE-11.1-Oss     | Yes     | Yes     |  100    
 | yast2    | http://download.opensuse.org/distribution/11.1/repo/oss/          
                 |        
15 | repo-source          | openSUSE-11.1-Source  | No      | Yes     |  100    
 | NONE     | http://download.opensuse.org/source/distribution/11.1/repo/oss/   
                 |        
16 | repo-update          | openSUSE-11.1-Update  | Yes     | Yes     |   20    
 | rpm-md   | http://download.opensuse.org/update/11.1/                         
                 |        
17 | vlc                  | vlc                   | Yes     | Yes     |   99    
 | rpm-md   | http://download.videolan.org/pub/vlc/SuSE/11.1                    
                 |        
18 | wine                 | wine                  | Yes     | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE
_11.0/           |        

Install libdvdcss from videolan repo and after that remove both libdvdcss and videolan repository. After that set all repositories to the same priority. After that go to software management change the look to repositories, tick Packman and from the menu check update in this list unconditionally.

This principle but with Packman repo
carl4926 - Unconditional Update in Yast Software management

in vlc repo in yast there are only debug and development packages. when i try to install rpm from Index of /pub/libdvdcss/1.2.9/rpm/
it says failed to install file, the packagekitd service could not be started.

show us screen of that
print screen and save and upload to imagebam.com (or similar)

ImageBam - Fast, Free Image Hosting and Photo Sharing
http://www.imagebam.com/image/99e49644370567

I think you are just looking in the ‘Upgrades’ Tab.

You need to view all. And it’s the crumby gnome UI.

Anyway all you need do to see if libdvdcss is installed is this in a terminal
If it shows in the output just disable VLC and the libdvdcss repo’s

rpm -qi libdvdcss

crystalnewbie, you have both 11.1 and 11.0 in your repos. That is GUARANTEED to mess up your openSUSE.

You also have other problems with your repos that will cause problems with vlc and codecs, but they pale into insignificance in comparison to having both 11.0 and 11.1 repos.

Well spotted Lee.
What a mess.

Strip out all repos and just leave: OSS, NON-OSS, Update and Packman (all for 11.1)
Exit to CLI become ‘su’ and run

zypper ref
zypper dup

thanks, i removed other repos and did zypper dup command, it was going smooth for a minute or so and then:

Retrieving package gstreamer-0_10-lang-0.10.23-42.pm.1.i586 (15/389), 126.0 K (614.0 K unpacked)
Retrieving: gstreamer-0_10-lang-0.10.23-42.pm.1.i586.rpm [done]
Installing: gstreamer-0_10-lang-0.10.23-42.pm.1 [error]
Installation of gstreamer-0_10-lang-0.10.23-42.pm.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: open of /var/cache/zypp/packages/Packman failed: No such file or directory
error: open of Repository/i586/gstreamer-0_10-lang-0.10.23-42.pm.1.i586.rpm failed: No such file or directory


Abort, retry, ignore? [A/r/i]: 

what are my other prblems with repos oldcpu?

Are we to assume you have exited this update process?

You could post your repos again for us

zypper lr -d

FYI: sometimes when a package fails you can retry. If it continues, make a note and ignore.
Just don’t reboot if you have to cancel out.

i aborted it and extited xterm. then i rerun it and ignored packages which failed to install. than i rerun it again and some of these packages managed to install. than it hanged on open office gnome, so i intend to rerun it again.

my repos look like this now


# | Alias              | Name                  | Enabled | Refresh | Priority | Type   | URI                                                          | Service
--+--------------------+-----------------------+---------+---------+----------+--------+--------------------------------------------------------------+--------
1 | Packman Repository | Packman Repository    | Yes     | Yes     |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.1/                  |        
2 | repo-non-oss       | openSUSE-11.1-Non-Oss | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/ |        
3 | repo-oss           | openSUSE-11.1-Oss     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/     |        
4 | repo-update        | openSUSE-11.1-Update  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.1/

some of packages which failed to install include


 libavutil49-0.5-0.pm.3 [error]
 libsndfile1-1.0.20-0.pm.3 [error]
 libmp4v2-1.5.0.1-10.pm.1 [error]
gstreamer-0_10-plugins-base-lang-0.10.23-42.pm.1 [error]
libktoblzcheck1-1.22-42.pm.1 [error]
 gstreamer-0_10-lang-0.10.23-42.pm.1 [error]
libfaad2-2.7-0.pm.0 [error]
 libofx4-0.9.1-42.pm.1 [error]
 liboil-0_3-0-0.3.16-0.pm.1 [error]
libmp3lame0-3.98.2-0.pm.4 [error]
 libtheoraenc1-1.0.final-0.pm.0 [error]
libtheoradec1-1.0.final-0.pm.0 [error]
libmowgli1-0.5.0-1.pm.0 [error]
libdvdread3-0.9.7-4.pm.11 [error]
libtheora0-1.0.final-0.pm.0 [error]
libdirac_encoder0-1.0.2-0.pm.1 [error]
 libdirac_decoder0-1.0.2-0.pm.1 [error]
usb_modeswitch-1.0.2-1.pm.3 [error]
p7zip-4.65-0.pm.1 [error]
w32codec-all-20071007-0.pm.1 [error]
 java-1_6_0-openjdk-1.4_b14-24.5.2 [error]
python-twisted-8.0.1-1.69 [error]
 python-qt-3.17.4-1.138 [error]
 kernel-pae-2.6.27.25-0.1.1 [error]
 kernel-pae-extra-2.6.27.25-0.1.1 [error]
 mozilla-xulrunner190-1.9.0.12-1.1.1 [error]

also i took note that gstreamer was installed but the additional rmp output bothers me a little, it says:


Retrieving package gstreamer-0_10-0.10.23-42.pm.1.i586 (243/378), 560.0 K (2.4 M unpacked)
Retrieving: gstreamer-0_10-0.10.23-42.pm.1.i586.rpm [done]
Installing: gstreamer-0_10-0.10.23-42.pm.1 [done]
Additional rpm output:
warning: /var/cache/zypp/packages/Packman Repository/i586/gstreamer-0_10-0.10.23-42.pm.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 9a795806

crystalnewbie, good luck in this.

Depending on what 11.0 apps/packages that was installed when you had that as a repos, you may be facing a risk that this is not recoverable. Lets hope zypper is able to sort things out and fix it.

I’m inclined to suggest you re-install 11.1 and just maintain your /home partition as is so as to preserve your user data.
I suspect you have too many broken and orphaned packages from having 11.0 and 11.1 repo’s in your list.

In future follow this carefully for multi-media:
Multi-media and Restricted Format Installation Guide - openSUSE Forums

so i will do, thank you all gentlemen for your help.

hi again,
i did reinstall opensuse, did everything according to this: Multi-media and Restricted Format Installation Guide - openSUSE Forums but i have the problem simmilar to this thread: Breaks in sound output on all media players ! - openSUSE Forums troubleshooting didnt work, i use audacious for mp3 and when i changed the output from alsa to OSS output plugin it played music without breaks or scratches, now it wont play even with OSS plugin, either hangs or runs through mp3 without playing. And Vlc will play video but with every plugin audio has breaks. other players say the divx mpeg-4 plugin is missing, i thought it was installed when i did everything according to the tutorial. i’m lost again…

the output of

rpm --query --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' MPlayer '*vlc*' | grep -v avahi | sort 

looks like this now:

banshee-1-backend-engine-gstreamer-1.4.1-2.14
gst-fluendo-mp3-2-37.6
gstreamer-0_10-0.10.21-3.11
gstreamer-0_10-ffmpeg-0.10.7-42.pm.1
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.1
gstreamer-0_10-fluendo-mpegdemux-0.10.23-42.pm.1
gstreamer-0_10-fluendo-mpegmux-0.10.4-42.pm.1
gstreamer-0_10-plugins-bad-0.10.8-6.5
gstreamer-0_10-plugins-bad-lang-0.10.8-6.6.1
gstreamer-0_10-plugins-base-0.10.21-2.20
gstreamer-0_10-plugins-good-0.10.10-3.20
gstreamer-0_10-plugins-good-extra-0.10.10-3.22.1
gstreamer-0_10-plugins-ugly-0.10.9-2.18
gstreamer-0_10-plugins-ugly-lang-0.10.9-2.18
gstreamer-0_10-schroedinger-1.0.5-2.19
gstreamer-0_10-utils-0.10.21-3.11
gstreamer-utils-0.10.21-3.11
libavc1394-0-0.5.3-129.3
libavcodec52-0.5-0.pm.3
libavdevice52-0.5-0.pm.3
libavformat52-0.5-0.pm.3
libavutil49-0.5-0.pm.3
libgstapp-0_10-0-0.10.8-6.6.1
libgstinterfaces-0_10-0-0.10.21-2.20
libgstreamer-0_10-0-0.10.21-3.11
libpostproc51-0.5-0.pm.3
libswscale0-0.5-0.pm.3
libvlc2-1.0.1-0.pm.0
libvlccore2-1.0.1-0.pm.0
libxine1-1.1.16.3-0.pm.3
libxine1-codecs-1.1.16.3-0.pm.3
libxine1-gnome-vfs-1.1.16.3-0.pm.3
libxine1-pulse-1.1.16.3-0.pm.3
vlc-1.0.1-0.pm.0
vlc-noX-1.0.1-0.pm.0
vlc-qt-1.0.1-0.pm.0
xinetd-2.3.14-129.28

gstreamer base, good, bad and ugly are installed from Opensuse not packman, but when i try to remove them and install from packman it says:

Loading repository data...
Reading installed packages...
'gstreamer-0_10-plugins-bad-0.10.8-6.5-i586' not found.
Resolving package dependencies...
Nothing to do.