Morning!
Having a look at your output, it seems that you're not able to install git on Ubuntu
because the snap store is getting in the way, maybe. 
Snap is a new way of distributing apps that Ubuntu are a little excited about at the
moment - try installing the what you need after running.
sudo systemctl stop snapd
This will stop snap until the next reboot, and will either help solve the problem or make
it no worse! Sadly I'm not that experienced with modern Ubuntu, I'm a Debian type
so I'd need to do a lot more reading to be helpful!
Cheers,
Hibby
-- 
  Hibby
  MM0RFN
On Sat, 19 Feb 2022, at 9:33 PM, jamiemckay2013(a)yahoo.co.uk wrote:
  Hi all,
 So I'm trying to install QMK on my AnnePro 2 following the instructions 
 in the below video
 
https://www.youtube.com/watch?v=6KJGOEEV794
 However, I'm getting an error message in Ubuntu....can anyone advise?
 jmckay@DESKTOP-RHKP51P:~$ sudo apt-get install gcc-arm-none-eabi 
 binutils-arm-none-eabi git build-essential
 [sudo] password for jmckay:
 Sorry, try again.
 [sudo] password for jmckay:
 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 cpp cpp-7 dpkg-dev 
 fakeroot g++ g++-7 gcc gcc-7 gcc-7-base
   libalgorithm-diff-perl libalgorithm-diff-xs-perl 
 libalgorithm-merge-perl libasan4 libatomic1 libbinutils
   libc-dev-bin libc6 libc6-dev libcc1-0 libcilkrts5 libdpkg-perl 
 libfakeroot libfile-fcntllock-perl libgcc-7-dev
   libgomp1 libisl15 libisl19 libitm1 liblsan0 libmpc3 libmpx2 
 libnewlib-arm-none-eabi libnewlib-dev libquadmath0
   libstdc++-7-dev libstdc++-arm-none-eabi-newlib libtsan0 libubsan0 
 linux-libc-dev make manpages-dev
 Suggested packages:
   binutils-doc cpp-doc gcc-7-locales debian-keyring g++-multilib 
 g++-7-multilib gcc-7-doc libstdc++6-7-dbg
   gcc-multilib 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
   git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui 
 gitk gitweb git-cvs git-mediawiki git-svn
   glibc-doc bzr libnewlib-doc libstdc++-7-doc make-doc
 E: Could not read response to hello message from hook [ ! -f 
 /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || 
 true: Success
 E: Sub-process [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap 
 --from-apt 2>/dev/null || true returned an error code (100)
 E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap 
 advise-snap --from-apt 2>/dev/null || true
 E: Could not read response to hello message from hook [ ! -f 
 /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || 
 true: Success
 E: Sub-process [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap 
 --from-apt 2>/dev/null || true returned an error code (100)
 E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap 
 advise-snap --from-apt 2>/dev/null || true
 jmckay@DESKTOP-RHKP51P:~$ git clone 
 
https://github.com/OpenAnnePro/qmk_firmware.git annepro-qmk --recursive 
 --depth 1
 -bash: /usr/bin/git: Permission denied
 jmckay@DESKTOP-RHKP51P:~$
 Thanks
 Jamie
 _______________________________________________
 57north-discuss mailing list -- 57north-discuss(a)lists.57north.org.uk
 To unsubscribe send an email to 57north-discuss-leave(a)lists.57north.org.uk