Problem: Travis job fails (packages have unmet dependencies)
Can you assist please with some guidance on how tom resolve gthis problem I see in Travis
Test is below:
git pull git add . git push --set-upstream origin runbookUpdate git commit -m "update to file KB10000011B.md" make -f P2PMakefile git push ./updateToGithub
- Create Pull Request
- Click Details , Travis CI launches
- Check the log and the Travis job fails with this information at the end of the log:
The following packages have unmet dependencies: curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.12) but it is not going to be installed E: Unable to correct problems, you have held broken packages. The command "./script/ci-install-dep-build.sh" failed and exited with 100 during . Your build has been stopped.
This is the fault (above)!
Tried a few things, made a small edited to a runbook:
Tried to install bundles locally and push t Github master:
git pull bundle update git status git add . git commit -m "update bundle" git push --set-upstream origin runbookUpdate git status
Looked up the error online:
This is a possible solution online to the error in the Travis log. (in Ubuntu)
apt - curl is not working on Ubuntu 18.04 LTS - Ask Ubuntu
Looked here to see if I can modify the
to install the missing dependency: Installing Dependencies - Travis CI
What is the approach here to resolving this issue? Is it required to install the dependency
locally and then push to Github? or is the fault in Travis itself and the dependency has
to be installed somewhere in Travis?