Lacks dependencies (depends)

Bug #1771338 reported by Tom Reynolds
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rasdaemon (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing rasdaemon and starting the service (sudo systemctl start rasdaemon) on this amd64 16.04.4 system, running "ras-mc-ctl --summary" fails:

Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /home/myuser/.opam/4.04.2/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/sbin/ras-mc-ctl line 1050.

After installing libdbi-perl, running "ras-mc-ctl --summary" still fails:

install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (you may need to install the DBD::SQLite module) (@INC contains: /home/myuser/.opam/4.04.2/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at (eval 6) line 3.
Perhaps the DBD::SQLite perl module hasn't been fully installed,
or perhaps the capitalisation of 'SQLite' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
 at /usr/sbin/ras-mc-ctl line 1055.

Installing libdbd-sqlite3-perl fixes this and makes "ras-mc-ctl --summary" run properly.

It would seem that libdbi-perl and libdbd-sqlite3-perl should be listed in the "Depends" field for the rasdaemon package.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: rasdaemon 0.5.6-2
ProcVersionSignature: Ubuntu 4.15.0-20.21~16.04.1-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.17
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue May 15 14:40:57 2018
InstallationDate: Installed on 2017-04-29 (380 days ago)
InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8)
SourcePackage: rasdaemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tom Reynolds (tomreyn) wrote :
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Tested this on 18.04.1 @ 12/8/2018 with system up to date

to test the depends: sudo apt purge rasdaemon libdbd-sqlite3-perl libdbi-perl

and reinstalled rasdaemon installs depends automaticly again

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

This was fixed in 18.04 and above " * Closes: #869697 -- add dependency on libdbd-sqlite3-perl"

This does seem qualified for an SRU if anyone feels it's worth bringing this fix back to 16.04.

Changed in rasdaemon (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.