Error with libvtk6-dev and 'make auto'

Submitted by Evan.J on Sun, 09/24/2017 - 08:46

Hello!

I am trying to follow the LIGGGHTS installation procedure. After installing VTK, I am trying to install the prerequisites (with sudo apt-get install openmpi-bin libopenmpi-dev libvtk6.2 libvtk6-dev). It seems to have trouble with libvtk6-dev. When I try to install libvtk6-dev on its own, I get the following errors. And indeed, if I follow the link in the error, those files do not exist at that location. If I proceed and try to 'make auto' anyway, I get an error stating "could not compile VTK example with ....", which I assume is because libvtk6-dev is not successfully installed.

A couple other points:
-I can successfully 'make openmpi' (getting the lmp_openmpi executable out) whereas 'make auto' doesn't work. I assume I'll need libvtk6-dev to successfully use VTK later on though, so it seems I should straighten this out instead of just moving forward with the lmp_openmpi executable.
-I'm new to ubuntu so please keep any answers clear for a novice - thanks!

Here is the output:
sudo apt-get install libvtk6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libvtk5.10 linux-headers-4.4.0-78 linux-headers-4.4.0-78-generic
linux-image-4.4.0-78-generic linux-image-extra-4.4.0-78-generic
linux-signed-image-4.4.0-78-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libdap-dev libdapserver7v5 libeigen3-dev libgdal-dev libgeos-dev libgif-dev libhdf4-alt-dev
libjasper-dev libjsoncpp-dev libogg-dev libspatialite-dev libsqlite3-dev libtheora-dev
libuuid1 libvtk6-java libwebp-dev libwebpdemux1 libxdmf-dev libxdmf2 libxerces-c-dev
tcl-vtk6 unixodbc unixodbc-dev uuid-dev vtk6
Suggested packages:
libeigen3-doc libmrpt-dev libgdal-doc sqlite3-doc vtk6-doc vtk6-examples
java-virtual-machine libxerces-c-doc
The following packages will be REMOVED:
libvtk5-dev
The following NEW packages will be installed:
libdap-dev libdapserver7v5 libeigen3-dev libgdal-dev libgeos-dev libgif-dev libhdf4-alt-dev
libjasper-dev libjsoncpp-dev libogg-dev libspatialite-dev libsqlite3-dev libtheora-dev
libvtk6-dev libvtk6-java libwebp-dev libwebpdemux1 libxdmf-dev libxdmf2 libxerces-c-dev
tcl-vtk6 unixodbc unixodbc-dev uuid-dev vtk6
The following packages will be upgraded:
libuuid1
1 upgraded, 25 newly installed, 1 to remove and 210 not upgraded.
Need to get 42,1 kB/21,8 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
libuuid1 libdapserver7v5 uuid-dev libdap-dev libgeos-dev libgif-dev libogg-dev
libsqlite3-dev libtheora-dev libeigen3-dev libwebpdemux1 libwebp-dev libhdf4-alt-dev
libxerces-c-dev unixodbc unixodbc-dev libspatialite-dev libgdal-dev libjsoncpp-dev
libvtk6-java libxdmf2 libxdmf-dev tcl-vtk6 vtk6 libvtk6-dev
Install these packages without verification? [y/N] y
Err:1 http://tr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.2
404 Not Found [IP: 193.140.100.100 80]
Err:2 http://tr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 uuid-dev amd64 2.27.1-6ubuntu3.2
404 Not Found [IP: 193.140.100.100 80]
E: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/pool/main/u/util-linux/libuuid1_2.27... 404 Not Found [IP: 193.140.100.100 80]

E: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/pool/main/u/util-linux/uuid-dev_2.27... 404 Not Found [IP: 193.140.100.100 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Evan.J | Mon, 10/16/2017 - 08:30

Hello - I didn't want to leave this question hanging, so I'm replying to my own post.

I never did figure out what was wrong, so I ended up reinstalling Ubuntu and starting from scratch. I was then able to successfully install all the CFDEM components without this error.

Thanks,
Evan