cannot install sysvinit-core
[dev-env-setup.git] / install-hdl-apt-reqs
index ba24ee9783feac246a190226c83c5feb1e0a655c..6d5b2eb095421feb35ccfc85190091bf886a6b28 100755 (executable)
@@ -3,24 +3,7 @@ if [ "$EUID" -ne 0 ]
   then echo "Please run as root"
   exit
 fi
-# for qemu 5.2 use debian/buster backports
-cat << EOF > /etc/apt/sources.list.d/buster_backports.list
-deb http://deb.debian.org/debian buster-backports main
-EOF
-
-# oooo annoying, pin preferences for buster-backports
-cat << EOF > /etc/apt/preferences.d/99buster-backports
-Package: *
-Pin: release a=buster-backports
-Pin-Priority: 900
-
-Package: libcurl3-gnutls
-Pin: release a=stable
-Pin-Priority: 901
-EOF
-
 apt-get update -y
-apt-get upgrade -y
 apt-get install -y autoconf \
     bison \
     build-essential \
@@ -65,7 +48,12 @@ apt-get install -y autoconf \
     python3-sphinx \
     python3-sphinx-rtd-theme \
     python3-recommonmark \
-    qemu-system-ppc/buster-backports \
+    python3-pandocfilters \
+    pandoc \
+    texstudio \
+    texlive \
+    texlive-latex-extra \
+    inkscape \
     tcl \
     tcl-dev \
     tcl-tclreadline \
@@ -73,6 +61,10 @@ apt-get install -y autoconf \
     wget \
     xdot
 
+
+# have to also upgrade sysvinit-core to stop it getting removed
+apt-get -t buster-backports install qemu-system-ppc/buster-backports 
+
 # if doing this on ppc64le it may fail
 apt-get install -y gcc-8-powerpc64-linux-gnu
 apt-get install -y gcc-8-powerpc64le-linux-gnu