kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

KERN-5: Unable to locate package presto #252

Closed 0xCoto closed 2 years ago

0xCoto commented 2 years ago

I am using Ubuntu 18.04 (arm64) and I am trying to install PRESTO. However, installing PRESTO is generally a very tricky task. Could KERN assist in that regard by automating the whole process of installing PRESTO and its prerequisites (TEMPO, PGPLOT etc.)?

Trying with KERN-5 yields no luck:

sudo apt-add-repository -s ppa:kernsuite/kern-5
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt-get update

However, when I run sudo apt-get install presto, it looks like the package isn't found:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package presto

Does it have a different name perhaps?

Thanks in advance! @gijzelaerr @Athanaseus

gijzelaerr commented 2 years ago

I have no issue finding the presto package in KERN-5:

λ  docker run -ti kernsuite/base:5
Unable to find image 'kernsuite/base:5' locally
5: Pulling from kernsuite/base
23884877105a: Pull complete
bc38caa0f5b9: Pull complete
2910811b6c42: Pull complete
36505266dcc6: Pull complete
e68d39a3c6c3: Pull complete
0b4fb9a6631e: Pull complete
aa2cfb894499: Pull complete
8cc868f086fc: Pull complete
349837694b38: Pull complete
4d7768986dc1: Pull complete
23117f6b228c: Pull complete
Digest: sha256:049901a47de2c9aa504b8b1b9be96349e7b59e8f0ac6cfe2d75c88da26e46062
Status: Downloaded newer image for kernsuite/base:5
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@062308535a1e:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
root@062308535a1e:/# apt-get update
Get:1 http://ppa.launchpad.net/kernsuite/kern-5/ubuntu bionic InRelease [21.3 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://ppa.launchpad.net/kernsuite/kern-5/ubuntu bionic/main amd64 Packages [38.0 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [691 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [26.8 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1446 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2898 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2461 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [34.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [725 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2227 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Fetched 10.8 MB in 14s (774 kB/s)
Reading package lists... Done
root@062308535a1e:/# apt-get install presto
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu blt cpp cpp-7 fontconfig-config fonts-dejavu-core fonts-droid-fallback fonts-lato fonts-lmodern fonts-lyx
  fonts-noto-mono fonts-texgyre g++ g++-7 gcc gcc-7 gcc-7-base ghostscript ghostscript-x gsfonts javascript-common krb5-locales latex2html libasan4 libatomic1
  libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libbinutils libblas3 libbsd0 libc-dev-bin libc6 libc6-dev libcairo2 libcc1-0 libcfitsio5
  libcilkrts5 libcups2 libcupsfilters1 libcupsimage2 libcurl3-gnutls libdata-dump-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
  libedit2 libelf1 libencode-locale-perl liberfa1 libexpat1-dev libfftw3-single3 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl libfile-mimeinfo-perl
  libfont-afm-perl libfontconfig1 libfontenc1 libfreetype6 libgcc-7-dev libgdbm-compat4 libgdbm5 libgfortran4 libgl1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglvnd0
  libglx-mesa0 libglx0 libgomp1 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libice6 libidn11 libijs-0.35
  libio-html-perl libio-socket-ssl-perl libipc-system-simple-perl libisl19 libitm1 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-datatables
  libjs-jquery-ui libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 liblapack3 liblcms2-2 libllvm10 liblsan0 liblwp-mediatypes-perl liblwp-protocol-https-perl
  libmailtools-perl libmpc3 libmpfr6 libmpx2 libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnetpbm10 libnghttp2-14 libnspr4 libnss3
  libpaper-utils libpaper1 libpciaccess0 libperl5.26 libpixman-1-0 libpng16-16 libpoppler73 libpotrace0 libpsl5 libptexenc1 libpython-dev libpython-stdlib libpython2.7
  libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libquadmath0 librtmp1 libruby2.5 libsensors4 libsm6 libstdc++-7-dev libsynctex1 libtcl8.6 libtexlua52
  libtexluajit2 libtext-iconv-perl libtie-ixhash-perl libtiff5 libtimedate-perl libtk8.6 libtry-tiny-perl libtsan0 libubsan0 liburi-perl libutempter0 libwcs5 libwebp6
  libwebpdemux2 libwebpmux3 libwww-perl libwww-robotrules-perl libx11-6 libx11-data libx11-protocol-perl libx11-xcb1 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6
  libxinerama1 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1
  libxxf86dga1 libxxf86vm1 libyaml-0-2 libzzip-0-13 linux-libc-dev lmodern manpages manpages-dev multiarch-support netbase netpbm perl perl-base perl-doc perl-modules-5.26
  perl-openssl-defaults pgplot5 poppler-data preview-latex-style publicsuffix python python-astropy python-attr python-backports.functools-lru-cache python-configobj
  python-cycler python-dateutil python-decorator python-dev python-funcsigs python-matplotlib python-matplotlib-data python-minimal python-numpy python-olefile python-pil
  python-pkg-resources python-pluggy python-ply python-presto python-py python-pyparsing python-pytest python-scipy python-six python-subprocess32 python-tk python-tz
  python2.7 python2.7-dev python2.7-minimal rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration t1utils
  tcl tcl8.6 tempo tex-common tex-gyre texlive-base texlive-binaries texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended
  texlive-pictures texlive-plain-generic tipa tk tk8.6 tk8.6-blt2.5 ttf-bitstream-vera tzdata unzip x11-common x11-utils x11-xserver-utils xbitmaps xdg-utils xterm zip
Suggested packages:
  binutils-doc blt-demo cpp-doc gcc-7-locales fonts-noto g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib make autoconf automake libtool flex bison gdb
  gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
  libquadmath0-dbg apache2 | lighttpd | httpd libdigest-hmac-perl libgssapi-perl glibc-doc locales cups-common libfftw3-bin libfftw3-dev gdbm-l10n krb5-doc krb5-user
  libjs-jquery-ui-docs liblcms2-utils libcrypt-ssleay-perl pciutils lm-sensors libstdc++-7-doc libauthen-ntlm-perl libunicode-map8-perl libunicode-string-perl xml-twig-tools
  man-browser libterm-readline-gnu-perl | libterm-readline-perl-perl groff-base gfortran libpng-dev zlib1g-dev libx11-dev libxaw7-dev libxt-dev x11proto-core-dev libgif-dev
  poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum python-doc
  libxml2-utils python-astropy-affiliated python-astropy-doc python-beautifulsoup python-h5py python-pandas python-yaml python-attr-doc python-configobj-doc
  python-cycler-doc python-funcsigs-doc dvipng ffmpeg gir1.2-gtk-3.0 inkscape ipython librsvg2-common python-cairocffi python-excelerator python-gobject
  python-matplotlib-doc python-nose python-qt4 python-sip python-tornado python-traits python-wxgtk3.0 texlive-extra-utils ttf-staypuft python-numpy-dbg python-numpy-doc
  python-pil-doc python-pil-dbg python-setuptools python-ply-doc subversion python-pytest-xdist python-pyparsing-doc python-mock python-scipy-doc tix python-tk-dbg
  python2.7-doc binfmt-support ri ruby-dev bundler tcl-tclreadline debhelper perl-tk xpdf-reader | pdf-viewer texlive-fonts-recommended-doc texlive-latex-base-doc
  python-pygments icc-profiles libfile-which-perl libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pstricks dot2tex prerex
  ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex mesa-utils nickle cairo-5c xorg-docs-core xfonts-cyrillic
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu blt cpp cpp-7 fontconfig-config fonts-dejavu-core fonts-droid-fallback fonts-lato fonts-lmodern fonts-lyx
  fonts-noto-mono fonts-texgyre g++ g++-7 gcc gcc-7 gcc-7-base ghostscript ghostscript-x gsfonts javascript-common krb5-locales latex2html libasan4 libatomic1
  libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libbinutils libblas3 libbsd0 libc-dev-bin libc6-dev libcairo2 libcc1-0 libcfitsio5 libcilkrts5
  libcups2 libcupsfilters1 libcupsimage2 libcurl3-gnutls libdata-dump-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libelf1
  libencode-locale-perl liberfa1 libexpat1-dev libfftw3-single3 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl libfile-mimeinfo-perl libfont-afm-perl
  libfontconfig1 libfontenc1 libfreetype6 libgcc-7-dev libgdbm-compat4 libgdbm5 libgfortran4 libgl1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0
  libglx0 libgomp1 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libice6 libidn11 libijs-0.35
  libio-html-perl libio-socket-ssl-perl libipc-system-simple-perl libisl19 libitm1 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-datatables
  libjs-jquery-ui libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 liblapack3 liblcms2-2 libllvm10 liblsan0 liblwp-mediatypes-perl liblwp-protocol-https-perl
  libmailtools-perl libmpc3 libmpfr6 libmpx2 libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnetpbm10 libnghttp2-14 libnspr4 libnss3
  libpaper-utils libpaper1 libpciaccess0 libperl5.26 libpixman-1-0 libpng16-16 libpoppler73 libpotrace0 libpsl5 libptexenc1 libpython-dev libpython-stdlib libpython2.7
  libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libquadmath0 librtmp1 libruby2.5 libsensors4 libsm6 libstdc++-7-dev libsynctex1 libtcl8.6 libtexlua52
  libtexluajit2 libtext-iconv-perl libtie-ixhash-perl libtiff5 libtimedate-perl libtk8.6 libtry-tiny-perl libtsan0 libubsan0 liburi-perl libutempter0 libwcs5 libwebp6
  libwebpdemux2 libwebpmux3 libwww-perl libwww-robotrules-perl libx11-6 libx11-data libx11-protocol-perl libx11-xcb1 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6
  libxinerama1 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1
  libxxf86dga1 libxxf86vm1 libyaml-0-2 libzzip-0-13 linux-libc-dev lmodern manpages manpages-dev multiarch-support netbase netpbm perl perl-doc perl-modules-5.26
  perl-openssl-defaults pgplot5 poppler-data presto preview-latex-style publicsuffix python python-astropy python-attr python-backports.functools-lru-cache python-configobj
  python-cycler python-dateutil python-decorator python-dev python-funcsigs python-matplotlib python-matplotlib-data python-minimal python-numpy python-olefile python-pil
  python-pkg-resources python-pluggy python-ply python-presto python-py python-pyparsing python-pytest python-scipy python-six python-subprocess32 python-tk python-tz
  python2.7 python2.7-dev python2.7-minimal rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration t1utils
  tcl tcl8.6 tempo tex-common tex-gyre texlive-base texlive-binaries texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended
  texlive-pictures texlive-plain-generic tipa tk tk8.6 tk8.6-blt2.5 ttf-bitstream-vera tzdata unzip x11-common x11-utils x11-xserver-utils xbitmaps xdg-utils xterm zip
The following packages will be upgraded:
  libc6 perl-base
2 upgraded, 298 newly installed, 0 to remove and 71 not upgraded.
Need to get 377 MB of archives.
After this operation, 1316 MB of additional disk space will be used.
Do you want to continue? [Y/n]
0xCoto commented 2 years ago

@gijzelaerr Thanks for the quick response. As I'm not using docker here, what could I try to debug this issue?

gijzelaerr commented 2 years ago

It's because you are running arm64, kern only supports 64 intel compatible architectures.

are you running this on apple M1? If so you could try to do the same through the rosetta x64 emulation.

0xCoto commented 2 years ago

No, I'm running Ubuntu arm64 on a Jetson Nano machine.

gijzelaerr commented 2 years ago

Sorry mate, we don’t support that yet! Maybe for kern-8!