[Bug 1209085] Re: update-smart-drivedb uses old download link

Andreas Hasenack andreas at canonical.com
Tue Jul 24 12:46:05 UTC 2018

Trusty verification

Confirming the problem:
ubuntu at 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:
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 ( ...
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 at 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 at trusty-smart-1209085:~$ apt-cache policy 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 at trusty-smart-1209085:~$ sudo update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h updated from branches/RELEASE_6_2_DRIVEDB

ubuntu at trusty-smart-1209085:~$ file /var/lib/smartmontools/drivedb/drivedb.h
/var/lib/smartmontools/drivedb/drivedb.h: ASCII text
ubuntu at 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

** Tags removed: verification-needed-trusty
** Tags added: verification-done-trusty

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to smartmontools in Ubuntu.

  update-smart-drivedb uses old download link

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list