3

sudo apt-get install libxxf86vm-dev fails on Ubuntu 16.04

How can I get this to install?

It says "unable to locate package".

yes I did sudo apt-get update

Output of apt-get update

Hit:1 nz.archive.ubuntu.com/ubuntu xenial InRelease 
Hit:2 nz.archive.ubuntu.com/ubuntu xenial-updates InRelease 
Hit:3 nz.archive.ubuntu.com/ubuntu xenial-backports InRelease 
Ign:4 dl.google.com/linux/chrome/deb stable InRelease 
Hit:5 dl.google.com/linux/chrome/deb stable Release 
Get:6 security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]      
Fetched 94.5 kB in 4s (23.3 kB/s) Reading package lists... Done
Anwar
  • 76,649
Esenthel
  • 141
  • 1
  • 3
  • Give us the output of apt-get update – Anwar Oct 13 '16 at 05:30
  • Post output of sudo apt-get update – Liso Oct 13 '16 at 05:33
  • Hit:1 http://nz.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://nz.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:3 http://nz.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:5 http://dl.google.com/linux/chrome/deb stable Release
    Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
    Fetched 94.5 kB in 4s (23.3 kB/s)
    Reading package lists... Done
    – Esenthel Oct 13 '16 at 05:38
  • Open software & updates in dash, then go to "Ubuntu Software" tab. Theres 4 check boxes below "Downloadable from the Internet", make sure you enabled them all – Liso Oct 13 '16 at 06:02
  • You can just follow the instruction http://askubuntu.com/questions/378558/unable-to-locate-package-while-trying-to-install-packages-by-apt

    It's not fully related to you. But It will be helpful to solve your issue.

    – Abul Kashem Shamim Oct 13 '16 at 06:13
  • I have 4 checkboxes enabled and still doesn't work – Esenthel Oct 14 '16 at 01:29

2 Answers2

2

libxxf86vm-dev package is exist on Xenial package directories, so most likely the problem was disabled-by-default 4 ubuntu sources in Software & Updates. Here's how you enabled them :

  1. Go to Software & Updates by searching in dash.
  2. Open "Ubuntu Software" tab.
  3. Make sure you enabled all the checkbox that represent each sources (main, universe, restricted, multiverse).

enter image description here

  1. Once you enabled them, open terminal by pressing Ctrl+Alt+T, then test with following command :

    sudo apt-get update && sudo apt-get install libxxf86vm-dev

If the above trick doesn't work, you can try download from Ubuntu Packages

Open terminal, then execute following command one-by-one :

wget "http://nz.archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm-dev_1.1.4-1_i386.deb"
sudo dpkg -i libxxf86vm-dev_1.1.4-1_i386.deb
Liso
  • 15,377
  • 3
  • 51
  • 80
  • I already had 4 checkboxes enabled, but download from was set to New Zealand server. – Esenthel Oct 13 '16 at 23:30
  • ugh.. I pressed enter and comment finished and I can't edit it? anyway.. I changed the New Zealand Server to Main Server. did update, this time more packages got downloaded, I thought it would solve the problem. but then I do install.. and it still says unable to locate package – Esenthel Oct 13 '16 at 23:31
  • entire output can be visible here: https://answers.launchpad.net/ubuntu/+question/402979 – Esenthel Oct 13 '16 at 23:43
  • Thank you. This fixes for me. – daparic Sep 12 '22 at 06:48
1

wow the problem was that there was some invisible character located here -> libxxf86vm*-dev Thanks everyone for help, and Manfred Hampl for finding the problem.

Esenthel
  • 141
  • 1
  • 3