Public bug reported:

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)

** Affects: rasdaemon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771338

Title:
  Lacks dependencies (depends)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/1771338/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to