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
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
Trusty verification
Confirming the problem: trusty- smart-1209085: ~$ sudo apt-get install smartmontools --no-install- recommends br.archive. ubuntu. com/ubuntu/ trusty/main smartmontools amd64 6.2+svn3841-1.2 [445 kB] ls_6.2+ svn3841- 1.2_amd64. deb ...
ubuntu@
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://
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 .../smartmontoo
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 smartmontools/ drivedb/ drivedb. h.error: rejected by /usr/sbin/smartctl, probably no longer compatible
/var/lib/
With the update installed: trusty- smart-1209085: ~$ apt-cache policy smartmontools 1.2ubuntu0. 1 1.2ubuntu0. 1 1.2ubuntu0. 1 0 br.archive. ubuntu. com/ubuntu/ trusty- proposed/ main amd64 Packages dpkg/status 2+svn3841- 1.2 0 br.archive. ubuntu. com/ubuntu/ trusty/main amd64 Packages
ubuntu@
smartmontools:
Installed: 6.2+svn3841-
Candidate: 6.2+svn3841-
Version table:
*** 6.2+svn3841-
500 http://
100 /var/lib/
6.
500 http://
Update script works: trusty- smart-1209085: ~$ sudo update- smart-drivedb smartmontools/ drivedb/ drivedb. h updated from branches/ RELEASE_ 6_2_DRIVEDB
ubuntu@
/var/lib/
ubuntu@ trusty- smart-1209085: ~$ file /var/lib/ smartmontools/ drivedb/ drivedb. h smartmontools/ drivedb/ drivedb. h: ASCII text trusty- smart-1209085: ~$ file /var/lhead /var/lib/ smartmontools/ drivedb/ drivedb. h www.smartmontoo ls.org
/var/lib/
ubuntu@
/*
* drivedb.h - smartmontools 6.1-6.3 drive database file
*
* Home page of code is: http://
*
* 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