osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/33086 )
Change subject: Fix failing Osmocom-release-manuals job ......................................................................
Fix failing Osmocom-release-manuals job
Add a workaround that upgrades the osmocom-nightly package before installing build dependencies for the given package.
This is not very elegant, it would make more sense if the docker image we use here did not have the nightly Osmocom repository configured in the first place (as this job is about creating manuals for tagged releases). But the image is used by jenkins build verification too and I don't think it's a good use of time to change this right now.
Fix for: + apt-get -y build-dep /build Note, using directory '/build' to get the build dependencies Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: osmo-gsm-manuals-dev : Depends: osmocom-nightly (= 202305300026) but 202305290026 is to be installed
Change-Id: If28a34d3e5b07216c5310b19623fcc42692f65c3 --- M scripts/manuals/publish-manuals-for-tags.sh 1 file changed, 39 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/86/33086/1
diff --git a/scripts/manuals/publish-manuals-for-tags.sh b/scripts/manuals/publish-manuals-for-tags.sh index 99e117c..49a3d43 100755 --- a/scripts/manuals/publish-manuals-for-tags.sh +++ b/scripts/manuals/publish-manuals-for-tags.sh @@ -354,6 +354,12 @@ sh -ex -c " apt-get update
+ # The docker image has the nightly repository + # configured, in which packages can't be installed from + # different build dates. Upgrade osmocom-nightly first + # to prevent errors in apt-get build-dep below. + apt-get -y upgrade osmocom-nightly + # Install dependencies case $repo in *)