packages.txt installation error.

Until this morning, when it worked, the app wouldn’t run, so I rebooted it.
An error occurred in the meantime.

[01:08:05] :package: Apt dependencies were installed from /mount/src/test/packages.txt using apt-get.

Hit:1 Index of /debian-security bullseye-security InRelease

Hit:2 Index of /debian trixie InRelease

Get:3 Index of /debian trixie-updates InRelease [47.3 kB]

Get:4 Index of /debian-security trixie-security InRelease [43.4 kB]

Get:5 Index of /debian/11/prod/ bullseye InRelease [3650 B]

Get:6 Index of /debian-security trixie-security/main amd64 Packages [252 kB]

Get:7 Index of /debian/11/prod/ bullseye/main amd64 Packages [312 kB]

Get:8 Index of /debian/11/prod/ bullseye/main arm64 Packages [130 kB]

Reading package lists…[2026-09-08 01:08:06.627857]

E: Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is expired (invalid since 3h 55min 1s). Updates for this repository will not be applied.

[01:08:06] :red_exclamation_mark: installer returned a non-zero exit code

[01:08:06] :red_exclamation_mark: Error during processing dependencies! Please fix the error and push an update, or try restarting the ap

Currently in packages.txt
chromium
chromium-driver
It is entered as two, and if you delete packages.txt, the app installation will proceed. (However, I need chromium and chromium-driver.)

Please take a moment to search the forum and documentation before posting a new topic.
If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed?
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    b. Share the link to the public deployed app.
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
  5. Share the Streamlit and Python versions.

Hey there, thanks for sharing all the details and welcome to the Streamlit community! :rocket: The error you’re seeing—“Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is expired”—means the apt repository for Debian Bullseye security updates is temporarily out of sync or expired, so apt-get can’t install chromium and chromium-driver from packages.txt. This is a known issue that sometimes resolves itself after the repository updates, but it’s not something you can fix directly in your code or config. Deleting packages.txt skips the apt step, which is why your app installs, but you lose the needed dependencies for Chromium.

This issue has occurred before and is usually resolved by waiting for the repository to refresh, or by deleting and redeploying the app after some time. If you need chromium and chromium-driver, you’ll have to keep packages.txt and try redeploying periodically until the repository is updated. For more info, see similar reports and solutions in the Streamlit forum and official docs on apt-get dependencies. If you’re still stuck, please share your repo and requirements so others can help debug!

Sources:

Hey @kyusung,

Thanks so much for flagging. This is an issue the team is aware of and the fix is currently in the works! :rocket:

Hey @kyusung , thanks for reporting the issue to us! We have rolled out a new version to prod which should fix the issue! Please let us know if something is still not working and sorry for the inconvenience :slight_smile: