cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.