Comment 14 for bug 1209085

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Trusty verification

Confirming the problem:
ubuntu@trusty-smart-1209085:~$ sudo apt-get install smartmontools --no-install-recommends
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfreetype6 os-prober
Use 'apt-get autoremove' to remove them.
Suggested packages:
  gsmartcontrol smart-notifier
Recommended packages:
  mailx mailutils
The following NEW packages will be installed:
  smartmontools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 445 kB of archives.
After this operation, 1,650 kB of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu/ trusty/main smartmontools amd64 6.2+svn3841-1.2 [445 kB]
Fetched 445 kB in 0s (1,562 kB/s)
Selecting previously unselected package smartmontools.
(Reading database ... 25846 files and directories currently installed.)
Preparing to unpack .../smartmontools_6.2+svn3841-1.2_amd64.deb ...
Unpacking smartmontools (6.2+svn3841-1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up smartmontools (6.2+svn3841-1.2) ...
Processing triggers for ureadahead (0.100.0-16) ...

ubuntu@trusty-smart-1209085:~$ sudo update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h.error: rejected by /usr/sbin/smartctl, probably no longer compatible

With the update installed:
ubuntu@trusty-smart-1209085:~$ apt-cache policy smartmontools
smartmontools:
  Installed: 6.2+svn3841-1.2ubuntu0.1
  Candidate: 6.2+svn3841-1.2ubuntu0.1
  Version table:
 *** 6.2+svn3841-1.2ubuntu0.1 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     6.2+svn3841-1.2 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Update script works:
ubuntu@trusty-smart-1209085:~$ sudo update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h updated from branches/RELEASE_6_2_DRIVEDB

ubuntu@trusty-smart-1209085:~$ file /var/lib/smartmontools/drivedb/drivedb.h
/var/lib/smartmontools/drivedb/drivedb.h: ASCII text
ubuntu@trusty-smart-1209085:~$ file /var/lhead /var/lib/smartmontools/drivedb/drivedb.h
/*
 * drivedb.h - smartmontools 6.1-6.3 drive database file
 *
 * Home page of code is: http://www.smartmontools.org
 *
 * Copyright (C) 2003-11 Philip Williams, Bruce Allen
 * Copyright (C) 2008-18 Christian Franke
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by