Announcement

Collapse
No announcement yet.

Cannot install VLC

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot install VLC

    A few days ago I upgraded my laptop from 14.04 through 14.10 and finally on to 15.04. Everything works great aside from a few minor glitches and having to reconfigure a couple of settings, so I went through the process on my main desktop PC. Same thing, upgrade from 14.04 to 14.10 and from there up to 15.04. I did not have VLC Player on my laptop but it installed perfectly yesterday and works great, as VLC always does. However, trying to install it on my desktop gives me this error:
    Code:
    [COLOR=#000000]gknbynw@gknbynw-desktop:~$ sudo apt-get install vlc [/COLOR]
    [FONT=monospace]Reading package lists... Done 
    Building dependency tree        
    Reading state information... Done 
    Some packages could not be installed. This may mean that you have 
    requested an impossible situation or if you are using the unstable 
    distribution that some required packages have not yet been created 
    or been moved out of Incoming. 
    The following information may help to resolve the situation: 
    
    The following packages have unmet dependencies: 
     vlc : Depends: vlc-nox (= 2.2.1~trusty) but it is not going to be installed 
           Depends: libfreerdp1 (>= 1.0.1) but it is not installable 
           Recommends: vlc-plugin-notify (= 2.2.1~trusty) but it is not going to be
     installed 
           Recommends: vlc-plugin-samba (= 2.2.1~trusty) but it is not going to be 
    installed 
    E: Unable to correct problems, you have held broken packages.[/FONT]


    Through a Google search I found someone with the same problem over on Ask Ubuntu (http://askubuntu.com/questions/61415...n-ubuntu-15-04) but the question is only a day old and has no solutions as of yet.


    Has anyone else encountered this issue? Anybody have any solutions for this? As always, thanks in advance.

    #2
    Your error:
    The following packages have unmet dependencies: vlc : Depends: vlc-nox (= 2.2.1~trusty) but it is not going to be installed
    Depends: libfreerdp1 (>= 1.0.1) but it is not installable
    You have installed third party VLC version: = 2.2.1~trusty. The Vivid version is: 2.2.0-1.

    Either remove those '
    ~trusty' packages or add back the package source where you installed the VLC (2.2.1~trusty).

    Comment


      #3
      Originally posted by Wheel Inventor View Post
      Your error:


      You have installed third party VLC version: = 2.2.1~trusty. The Vivid version is: 2.2.0-1.

      Either remove those '
      ~trusty' packages or add back the package source where you installed the VLC (2.2.1~trusty).
      Thanks for the reply I currently do not have VLC installed. I realize now that I wasn't very specific in my original post. On the PC in question I did not have VLC installed at all. Also, I am not a "power user" when it comes to Kubuntu. I know more than some but a lot less than many :P LOL Should I do an "add-apt-repository ppa:videolan/stable-daily" and cross my fingers or is it not that simple?

      Edit: I should also mention that if I try to install VLC using Muon Discover, the progress bar for the install gets almost to the end and then stops, and it reverts back to showing the "Install" button.
      Last edited by GKNByNW; Apr 27, 2015, 01:30 PM. Reason: Add'l info

      Comment


        #4
        Ok, I took another look at the answers on AskUbuntu that I linked to in the OP. One reply wanted to see the output for "apt-cache policy vlc" so I tried that on my own system and got the following:

        Code:
         [FONT=monospace][COLOR=#000000]vlc: [/COLOR]
          Installed: (none) 
          Candidate: 2.2.1~trusty 
          Version table: 
             2.2.1~trusty 0 
                500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main am
        d64 Packages 
             2.2.0-1 0 
                500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        [/FONT]
        I added the mc3man PPA under 14.04 to install gstreamer0.10-ffmpeg and, after upgrading to 15.04, I re-enabled that PPA and edited it so that it would properly update under the new version. I am going to disable that PPA (if only temporarily) and then try again to install VLC. I shall report back here with the results.
        Last edited by GKNByNW; Apr 27, 2015, 01:44 PM.

        Comment


          #5
          Cleaning

          I would use the ppa-purge:

          Code:
          [FONT=monospace]ppa-purge(1)                                         General Commands Manual                                         ppa-purge(1) [/FONT][FONT=monospace]
          [B]NAME[/B]
                 ppa-purge - disables a PPA and reverts to official packages
          
          [B]SYNOPSIS[/B]
                 [B]ppa-purge[/B] [B][-h[/B] [B]|[/B] [B][-d[/B] [B]<distribution>][/B] [B][-s[/B] [B]<host>][/B] [B][-p[/B] [B]<ppaname>][/B] [B]<ppa:<ppaowner[/ppaname>]>][/B]
          
          [B]DESCRIPTION[/B]
                 This  script  provides  a  bash  shell script capable of automatically downgrading all packages in a given PPA back to the
                 ubuntu versions.
          
                 You have to run it using root privileges because of the package manager.
          
          [B]OPTIONS[/B]
                 [B]-h[/B]     Display usage help.
          
                 [B]-p[/B] PPA name
                        Name of the PPA to be reset, the default value is ppa.
          
                 [B]-s[/B] PPA host
                        Address of the repository server, the default value is ppa.launchpad.net.
          
          [B]COPYRIGHT[/B]
                 This manual page is Copyright 2010 Lorenzo De Liso <blackz@ubuntu.com>.  Permission is granted to copy, distribute  and/or
                 modify  this  document  under the terms of the GNU General Public License, Version 3 or any later version published by the
                 Free Software Foundation.
          
          ppa-purge                                                   2010-08-23                                               ppa-purge(1)
          [/FONT]

          A How to: http://askubuntu.com/questions/307/h...pas-be-removed

          Comment


            #6
            Ok, it seems I have solved my own problem. Disabling the mc3man PPA allowed me to install VLC without any issues. I'm not sure why I didn't have this same problem on my laptop, unless I thought I had re-enabled the mc3man PPA when in fact I did not.

            So... Now the questions become:

            1. Should I remove or the mc3man PPA permanently? And, if so,
            2. Is there a newer/better source for the gstreamer ffmpeg plugin?

            Comment

            Working...
            X