Skip to content

Linux mint requires a second run #394

@logicminds

Description

@logicminds

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions