Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] gsmartcontrol from mx test repo can't update drivedb

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1831
Joined: Tue Jan 08, 2019 4:47 am

[SOLVED] gsmartcontrol from mx test repo can't update drivedb

#1

Post by JayM » Sat Mar 09, 2019 7:13 am

I upgraded my gsmartcontrol from the MX Test Repo and also installed xterm from the stable repo. In gsmartcontrol, when I click options/update drive database I have a message in xterm saying "bash: update-smart-drivedb; command not found". When I do a catfish search of the file system for "update-smart" all it finds is a man page, update-smart-drivedb.8.gz, in /usr/share/man/man8.
Last edited by JayM on Tue Mar 19, 2019 10:22 pm, edited 1 time in total.
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1831
Joined: Tue Jan 08, 2019 4:47 am

Re: gsmartcontrol from mx test repo can't update drivedb

#2

Post by JayM » Mon Mar 18, 2019 4:10 am

I think I posted this in the wrong place. Maybe it belongs in the Package Requests / Status MX17/18 subforum.

It's gsmartcontrol 1.1.3 by the way. I've searched the repositories for the term "smart" and can't find update-smart-drivedb.
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5121
Joined: Wed Jul 12, 2006 4:05 pm

Re: gsmartcontrol from mx test repo can't update drivedb

#3

Post by timkb4cq » Mon Mar 18, 2019 8:11 am

No debian version of smartmontools newer than jessie contains the update-smart-drivedb binary, although oddly they have the man file for it. Even that tool in MX-15 (jessie based) doesn't work anymore.

Code: Select all

$ sudo update-smart-drivedb 
[sudo] password for tim: 
/var/lib/smartmontools/drivedb/drivedb.h.error: rejected by /usr/sbin/smartctl, probably no longer compatible
MX is based on debian stretch, ergo...
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
ludolph
Forum Regular
Forum Regular
Posts: 110
Joined: Fri Oct 07, 2011 7:38 am

Re: gsmartcontrol from mx test repo can't update drivedb

#4

Post by ludolph » Mon Mar 18, 2019 9:32 am

timkb4cq wrote:
Mon Mar 18, 2019 8:11 am
MX is based on debian stretch, ergo...
So... ? How to update drivedb? Is the Gsmartcontrol package 1.1.3 incomplete (missing update-smart-drivedb) or not?

I am a bit confused now.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5121
Joined: Wed Jul 12, 2006 4:05 pm

Re: gsmartcontrol from mx test repo can't update drivedb

#5

Post by timkb4cq » Mon Mar 18, 2019 9:54 am

Gsmartcontrol never contained the update-smart-drivedb command. It was part of the smartmontools package that gsmartcontrol is a Gui front-end to.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
ludolph
Forum Regular
Forum Regular
Posts: 110
Joined: Fri Oct 07, 2011 7:38 am

Re: gsmartcontrol from mx test repo can't update drivedb

#6

Post by ludolph » Mon Mar 18, 2019 9:59 am

timkb4cq wrote:
Mon Mar 18, 2019 9:54 am
Gsmartcontrol never contained the update-smart-drivedb command. It was part of the smartmontools package that gsmartcontrol is a Gui front-end to.
yes ... you are right. So, why the update-smart-drivedb is missing at smartmontools, and why man page is still included?

I am just curious ... :confused:

EDIT: situation is more and more confusing, see
https://github.com/smartmontools/smartm ... /issues/22
https://bugs.launchpad.net/ubuntu/+sour ... ug/1574894

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5121
Joined: Wed Jul 12, 2006 4:05 pm

Re: gsmartcontrol from mx test repo can't update drivedb

#7

Post by timkb4cq » Mon Mar 18, 2019 11:02 am

The drivedb.h file was(is?) hosted at SourceForge. They changed their configuration several times, breaking the update script. Debian & Ubuntu disabled building the script because it didn't work.

Scroll to the bottom of the page on this smartmontools website page:
https://www.smartmontools.org/wiki/Download
and you can find the new drivedb.h files, which I assume you can download and manually replace the old ones with.

I'll see if the latest release can be built for MX-17/18 with the new update-smart-drivedb script.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
ludolph
Forum Regular
Forum Regular
Posts: 110
Joined: Fri Oct 07, 2011 7:38 am

Re: gsmartcontrol from mx test repo can't update drivedb

#8

Post by ludolph » Mon Mar 18, 2019 11:18 am

timkb4cq wrote:
Mon Mar 18, 2019 11:02 am
The drivedb.h file was(is?) hosted at SourceForge. They changed their configuration several times, breaking the update script. Debian & Ubuntu disabled building the script because it didn't work.

Scroll to the bottom of the page on this smartmontools website page:
https://www.smartmontools.org/wiki/Download
and you can find the new drivedb.h files, which I assume you can download and manually replace the old ones with.

I'll see if the latest release can be built for MX-17/18 with the new update-smart-drivedb script.
According to the https://www.smartmontools.org/wiki/Download:
"The above update method does no longer work for smartmontools older than 6.5.", but current version of smartmontools is 6.5, so I still do not understand what is wrong?

But anyway, please try to built this package with new update-smart-drivedb script.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5121
Joined: Wed Jul 12, 2006 4:05 pm

Re: gsmartcontrol from mx test repo can't update drivedb

#9

Post by timkb4cq » Mon Mar 18, 2019 11:21 am

What's wrong is that Debian didn't include the update script in their packages.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
ludolph
Forum Regular
Forum Regular
Posts: 110
Joined: Fri Oct 07, 2011 7:38 am

Re: gsmartcontrol from mx test repo can't update drivedb

#10

Post by ludolph » Mon Mar 18, 2019 11:35 am

timkb4cq wrote:
Mon Mar 18, 2019 11:21 am
What's wrong is that Debian didn't include the update script in their packages.
For what reason? Version 6.5 and higher should work with sourceforge without any problem.

Post Reply

Return to “General”