You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.11.0
Ruby: 2.7.3p183
Distribution: Ubuntu 20.04
Module version: v4.0.0
How to reproduce (e.g Puppet code you use)
class {'::mongodb::globals':
manage_package_repo => true,
version => '4.4.9'
}->
class {'::mongodb::server':
bind_ip => ['127.0.0.1']
}
What are you seeing
Mongodb fails to install on Ubuntu 20.04. Is it declaring the apt source and then immediately trying to install MongoDB without running apt-get update? I wonder if it needs a notify => Exec['apt_update'] statement in apt.pp?
What behaviour did you expect instead
It should work on Ubuntu 20.04.
Output log
ubuntu2004: Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install mongodb-org-server=4.4.9' returned 100: Reading package lists...
ubuntu2004: Building dependency tree...
ubuntu2004: Reading state information...
ubuntu2004: W: --force-yes is deprecated, use one of the options starting with --allow instead.
ubuntu2004: E: Unable to locate package mongodb-org-server
ubuntu2004: Error: /Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: change from 'purged' to '4.4.9' failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install mongodb-org-server=4.4.9' returned 100: Reading package lists...
ubuntu2004: Building dependency tree...
ubuntu2004: Reading state information...
ubuntu2004: W: --force-yes is deprecated, use one of the options starting with --allow instead.
ubuntu2004: E: Unable to locate package mongodb-org-server
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Mongodb fails to install on Ubuntu 20.04. Is it declaring the apt source and then immediately trying to install MongoDB without running
apt-get update? I wonder if it needs anotify => Exec['apt_update']statement inapt.pp?What behaviour did you expect instead
It should work on Ubuntu 20.04.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: