Linux Automatic Installer (ansible) thread

are you opening a .tidal file, ala

nvim foo.tidal

?

yes, exactly that.

nvim looks default. I dont know if your config usually changes nvim start up look?

Incidentally I have it all up and running beautifully in vscode, which I'm really enjoying using. Unfortunately, due to my distaste for Microsoft.

No it doesn't change anything about the way nvim looks - the only difference is when you press ctrl+e to eval a line of code that a terminal split will appear with output from ghci

may i ask for help here?
running into an issue with this.

TASK [roles/tidal : install ansible task dependencies (debian)] ****************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:https://ppa.launchpadcontent.net/bartbes/love-stable/ubuntu/dists/artful/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details., W:GPG error: https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9, E:The repository 'https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease' is not signed."}

looks like some stuff i tried to add a while back is getting in the way?
i can move or remove this question somewhere else if needed.
help would be appreciated.
would love to get this working

1 Like

Yep it certainly is getting in the way - the quickest/easiest way around it is to disable those extra repos, you'll find them in a file most likely in /etc/apt/sources.d/ - if you delete or rename the file so it doesn't end in .list that will get it out of the way

i don't have a scores.d in that location?

elliot@elliots-computer:/etc/apt$ ls
apt.conf.d   keyrings       sources.list    sources.list.save  trusted.gpg.d
auth.conf.d  preferences.d  sources.list.d  trusted.gpg

mabye sources.list.d?

elliot@elliots-computer:/etc/apt/sources.list.d$ ls
home:plugdata.list       love2d.list       sublime-text.list
home:plugdata.list.save  love2d.list.save  sublime-text.list.save
home:strycore.list       lutris.list
home:strycore.list.save  lutris.list.save

what file is getting in the way? what am i looking for? i don't know how to read the error above.

Yeah, my apologies - that's the one.
you are getting two messages, one is a warning, one is an error.
the error relates to the strycore.list file so it needs to be removed.

the warning should be able to be ignored, if it still stops you - that problem file will be love2d.list

1 Like

removed home:strycore.list

elliot@elliots-computer:~$ cd /etc/apt/sources.list.d/
elliot@elliots-computer:/etc/apt/sources.list.d$ ls
home:plugdata.list       love2d.list       sublime-text.list
home:plugdata.list.save  love2d.list.save  sublime-text.list.save
home:strycore.list       lutris.list
home:strycore.list.save  lutris.list.save
elliot@elliots-computer:/etc/apt/sources.list.d$ sudo rm home\:strycore.list
[sudo] password for elliot: 
elliot@elliots-computer:/etc/apt/sources.list.d$ ls
home:plugdata.list       love2d.list       lutris.list.save
home:plugdata.list.save  love2d.list.save  sublime-text.list
home:strycore.list.save  lutris.list       sublime-text.list.save

lets run the thing again.

TASK [roles/tidal : install ansible task dependencies (debian)] ****************
fatal: [localhost]: 
  FAILED! => {
    "changed": false, 
    "msg": "
      Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., 
      W:See apt-secure(8) manpage for repository creation and user configuration details.,
      W:https://ppa.launchpadcontent.net/bartbes/love-stable/ubuntu/dists/artful/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details., 
      W:GPG error: https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9, E:The repository 'https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease' is not signed.
    "
  }

darn.

EDIT:

ok ok getting somwhere
removed love2d.list, so thats out of the way i guess

TASK [roles/tidal : install ansible task dependencies (debian)] ********************************************************************************
fatal: [localhost]: 
  FAILED! => {
    "changed": false, 
    "msg": "
      Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., 
      W:See apt-secure(8) manpage for repository creation and user configuration details., 
      W:GPG error: https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9, E:The repository 'https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease' is not signed.
    "
  }

thanks for the help youve given :slight_smile:

OK so we can speed up the testing here - that task is just running the following command:

sudo apt-get update

Can you paste all the output from this command please (not just the errors/warnings)?

here ya go

elliot@elliots-computer:~$ sudo apt-get update
[sudo] password for elliot: 
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]        
Get:3 http://deb.debian.org/debian bookworm-backports InRelease [59.0 kB]      
Get:4 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 http://deb.debian.org/debian bookworm/non-free-firmware Sources [6,436 B]
Get:6 http://deb.debian.org/debian bookworm/main Sources [9,487 kB] 
Get:7 http://security.debian.org/debian-security bookworm-security/main Sources [109 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/main i386 Packages [178 kB]
Get:9 https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease [1,497 B]
Get:10 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Get:11 http://security.debian.org/debian-security bookworm-security/main Translation-en [108 kB]
Err:9 https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9
Get:12 http://deb.debian.org/debian bookworm/main amd64 Packages [8,787 kB]
Get:13 http://deb.debian.org/debian bookworm/main i386 Packages [8,680 kB]
Get:14 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:15 http://deb.debian.org/debian bookworm/main DEP-11 128x128 Icons [11.1 MB]
Get:16 http://deb.debian.org/debian bookworm/non-free-firmware i386 Packages [5,904 B]
Get:17 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,236 B]
Get:18 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:19 http://deb.debian.org/debian bookworm/non-free-firmware DEP-11 128x128 Icons [29 B]
Get:20 http://deb.debian.org/debian bookworm-backports/main Sources.diff/Index [63.3 kB]
Get:21 http://deb.debian.org/debian bookworm-backports/main amd64 Packages.diff/Index [63.3 kB]
Get:22 http://deb.debian.org/debian bookworm-backports/main i386 Packages.diff/Index [63.3 kB]
Get:23 http://deb.debian.org/debian bookworm-backports/main Translation-en.diff/Index [63.3 kB]
Get:24 http://deb.debian.org/debian bookworm-backports/main Sources T-2024-09-09-0823.26-F-2024-08-26-2007.18.pdiff [44.4 kB]
Get:24 http://deb.debian.org/debian bookworm-backports/main Sources T-2024-09-09-0823.26-F-2024-08-26-2007.18.pdiff [44.4 kB]
Get:25 http://deb.debian.org/debian bookworm-backports/main amd64 Packages T-2024-09-09-0205.54-F-2024-08-26-2007.18.pdiff [26.4 kB]
Get:25 http://deb.debian.org/debian bookworm-backports/main amd64 Packages T-2024-09-09-0205.54-F-2024-08-26-2007.18.pdiff [26.4 kB]
Get:26 http://deb.debian.org/debian bookworm-backports/main i386 Packages T-2024-09-09-0205.54-F-2024-08-28-0206.45.pdiff [23.1 kB]
Get:26 http://deb.debian.org/debian bookworm-backports/main i386 Packages T-2024-09-09-0205.54-F-2024-08-28-0206.45.pdiff [23.1 kB]
Get:27 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-09-08-2005.57-F-2024-08-26-2007.18.pdiff [13.1 kB]
Get:27 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-09-08-2005.57-F-2024-08-26-2007.18.pdiff [13.1 kB]
Get:28 http://deb.debian.org/debian bookworm-backports/non-free-firmware Sources [2,288 B]
Get:29 http://deb.debian.org/debian bookworm-backports/non-free-firmware amd64 Packages [3,852 B]
Get:30 http://deb.debian.org/debian bookworm-backports/non-free-firmware i386 Packages [3,660 B]
Get:31 http://deb.debian.org/debian bookworm-backports/non-free-firmware Translation-en [2,848 B]
Reading package lists... Done                                                  
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.6' to '12.7'
W: GPG error: https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9
E: The repository 'https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
elliot@elliots-computer:~$ 

EDIT: removed the "strycore" from scources.list.d, restarted, and sudo apt-get update still throws these errors.
EDIT2: Seams i have efed up my computer. This issue is causing other problems i think. I'm temped to migrate my files to a backup drive and do a fresh install.

I think you've probably still got it defined somewhere that apt is looking - you could try:

rgrep strycore /etc/apt/

and that will tell you in what files that entry is still appearing - once that's removed you should be ok

ayeee awesome that did the trick, thank you so much :pray:
at least for the first bit. the ansible installer is still failing.

i'll copy down this for future peeps to find?

elliot@elliots-computer:~$ rgrep strycore /etc/apt/
grep: /etc/apt/trusted.gpg.d/home_strycore.gpg: binary file matches
/etc/apt/sources.list.d/lutris.list.save:deb [signed-by=/etc/apt/keyrings/lutris.gpg] https://download.opensuse.org/repositories/home:/strycore/Debian_12/ ./
/etc/apt/sources.list.d/lutris.list:deb [signed-by=/etc/apt/keyrings/lutris.gpg] https://download.opensuse.org/repositories/home:/strycore/Debian_12/ ./
elliot@elliots-computer:/etc/apt/sources.list.d$ sudo rm lutris.list
elliot@elliots-computer:/etc/apt/sources.list.d$ sudo rm lutris.list.save 
elliot@elliots-computer:/etc/apt/sources.list.d$ sudo apt update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

looks like it needs cabal-install?

elliot@elliots-computer:~/build/ansible-tidalcycles$ sudo ansible-playbook --connection=local -i localhost, tidal.play.yml
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks 
instead. See https://docs.ansible.com/ansible-
core/2.14/user_guide/playbooks_reuse_includes.html for details. This feature 
will be removed in version 2.16. Deprecation warnings can be disabled by 
setting deprecation_warnings=False in ansible.cfg.

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [stat] ********************************************************************
ok: [localhost]

TASK [include_vars] ************************************************************
skipping: [localhost]

TASK [roles/meta : set_fact] ***************************************************
skipping: [localhost]

TASK [roles/meta : clone sample sets from git repos into /home/elliot/.local/share/ansible-tidalcycles/git_sample_sets_dir] ***
skipping: [localhost]

TASK [roles/meta : append sample paths to our custom_sample_paths list] ********
skipping: [localhost]

TASK [roles/meta : make sure our dir for individual samples exists] ************
skipping: [localhost]

TASK [roles/meta : clone individual samples from git repos into /home/elliot/.local/share/ansible-tidalcycles/git_sample_individual_dir] ***
skipping: [localhost]

TASK [roles/meta : append sample paths to our custom_sample_paths list] ********
skipping: [localhost]

TASK [roles/tidal : install xvfb (debian)] *************************************
skipping: [localhost]

TASK [roles/tidal : install xvfb service file temporarily (debian)] ************
skipping: [localhost]

TASK [roles/tidal : start xvfb service (debian)] *******************************
skipping: [localhost]

TASK [roles/tidal : install ansible task dependencies (debian)] ****************
ok: [localhost]

TASK [roles/tidal : install supercollider dependencies (debian)] ***************
ok: [localhost]

TASK [roles/tidal : get installed SuperCollider version in case it has been built from source] ***
ok: [localhost]

TASK [roles/tidal : get packaged SuperCollider version to compare] *************
ok: [localhost]

TASK [roles/tidal : install supercollider packages (debian)] *******************
skipping: [localhost]

TASK [roles/tidal : install haskell packages (debian)] *************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No package matching 'cabal-install' is available"}

PLAY RECAP *********************************************************************
localhost                  : ok=6    changed=0    unreachable=0    failed=1    skipped=11   rescued=0    ignored=0 

strange...
can't seam to find cabal-install through apt

E: Unable to locate package cabal-install

i'll have to do some more diging :thinking:

Yeah this is weird - it looks like you're running debian bookworm, and it's definitely available:

You could probably workaround it by installing manually from the packages for your architecture linked at the bottom of the page
image

You have given me a good reminder to give my installer some love though, I haven't got a vagrant test setup for bookworm or a few other newer distros (and there's some legacy ansible includes that need to be fixed too). I'll spend some time on it in the next few days

I was running into the issue with the legacy include: myself and was unable to run the installer, doing a find-and-replace from include: to include_tasks: fixed it locally for me and opened a PR (well, 10) with the updates. Is there any extra steps to make sure it will work on other machines/platforms?

Thanks so much - I've been meaning to get on it, that's all been merged/updated now :slight_smile: