Re: Jack Problems

Ralf Mardorf <[email protected]>
Newsgroups gmane.comp.audio.jackit
Message-ID <20190323085257.4e763b2e@archlinux>
On Sat, 23 Mar 2019 08:26:45 +0100, Bengt Gördén wrote:
>https://ubuntustudio.org/download  

Hi,

a while back I wrote a script to download the Ubuntu flavours that were
available that time and to automatically check the downloaded ISO
against the signed checksum. It still works.

Save the script, then make it executable by

cd /location/where/the/script/is/stored
chown username:username luamd64_1610.sh

(usually running  chown 1000:1000 luamd64_1610.sh  should do the job,
too)

after that you could run the script, e.g.

./luamd64_1610.sh ubuntustudio 18.10

to get a verified ubuntustudio 18.10.

Regards,
Ralf

-- 
pacman -Q linux{,-rt{-pussytoes,-cornflower,,-securityink}}|cut -d\  -f2
5.0.3.arch1-1
5.0.3_rt1-0
4.19.25_rt16-0
4.19.23_rt13-0.1
4.19.15_rt12-0

_______________________________________________
Jack-Devel mailing list
[email protected]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
luamd64_1610.sh (application/x-shellscript, 1.7 KB)
#!/bin/bash

#luamd64_1610.sh 2016-10-27 rocketmouse

flavour=ubuntu-mate
release=16.10
hms=$(date "+%Y%m%d-%H%M%S")

use()
{
cat<<EOF

Usage: ./$(basename "$0") [FLAVOUR [RELEASE]]
'luamd64' gets the 'l'atest 'u'buntu desktop flavour 'amd64' iso for you.

  The default flavour is ubuntu-mate.
  The default release is 16.10.

Other desktop flavours available for at least 16.10

  ubuntu
  kubuntu
  lubuntu
  ubuntu-gnome
  ubuntukylin
  ubuntustudio
  xubuntu

Root can't run this script.

EOF
}

key ()
{
  printf "\033[7m\n"
  echo $@
  printf "\033[0m\n\n"
  read -n1 -p"Press a key to continue "
  printf "\n\n"
  $@
}

use

[ $(id -u) -ne 0 ] || exit

case $1 in "");;
  *) flavour=$1
     case $2 in "");;
       *) release=$2;;
     esac;;
esac
iso=$release-desktop

key mkdir /tmp/$flavour-$iso-amd64-$hms
key cd /tmp/$flavour-$iso-amd64-$hms
case $flavour in
  ubuntu)
    key wget http://releases.ubuntu.com/$release/{$flavour-$iso-amd64.iso,SHA256SUMS{,.gpg}}
    ;;
  *)
    case $flavour in
      ubuntustudio)
        iso=$release-dvd
        ;;
    esac
    key wget http://cdimage.ubuntu.com/$flavour/releases/$release/release/{$flavour-$iso-amd64.iso,SHA256SUMS{,.gpg}}
    ;;
esac
key gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys FBB75451 EFE21092
key gpg --list-keys --with-fingerprint FBB75451 EFE21092
key gpg --verify SHA256SUMS.gpg SHA256SUMS
printf "\n\033[7m\nThe following validation might take a while\nsha256sum -c SHA256SUMS 2>&1 | grep OK     \033[0m\n\n"
read -n1 -p"Press a key to finish "
printf "\n\n"
sha256sum -c SHA256SUMS 2>&1 | grep OK
status=$?
if [ $status -ne 0 ]; then
  echo "$flavour-$iso-amd64.iso: Validation failed"
fi
echo

exit $status
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.