Follow my recent escapades & while still have my ‘computer head’ on I thought I’d try & check the heath & age of my HDD. Searching I came across Smartmontools command but this had to be installed.
Followed the instruction : $ sudo apt install smartmontools
At the end of the install I had these err, messages:
Err:6 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libmysqlclient20 amd64 5.7.34-0ubuntu0.18.04.1
404 Not Found [IP: 91.189.88.142 80]
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 mailutils amd64 1:3.4-1 [140 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 smartmontools amd64 6.5+svn4324-1ubuntu0.1 [477 kB]
Fetched 2,923 kB in 1s (3,736 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/libmysqlclient20_5.7.34-0ubuntu0.18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I ran ‘apt-update’ then tried --fix-missing. Update updated stuff, ‘fix-missing’ wasn’t recognised.
More searching got me short tutorial on fixing broken/missing packages. did this :
:~$ sudo apt-get update --fix-missing
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://ppa.launchpad.net/micahflee/ppa/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
then:
$ sudo apt-get install -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 to upgrade, 0 to newly install, 0 to remove and 10 not to upgrade.
Then I was allegedly read to go so did this (with results):
$ mount | grep ‘on / type’
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
$ sudo smartctl --xall /dev/sda2
sudo: smartctl: command not found
so followed instructions to get rid of any broken/incomplete packages :
$ sudo apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://ppa.launchpad.net/micahflee/ppa/ubuntu bionic InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
$ sudo apt-get clean
$ sudo apt-get autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 to upgrade, 0 to newly install, 0 to remove and 10 not to upgrade.
& finally my question - am I ready to have another go at installing Smartmontools ?