Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Can't download VLC Media Player


    I downloaded VLC Media Player on my Ubuntu Studio 16.1 couple of weeks ago, and now my system can't download it anymore. Here's what happens.

    -desktop:~$ sudo apt-get install vlc
    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: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
    libgles1
    E: Unable to correct problems, you have held broken packages.

    I tried all the older VLC Players up to 2.0.0, but it gave me the same dependencies problem.

    When I try to just download that package, this happens.

    -desktop:~$ sudo apt-get install libgles1-mesa
    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:
    libgles1-mesa : Depends: libglapi-mesa (= 17.0.0~git20170206+17.0.07571cd8-0ubuntu0ricotz~yakkety) but 17.0.1+git20170319+17.0.07adc57f-0ubuntu0ricotz~yakkety is to be installed
    E: Unable to correct problems, you have held broken packages.

    I'm gonna try other media players, but I still want VLC, and how to fix broken packages when they come up.

    I'm new to Linux, and I read another thread on broken packages, but I'm not sure how to use sudo dpkg --configure -a.

    Edit 2: Banshee doesn't do what I primarily need, to play mp4 videos to take shapshots of videos I create, which VLC media player does. Banshee will work with my music management, though.

  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Posts
    2,747
    most probably this has nothing to do with vlc.

    i suspect you added software sources/ppas and broke your system, more or less.

    please remove fishy software sources and run

    Code:
    apt update
    apt upgrade
    dpkg --configure -a
    (maybe have to repeat)

    PS:
    ubuntu 16.10 will go obsolete soon.
    consider using LTS versions.
    https://wiki.ubuntu.com/Releases

  3. #3
    Ok, I tried this:

    ~# vlc --reset-config
    VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
    [0000561cff7792f8] core interface error: no suitable interface module
    [0000561cff689148] core libvlc error: interface "globalhotkeys,none" initialization failed
    [0000561cff689148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0000561cff783788] [cli] lua interface: Listening on host "*console".
    VLC media player 2.2.4 Weatherwax
    Command Line Interface initialized. Type `help' for help.

    So how do I fix the interface module?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Dec 2013
    Posts
    2,747
    and why would you listen to my next advice if you ignored the previous one?
    fix your packages first, then we'll see.
    your system is messed up somehow.

  6. #5
    I'm new at this, so I wouldn't know which packages are fishy or not.

    I installed Ubuntu studio 16.0.4 LTS, so I have the VLC media player now.

  7. #6
    Linux Guru
    Join Date
    Dec 2013
    Posts
    2,747
    Quote Originally Posted by Leonidas2342 View Post
    I'm new at this, so I wouldn't know which packages are fishy or not.
    so then remove everything you added.
    ubuntu does have a utility called "software sources" or some such specifically for that purpose.

    Quote Originally Posted by Leonidas2342 View Post
    I installed Ubuntu studio 16.0.4 LTS, so I have the VLC media player now.
    but in post #1 you wrote "I downloaded VLC" which to me suggests that
    a) it wasn't installed by default
    b) you used some non-standard way to install it?

  8. #7
    -->
    Ok, I will try to get that utility since I have broken packages when I try to download other software now.

    VLC isn't included in either Ubuntu Studio, I used terminal to download it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •