A broken VLC

I don’t seem to be able to get VLC to run. I initially updated via packan however I much prefer to get it directly from vlc they have a repo for opensuse.

Currently how ever I try to get it back I have dependency problems. Installing from VLC hasn’t been a problem in the past but now the system lacks libopencv_core.so.2.4 which doesn’t even seem to be available from packman or the vlc repo.

I don’t know how it broke. I did fire up prior to the multimedia upgrade but I didn’t check it after that, I did try the vlc backend for phonon and then went back to the original one.

Help. I don’t use it very often but see it as essential and best obtained from vlc. I’ve built from source in the past but that looks like a none starter.


dhcppc0:/home/john # zypper mr -r VLC                                                                                      
Nothing to change for repository 'VLC'.                                                                                    
dhcppc0:/home/john # zypper in vlc                                                                                      
Retrieving repository 'VLC' metadata .........................................................................................[error]
Repository 'VLC' is invalid.                                                                                               
[VLC|http://download.videolan.org/pub/SuSE/Leap_42.2/x86_64/] Valid metadata not found at specified URL                    
Please check if the URIs defined for this repository are pointing to a valid repository.                                   
Warning: Skipping repository 'VLC' because of the above error.                                                             
Some of the repositories have not been refreshed because of an error.                                                      
Loading repository data...                                                                                                 
Reading installed packages...                                                                                              
Resolving package dependencies...                                                                                          
                                                                                                                           
Problem: nothing provides libopencv_core.so.2.4()(64bit) needed by vlc-noX-2.2.4-238.2.x86_64                              
 Solution 1: do not install vlc-2.2.4-238.2.x86_64                                                                         
 Solution 2: break vlc-noX-2.2.4-238.2.x86_64 by ignoring some of its dependencies                                         
                                                                                                                           
Choose from above solutions by number or cancel [1/2/c] (c): c

John

As I understand you correct, you want to transfer from using the VLC repo to the Packman repo.

IMHO, that would involve removing the VLC repo, adding the Packman repo, doing a Vendor switch to Packman. And of course the Videolan repo should not be there because it is incompatible with the Packman one.

But take note that not many people here (including me) ever used that VLC repo you mention. Simply because using the Packman repo always “worked”. Thus most advice (like mine here) is not based on experience, but on logic.

I did use the packman repo Henk as suggested by wolfie I think using the multimedia one and a zypper update. VLC did work when I initially installed it but I hadn’t used is since the update and have no idea what broke it. Currently if I launch from the console a segment fault is reported.

I suspect the best option is to force a re install but don’t know how to do that. Removing it’s bits and pieces looks tricky.

John

That is NOT equivalent to my advice: do a full Vendor switch to Packman.
Of course you do not have to follow any advice here, it is up to you.

I just have switched to packman which offered a vlc update. YAST went though that without any problems - vlc is still broken though.

I did follow advice. Trying to use the VLC repo hasn’t installed anything.

John

There was more in my advice and you did NOT report back that you did that.
Removing that VLC repo.
Removing the Videolan repo.

And as always it is better to post the exact computer output then to tell stories. It is not important that you say

I just have switched to packman which offered a vlc update.

(you may say that as an addition. It is important that you post prompt, command (thh zypper command in this case), the ouput and thenext prompt. This is the only way that we can see what you saw. And then we can come to our own conclusions and do not depend on your’s.

Same when you want to inform us what repos you have (and e.g. thus prove that you have removed the Videolan), you post all around

zypper lr -d

I had disabled it after my last post to check what the problem was building from source and then re enabled it. Reason - just curiosity and no harm can be done providing things come from official repo’s.

zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------
 1 | Perl_Development                    | Perl Development                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_Leap_42.2/ 
 2 | VLC                                 | VLC                                     | No      | ----      | ----    |   99     | NONE   | http://download.videolan.org/pub/SuSE/Leap_42.2/x86_64/                              
 3 | Varrious_files_systems              | Varrious files systems                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_Leap_42.2/            
 4 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.2                                        
 5 | google-chrome                       | google-chrome                           | No      | ----      | ----    |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                  
 6 | http-download.opensuse.org-7492e1ea | home:Kenzy:packages                     | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Kenzy:/packages/openSUSE_Leap_42.2/  
 7 | http-download.opensuse.org-7b61e500 | multimedia:photo                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/photo/openSUSE_Leap_42.2/      
 8 | http-download.opensuse.org-87633179 | home:rawtherapee                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/rawtherapee/openSUSE_Leap_42.2/      
 9 | http-download.opensuse.org-d826a809 | openSUSE.org:openSUSE:Leap:42.1:Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                                   
10 | http-download.videolan.org-ac27df37 | SuSE                                    | No      | ----      | ----    |   99     | rpm-md | http://download.videolan.org/SuSE/Leap_42.1/                                         
11 | http-download.videolan.org-d16de68a | SuSE                                    | No      | ----      | ----    |   99     | rpm-md | http://download.videolan.org/SuSE/Leap_42.1/                                         
12 | openSUSE-42.2-0                     | openSUSE-42.2-0                         | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-hp_DVD_A_DH16ACSHR_2L8221912016                   
13 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/                                     
14 | repo-debug                          | openSUSE-Leap-42.2-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/oss/                  
15 | repo-debug-non-oss                  | openSUSE-Leap-42.2-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/non-oss/              
16 | repo-debug-update                   | openSUSE-Leap-42.2-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/oss/                             
17 | repo-debug-update-non-oss           | openSUSE-Leap-42.2-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/non-oss/                         
18 | repo-non-oss                        | openSUSE-Leap-42.2-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/                    
19 | repo-oss                            | openSUSE-Leap-42.2-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/oss/                        
20 | repo-source                         | openSUSE-Leap-42.2-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/oss/                 
21 | repo-source-non-oss                 | openSUSE-Leap-42.2-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/non-oss/             
22 | repo-update                         | openSUSE-Leap-42.2-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/oss/                                   
23 | repo-update-non-oss                 | openSUSE-Leap-42.2-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/                               
john@dhcppc0:~> 

John

I do not understand quite what you say here. You should gave removed the Videolan repo and the VLC repos BEFORE you did the vendor switch, not “after your last post”.

You can of course also disable instead of remove them, but specially the Videolan you do not need and it can only harm. Thus why not remove? Try to get a tidy list. Also look at #9 and #22. They are the same. Remove one.

I do not know what you think are official repos. But IMHO that are only OSS, non-OSS and their Update, debug and source companions. All else is not part of the official distribution.

Thanks to you not reporting step by step in sequence what you did, I am still not 100% sure you did the switch AFTER the disableing. And of course, as long as you do not post how you switched, nobody can conclude you did it correct.

Please, humans make errors, computers don’t. Never post your conclusions (alone), like ‘I did the Vendor switch’ without posting the code. You have a problem. Thus it is very probable you made a mistake (specially as nobody else reports VLC not running on LEAP 42.2). Again, it is very human to jump over your own mistakes, not seeing them, again and again. Others can help here with a fresh look, But only if there is something to look at.

By steps

1 Installed leap42.2 from a dvd including a selection of software that included vlc and it did work

2 Following advice added the packman repo and did a dup - I don’t know if vlc still worked

3 Came to use vlc - didn’t work.

4 Disabled packman and added vlc’s in the hope that would work - nothing installed due to dependencies.

5 Disable VLC and enabled packman and added the updates that were available. VLC still didn’t work - I didn’t select the beta’s

6 Disabled packman as I knew that I would need to install some lib’s and downloaded VLC source

7 .Several ./config loading things that were needed to compile all from official repo’s. VLC will do all sorts of things if all if the files it can use are available but lots that are missing just generate warnings rather than errors and just reduce it’s capabilities. The main sticking point could well be this but there could be another past this.


checking for AVCODEC... yes
configure: error: libavutil versions 55 and later are not supported.

If it had compiled I could have tested it just via make as there is no need to use make install. It will run from where it’s compiled. I don’t think all of the lib’s that it can use have ever been in the repo. Many of the warnings were down to the lack of dev files so I added what I could.

I sometimes use vlc to play internet streams particularly radio however I did wonder about codecs. A google came up with many can’t play so and so. I then went to opensuse community.

8 Installed the codec pack, 1 click from the community.

VLC still doesn’t work and still wont compile and interestingly packman now shows that upgrades are available again. A number of things were downgraded to allow the codec pack to install. Dragon player now plays the few I have about but my main interest was internet streams.

One of my main uses for my pc is photography. It gets very heavily used for that at times. I can’t manage without 2 packages, Rawtherapee and Fotoxx. I will also want the latest version of the GIMP when I get to that. Keeping any of these up to date has never caused any problems at all in the past. Even running multiple colour management packages. They sort themselves out.

The only thing I can think that may have broke it is removing xfce bits and pieces but no dependency problems according to yast. It’s a pity patterns can’t be used to do that. Removing these did offer solutions so I picked delete that as well. VLC was never mentioned.

The only hope I suspect I have is de installing VLC or forcing a complete re install which by the look of it may mess up the codec pack if it’s too recent.

John

That is very good and may help people to understand your situation.

But in fact I wanted the steps you took following my advice. I of course want to see what following my advice did do. Now I am still missing what happens when you do the vendor switch. I guess, I already asked now at least two times for it. But I still see nothing.

In the mean time, we have your repo list, thus I am able to offer you the statement that should do the switch:

zypper dup --from 'Packman Repository'

(Please copy/paste or check and re-check that you have that exact;y.
And post that here!

I will have copy pasted the initial instruction that I was originally given.

Still no joy

john@dhcppc0:~> vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
Segmentation fault (core dumped)
john@dhcppc0:~> 

Zypper suggested a list of apps that might be affected that were running so I logged out and back in before trying it.

John

I have t old you x times that you should not tell you did it, you should show it by copy/paste all here in your post.

I give up.

Sure give up - how can I find something I did a couple of weeks ago and copy paste it?

Actually there are mentions of this segmentation fault on here and elsewhere. On here there was also a comment about mixing repo’s. Probably not possible as dependencies wouldn’t have been met when the other repo was tried so could only cause problems if the poster left that repo active. Repeat I did not. And like I said I do usually copy paste any instructions people provide for me and you have not told me to do that x times.

John

You can mix repos and is a leading cause of all sorts of problems

Just a vendor change to packman should fix your problem

If you don’t know how post your repo list

zypper lr -d

I instructed you to do the

zypper dup --from 'Packman Repository'

not "weeks ago’, but yesterday! Where is it!!!

From post #6 in this thread:

… It is important that you post prompt, command (thh zypper command in this case), the ouput and thenext prompt. This is the only way that we can see what you saw. And then we can come to our own conclusions and do not depend on your’s…

Fr om post #8 in this thread:

I am still not 100% sure you did the switch AFTER the disableing. And of course, as long as you do not post how you switched, nobody can conclude you did it correct.

Please, humans make errors, computers don’t. Never post your conclusions (alone), like ‘I did the Vendor switch’ without posting the code. You have a problem. Thus it is very probable you made a mistake (specially as nobody else reports VLC not running on LEAP 42.2). Again, it is very human to jump over your own mistakes, not seeing them, again and again. Others can help here with a fresh look, But only if there is something to look at.

From post #10 in this thread:

In the mean time, we have your repo list, thus I am able to offer you the statement that should do the switch:
Code:
zypper dup --from ‘Packman Repository’
(Please copy/paste or check and re-check that you have that exact;y.
And post that here!

English may no be my native language and as you do not read fom this that you in general should always copy/paste all what you are asked for, or do additionally, into your posts it is obvious that I can not really communicate with you.
And more specific to this thread, when I am seemingly not able to make it clear to you that you should do the Vendor switch and post that action here, apparently there is no mode of understanding between us.

And that is why I give up. It is simply useless for you and lost time and frustration for me.

Perhaps the problem is Henk that the output didn’t show any signs of a problem. However I ran it again and in some respects the output is odd as it should already have been done.


dhcppc0:/home/john # zypper dup --from 'Packman Repository'
Retrieving repository 'Packman Repository' metadata ..................................................[done]
Building repository 'Packman Repository' cache .......................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following item is locked and will not be changed by any action:
 Available:
  tracker

The following application is going to be REMOVED:
  "VLC Media player"

The following 5 packages are going to be upgraded:
  libvlc5 libvlccore8 vlc vlc-noX vlc-qt

The following package is going to be downgraded:
  vlc-devel

The following 6 packages are going to change vendor:
  libvlc5      obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  libvlccore8  obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc          obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc-devel    obs://build.opensuse.org/multimedia:libs -> http://packman.links2linux.de
  vlc-noX      obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc-qt       obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 


5 packages to upgrade, 1 to downgrade, 6  to change vendor.
Overall download size: 5.3 MiB. Already cached: 0 B. After the operation, 1.1 MiB will be freed.
Continue? [y/n/? shows all options] (y): y
Retrieving package libvlccore8-2.2.4-32.2.x86_64                       (1/6), 425.6 KiB (  1.0 MiB unpacked)
Retrieving: libvlccore8-2.2.4-32.2.x86_64.rpm ........................................................[done]
Retrieving package libvlc5-2.2.4-32.2.x86_64                           (2/6),  95.3 KiB (131.5 KiB unpacked)
Retrieving: libvlc5-2.2.4-32.2.x86_64.rpm ............................................................[done]
Retrieving package vlc-noX-2.2.4-32.2.x86_64                           (3/6),   3.3 MiB ( 11.5 MiB unpacked)
Retrieving: vlc-noX-2.2.4-32.2.x86_64.rpm ................................................[done (1.3 MiB/s)]
Retrieving package vlc-qt-2.2.4-32.2.x86_64                            (4/6),   1.1 MiB (  3.0 MiB unpacked)
Retrieving: vlc-qt-2.2.4-32.2.x86_64.rpm .............................................................[done]
Retrieving package vlc-2.2.4-32.2.x86_64                               (5/6), 247.8 KiB (401.7 KiB unpacked)
Retrieving: vlc-2.2.4-32.2.x86_64.rpm ................................................................[done]
Retrieving package vlc-devel-2.2.4-32.2.x86_64                         (6/6), 196.3 KiB (750.0 KiB unpacked)
Retrieving: vlc-devel-2.2.4-32.2.x86_64.rpm ..........................................................[done]
Checking for file conflicts: .........................................................................[done]
(1/6) Installing: libvlccore8-2.2.4-32.2.x86_64 ......................................................[done]
(2/6) Installing: libvlc5-2.2.4-32.2.x86_64 ..........................................................[done]
(3/6) Installing: vlc-noX-2.2.4-32.2.x86_64 ..........................................................[done]
Additional rpm output:                                                                                      
/var/tmp/rpm-tmp.bGDc9n: line 2:  4507 Segmentation fault      (core dumped) /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins                                                                                     
warning: %post(vlc-noX-2.2.4-32.2.x86_64) scriptlet failed, exit status 139                                 
                                                                                                            
                                                                                                            
(4/6) Installing: vlc-qt-2.2.4-32.2.x86_64 ...........................................................[done]
Additional rpm output:                                                                                      
/var/tmp/rpm-tmp.8NoLkS: line 1:  4512 Segmentation fault      (core dumped) /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins                                                                                     
warning: %post(vlc-qt-2.2.4-32.2.x86_64) scriptlet failed, exit status 139                                  
                                                                                                            
                                                                                                            
(5/6) Installing: vlc-2.2.4-32.2.x86_64 ..............................................................[done]
Additional rpm output:                                                                                      
/var/tmp/rpm-tmp.tfOaWd: line 1:  4516 Segmentation fault      (core dumped) /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins                                                                                     
warning: %post(vlc-2.2.4-32.2.x86_64) scriptlet failed, exit status 139                                     
                                                                                                            
                                                                                                            
(6/6) Installing: vlc-devel-2.2.4-32.2.x86_64 ........................................................[done]
dhcppc0:/home/john #                                                                                        

The result


dhcppc0:/home/john # su john                                                                                
john@dhcppc0:~> vlc                                                                                         
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)                                             
Segmentation fault (core dumped)                                                                            
john@dhcppc0:~>                                                                                             

Perhaps I did miss the coredump message but I don’t think so, However possibly.

John

As you can see, you have a mix of Versions from different Repos.

The following 6 packages are going to change vendor:
  libvlc5      obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  libvlccore8  obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc          obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc-devel    obs://build.opensuse.org/multimedia:libs -> http://packman.links2linux.de
  vlc-noX      obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de 
  vlc-qt       obs://build.opensuse.org/home:gallochri -> http://packman.links2linux.de

The /home:gallochri and multimedia:libs are not shown in your zypper lr -d
So you have enabled them after asking for any Help.

Also:
Less Repos are for Beginners better as you can see.

You still fail to see what this is about. I**t does not matter if you think that “the output didn’t show any problems”. **We are NOT interested in YOUR conclusions. We are ONLY interested to see what happened. And then make our own conclusions. And based on those come with further information and/or questions to you.

And as @Sauerland posts, you did change your repos list without informing us about that. You seem to think that we are clairvoyant. THIS IS NOT THE CASE. In fact most people will conclude that you are cheating us and put you on their “ignore list”.

In fact, we are now not one step further then post #7 (18 hours ago!) where you posted your repo list. We now need a new one. Then comment on that. Then you have to clean it up following those recommendations and post the cleaned up one (because you have lost all trtust in you doing the correct things). And then we can do the Vendor switch again.

>:)>:)>:)
I think I am going for some biking. The sun is shining. It looks like spring is in the air.

The problem is step 4/6 so the vendor change didn’t happen. What is there is a previous attempt to fix vlc - try another one. Since then the update from packman hasn’t actually done anything.

Why try another because vlc didn’t work and I had done an update from packman already however I think it didn’t include from. I would have to find the post I copied the command from to be sure.

John