cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

apt-get install texlive error 404

giacomosachs
New Contributor

Hi everybody, I'm trying to install on a cluster (Azure Databricks, DBR 7.3LTS) texlive-full using apt-get install texlive-full in an init script.

The issue is that, most of the times (not always), I get a 404 when downloading packages from security.ubuntu.com. The current init script is as follows (I wrote also the next part, that downloads an additional package. That part gives no error, though):

sudo apt-get update
sudo apt-get upgrade --fix-missing -y
sudo apt-get install texlive-full --fix-missing -y
wget http://mirror.ctan.org/graphics/pgf/contrib/pgf-pie.zip
unzip pgf-pie.zip
mkdir -p /root/texmf/tex/latex/pgf-pie
cp -r pgf-pie /root/texmf/tex/latex
mkdir -p /root/texmf/doc/latex/pgf-pie
cp pgf-pie/pgf-pie-manual.pdf /root/texmf/doc/latex/pgf-pie/

That's the error I get (from the log):

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5core5a_5.9.5+dfsg-0ubuntu2...  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5dbus5_5.9.5+dfsg-0ubuntu2....  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5network5_5.9.5+dfsg-0ubunt...  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5gui5_5.9.5+dfsg-0ubuntu2.5...  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5widgets5_5.9.5+dfsg-0ubunt...  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5xml5_5.9.5+dfsg-0ubuntu2.5...  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/qt5-gtk-platformtheme_5.9.5+dfsg...  404  Not Found [IP: 91.189.88.142 80]
E: Aborting install.

I tried to understand what kind of error is it, and it seems that the packages it's looking for do not exist, but have another name/version.

What am I missing? What am I doing wrong? Is there a more suitable way to get the latex compiler on a cluster?

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group