On Sun, Sep 01, 2019 at 06:17:24PM +1000, elvis wrote: > Hi All, > > I am getting thing error from cron, it started happening on the > update to Stretch and Buster did not fix it. > > It looks like something missing from Ruby, but I am not able to find > it searching and I have no idea about ruby anyway. > > > Perhaps someone can help. > > > > /etc/cron.weekly/dhelp: > /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': > cannot load such file -- bdb (LoadError) > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/lib/ruby/vendor_ruby/dhelp.rb:21:in `<top (required)>' > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/sbin/dhelp_parse:32:in `<main>' > /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': > cannot load such file -- bdb (LoadError) > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/lib/ruby/vendor_ruby/dhelp.rb:21:in `<top (required)>' > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in > `require' > from /usr/sbin/dhelp_parse:32:in `<main>' > run-parts: /etc/cron.weekly/dhelp exited with return code 1
Uh-oh. Ruby :-/ Let's give it a try -- If I read that message correctly, Ruby is looking for some thingie called "bdb" (that first line). Since it is Ruby, most probably the file isn't really called "bdb", but probably "bdb.rb" [1]. Let's try: tomas@trotzki:~$ apt-file search bdb.rb ruby-bio: /usr/lib/ruby/vendor_ruby/bio/io/flatfile/bdb.rb whatweb: /usr/share/whatweb/plugins/oracle-webdb.rb The second seems irrelevant. So my crystal ball says "try install ruby-bio". But use judgement: don't do it if it doesn't ring a bell :-) Cheers [1] Didn't we had enough bad experience hiding the so-called "file extension" in a long-dead non-operating system? -- t
signature.asc
Description: Digital signature