puppet-nodejs icon indicating copy to clipboard operation
puppet-nodejs copied to clipboard

Linux mint requires a second run

Open logicminds opened this issue 5 years ago • 1 comments

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.

logicminds avatar May 07 '19 02:05 logicminds

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.

TuningYourCode avatar Jul 13 '19 22:07 TuningYourCode