Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation: 7za command not found #2895

Closed
rozza-m opened this issue Jun 7, 2019 · 4 comments
Closed

installation: 7za command not found #2895

rozza-m opened this issue Jun 7, 2019 · 4 comments

Comments

@rozza-m
Copy link

rozza-m commented Jun 7, 2019

Details:

  • Date | Fri 7 Jun 12:14:04 BST 2019
  • Bug report | N/A
  • DietPi version | v6.21.1 (Fourdee/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 3 Model B (armv7l) (index=3)
  • Kernel version | Letsencrypt supports Free Noip.com Dynamic DNS #1159 SMP Sun Nov 4 17:50:20 GMT 2018
  • Distro | stretch (index=4)
  • Command | 7za x -y 7.7z -offmpeg_rpi
  • Exit code | 127
  • Software title | DietPi-Software

Steps to reproduce:

Use dietpi-software to install Home-Assistant

Expected behaviour:

Home-assistant is installed.

Actual behaviour:

Installation crashes out with message that "7za x -y 7.7z -offmpeg_rpi" command isn't found.
Installing 7-zip manually with "apt install p7zip-full" and then re-running fixes issue.

Extra details:

Dietpi
told me to post this here :)

Additional logs:

Log file contents:
/DietPi/dietpi/func/dietpi-globals: line 1373: 7za: command not found
@rozza-m rozza-m changed the title installation: 7sa command not found installation: 7za command not found Jun 7, 2019
@MichaIng
Copy link
Owner

MichaIng commented Jun 7, 2019

@rozza-m
Many thanks for your report. You flashed a fresh image, right?

  • Please update it to the latest version first: dietpi-update, or
  • You can also flash the image I have currently in testing pipeline, which does not have this issue: Image | New Raspberry Pi images #2890
  • Or last but not least, it is also possible to simply install the required package: G_AGI p7zip-full

We dropped the need for this package with v6.22. I did a slight mistake to create the image already without it but still with stable code that required it 😉. However resolves with any of the above steps.

@rozza-m
Copy link
Author

rozza-m commented Jun 8, 2019

Thanks for your reply. It's not a brand new install and I hadn't done dietpi-update before installing. Of course, not having a brand new install is still a valid use case.
It was fixed by installing p7zip-full. If you're happy that the underlying issue is fixed for new installs please feel free to close (or I can). Thanks!

@MichaIng
Copy link
Owner

MichaIng commented Jun 8, 2019

@rozza-m
Usually firstrun setup should do an update automatically as long as you do not cancel or have no valid network connection at that time. However, new image will be placed to official download dir/link, so jep, issue will be closed.

@MichaIng MichaIng closed this as completed Jun 8, 2019
@rozza-m
Copy link
Author

rozza-m commented Jun 9, 2019

Thank-you for your attention and fast replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants