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

Linux mint requires a second run #394

Open
logicminds opened this issue May 7, 2019 · 1 comment
Open

Linux mint requires a second run #394

logicminds opened this issue May 7, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@logicminds
Copy link

logicminds commented May 7, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6
  • Ruby: 2.4
  • Distribution: linux mint (ubuntu 18)
  • Module version: 7.0

How to reproduce (e.g Puppet code you use)

puppet apply -e 'include nodejs'

What are you seeing

Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [930 kB]
Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [918 kB]
Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: Reading package lists...
Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: E: The repository 'https://deb.nodesource.com/node_8.x tessa Release' does not have a Release file.
Error: /Stage[main]/Apt::Update/Exec[apt_update]: Failed to call refresh: '/usr/bin/apt-get update' returned 100 instead of one of [0]
Error: /Stage[main]/Apt::Update/Exec[apt_update]: '/usr/bin/apt-get update' returned 100 instead of one of [0]
Notice: /Stage[main]/Nodejs::Install/Package[nodejs]: Dependency Exec[apt_update] has failures: true
Warning: /Stage[main]/Nodejs::Install/Package[nodejs]: Skipping because of failed dependencies
Warning: /Stage[main]/Nodejs::Install/Package[nodejs-dev]: Skipping because of failed dependencies
Warning: /Stage[main]/Nodejs::Install/Package[nodejs-dbg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nodejs::Install/Package[npm]: Skipping because of failed dependencies
Notice: /Stage[main]/Nodejs::Install/File[root_npmrc]/ensure: defined content as '{md5}17626e1e7e2db5c71227460a36f6bbb8'
Notice: Applied catalog in 5.42 seconds

What behaviour did you expect instead

No failed dependencies. Had to run a second time.

Output log

Any additional information you'd like to impart

Workaround is to perform a 2nd puppet run which works.

@juniorsysadmin juniorsysadmin added needs-feedback Further information is requested bug Something isn't working labels May 9, 2019
@TuningYourCode
Copy link

If you set nodejs::repo_release to bionic it should be working. The nodejs repsoitory most likly does not support the mint linux release names.

@juniorsysadmin juniorsysadmin removed the bug Something isn't working label Jul 14, 2019
@juniorsysadmin juniorsysadmin changed the title ubuntu requires a second run Linux mint requires a second run Jul 14, 2019
@juniorsysadmin juniorsysadmin added enhancement New feature or request and removed needs-feedback Further information is requested labels Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants