jekhokie/raspberry-noaa-v2

[Error] Installing SatDump on Raspberry

Closed this issue · 8 comments

TASK [common : Installing predict on Raspberry Pi (armhf)] *********************
ok: [localhost]

TASK [common : Installing predict on Raspberry Pi (arm64)] *********************
skipping: [localhost]

TASK [common : Installing SatDump] *********************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to install package: E:Impossibile aprire il file /home/pi/raspberry-noaa-v2/software/satdump_1.2.1-d5fd2f41__armhf.deb - open (2: File o directory non esistente)"}

PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0

Error: Something failed with the install - please inspect the logs above
``
N.B . File exist

I see an extra space added to the file name ansible is looking for

/home/pi/raspberry-noaa-v2/software/satdump_1.2.1-d5fd2f41**_**_armhf.deb

It should look like this

/home/pi/raspberry-noaa-v2/software/satdump_1.2.1-d5fd2f41_armhf.deb

The dependencies.yml file I'm looking does not have that space, so has your local file been modified?

$HOME/raspberry-noaa-v2/ansible/roles/common/tasks/dependencies.yml

What OS are you using? To me it looks like it's 32 bit Raspberry OS for Raspberry Pi, but which version?

What OS are you using? To me it looks like it's 32 bit Raspberry OS for Raspberry Pi, but which version?

always the same version
description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

in software i have
[ satdump_1.2.1-d5fd2f41_bullseye_armhf.deb](https://github.com/MihajloPi/raspberry-noaa-v2/blob/master/software/satdump_1.2.1-d5fd2f41_bullseye_armhf.deb ]

i solved .. but others users ??

I see an extra space added to the file name ansible is looking for
/home/pi/raspberry-noaa-v2/software/satdump_1.2.1-d5fd2f41**_**_armhf.deb
Thanks Richard .. you are right -- solved myself .. but other users ??

I was asking if you had a modified dependancies.yml file with the space. You confirmed you did. The source Repo that you just posted has the correct data and would not have the extra space. So I guess its a mystery?

Lines 196-201 is what drives ansiable to use the file name it reported in your error. You can see it does not have the extra space.

Perhaps Mihajlo may have an idea how your local file picked up the space.

- name: Installing SatDump
  become: yes
  apt:
    deb: "{{ noaa_home }}/software/satdump_1.2.1-d5fd2f41_{{ raspbian_version.stdout }}_{{ system_architecture }}.deb"
    state: present
    update_cache: no

Here is the link to dependancies.yml in that repo
https://github.com/MihajloPi/raspberry-noaa-v2/blob/master/ansible/roles/common/tasks/dependencies.yml

I was asking if you had a modified dependancies.yml file with the space. You confirmed you did. The source Repo that you just posted has the correct data and would not have the extra space. So I guess its a mystery?

Lines 196-201 is what drives ansiable to use the file name it reported in your error. You can see it does not have the extra space.

Perhaps Mihajlo may have an idea how your local file picked up the space.

- name: Installing SatDump
  become: yes
  apt:
    deb: "{{ noaa_home }}/software/satdump_1.2.1-d5fd2f41_{{ raspbian_version.stdout }}_{{ system_architecture }}.deb"
    state: present
    update_cache: no

yes its same .. no modified .. when i have time .. i'll try with new fresh istallation

Issue was duplicated and resolved via this commit in aarch64-support
f58f1b7