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

Cannot run apt update #33

Open
maxnoe opened this issue Aug 25, 2021 · 4 comments · May be fixed by #39
Open

Cannot run apt update #33

maxnoe opened this issue Aug 25, 2021 · 4 comments · May be fixed by #39

Comments

@maxnoe
Copy link

maxnoe commented Aug 25, 2021

Trying to install additional packages, running apt update --yes fails with an error (presumably something to do with the new debian release?)
Config:

  with:
    docs-folder: docs/
    pre-build-command: apt update --yes && apt install --yes git build-essential pandoc

Log:

Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'

Link to a build:
https://github.com/cta-observatory/ctapipe/pull/1774/checks?check_run_id=3424315763

@ocket8888
Copy link

ocket8888 commented Sep 2, 2021

I'm wondering if skipping the update would help - otherwise they may have to update the base image to bullseye - since as of 19 days ago it's the new stable and buster is the "oldstable" which seems to be what those messages are about.

@ocket8888
Copy link

Update: Yeah, if you skip the update it seems to be working okay. Build link: https://github.com/apache/trafficcontrol/pull/6158/checks?check_run_id=3495291877

So instead of

  with:
    docs-folder: docs/
    pre-build-command: apt update --yes && apt install --yes git build-essential pandoc

just

  with:
    docs-folder: docs/
    pre-build-command: apt install --yes git build-essential pandoc

should work.

ax3l added a commit to ax3l/snowmass-compf2-accbeammodel.github.io that referenced this issue Sep 10, 2021
Work-around for failing update. Lacks `latexmk` otherwise.
See
  ammaraskar/sphinx-action#33 (comment)
@ax3l
Copy link

ax3l commented Sep 10, 2021

Just tried this - this only moves the error down to the apt install stage and we will still lack latexmk for the build (#32).

I think we should update to a newer Debian base image to fix.

ax3l added a commit to ax3l/snowmass-compf2-accbeammodel.github.io that referenced this issue Sep 10, 2021
Work-around for failing update. Lacks `latexmk` otherwise.
See
  ammaraskar/sphinx-action#33 (comment)
ax3l added a commit to ax3l/snowmass-compf2-accbeammodel.github.io that referenced this issue Sep 10, 2021
Work-around for failing update. Lacks `latexmk` otherwise.
See
  ammaraskar/sphinx-action#33 (comment)
ax3l added a commit to ax3l/snowmass-compf2-accbeammodel.github.io that referenced this issue Sep 10, 2021
Work-around for failing update. Lacks `latexmk` otherwise.
See
- ammaraskar/sphinx-action#33 (comment)
- ammaraskar/sphinx-action#21
ax3l added a commit to snowmass-compf2-accbeammodel/snowmass-compf2-accbeammodel.github.io that referenced this issue Sep 10, 2021
* Snowmass: Restart & SM Day

Restart news & Snowmass Day.

* Fix Build (Buster now oldstable)

Work-around for failing update. Lacks `latexmk` otherwise.
See
- ammaraskar/sphinx-action#33 (comment)
- ammaraskar/sphinx-action#21
@ocket8888
Copy link

Might be specific to latexmk, then, because I'm using it successfully to install pandoc. All that really means, though, is that anything else you install may or may not work and could break at any moment.

ocket8888 added a commit to ocket8888/trafficcontrol that referenced this issue Oct 27, 2021
shamrickus pushed a commit to apache/trafficcontrol that referenced this issue Oct 27, 2021
* Add license header to README

* Add planned output files to .gitignore

* Add Makefile for t3c docs

* Add Makefile usage to README

* Add T3C docs to documentation builds

* Add .gitignore for built t3c docs

* Add new dependency to docs build systems

* Try a workaround for ammaraskar/sphinx-action#33

* Fix pkg build for docs

* fix missing argument definition
francesco-ballarin added a commit to fem-on-colab/fem-on-colab.github.io that referenced this issue Nov 28, 2021
francesco-ballarin added a commit to fem-on-colab/fem-on-colab.github.io that referenced this issue Nov 28, 2021
@ferdnyc ferdnyc linked a pull request Dec 30, 2021 that will close this issue
webb-ben added a commit to wmo-im/wis2box that referenced this issue Feb 23, 2022
tomkralidis pushed a commit to wmo-im/wis2box that referenced this issue Feb 23, 2022
* Add test for docs build

* Install nbsphinx with pip

* Revert "Install nbsphinx with pip"

This reverts commit 527a731.

* Add pandoc to requirements-dev

* Install pypandoc

As per: https://sphinx-gallery.github.io/stable/configuration.html#using-pypandoc-to-convert-rst-to-markdown

* install pandoc with apt-get

* Update docs workflow

* fix ref

* Fix workflow

as per: ammaraskar/sphinx-action#33

* alphabetize requirements-dev.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants