AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Update Apt Fix

Open SteveMicroNova opened this issue 2 weeks ago β€’ 1 comments

What does this change intend to accomplish?

Make the updater check the version the system is running before update and say no if less than 0.4.0 Add --with-apt flag to configure.py

Update imaging directions with config retention to reduce some user pain

Checklist

  • [ ] Have you tested your changes and ensured they work?
  • [ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • [ ] If applicable, have you updated the documentation/manual?
  • [ ] If applicable, have you updated the CHANGELOG?
  • [ ] Does your submission pass linting & tests? You can test on localhost using ./scripts/test
  • [ ] Have you written new tests for your core features/changes, as applicable?
  • [ ] If this is a UI change, have you tested it across multiple browser platforms on both desktop and mobile?

SteveMicroNova avatar Dec 09 '25 21:12 SteveMicroNova

I'd like to add the --with-apt flag to the deploy script yet but this is what I've achieved today

SteveMicroNova avatar Dec 09 '25 21:12 SteveMicroNova

There are 4 apt packages missing from the archive that make the version lock necessary:

  E: Unable to locate package libopusfile0
  E: Unable to locate package libsystemd-dev
  E: Unable to locate package redis
  E: Unable to locate package udiskie

libopusfile0 is used for LMS libsystemd-dev is for the support tunnel redis is for the whole system udiskie is for mounting external drives for both LMS and the local media stream type

SteveMicroNova avatar Dec 12 '25 19:12 SteveMicroNova

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 50.21%. Comparing base (7499989) to head (bfa5a26). :warning: Report is 88 commits behind head on main. :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1073      +/-   ##
==========================================
- Coverage   50.67%   50.21%   -0.46%     
==========================================
  Files          40       41       +1     
  Lines        7154     7362     +208     
==========================================
+ Hits         3625     3697      +72     
- Misses       3529     3665     +136     
Flag Coverage Ξ”
unittests 50.21% <ΓΈ> (-0.46%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Dec 12 '25 22:12 codecov-commenter