Upgrade problem after system failure, help please...

Jay Ridgley jridgley2 at austin.rr.com
Wed Jan 25 22:19:40 UTC 2017


Good afternoon,

System information Ubuntu 16.04 LTS

I lost my hard drive (somehow it got erased COMPLETELY). I replaced it 
with an older drive and did a restore from my backup.

I was successful in getting my home directories recovered. The system 
reported that updates were needed, not surprising. ONWARD!

When I attempted to do the following:

sudo apt-get check && sudo apt-get update && sudo apt-get dist-upgrade

I get an error message:

...

  286 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.

...

Fetched 31.6 MB in 15s (2,021 kB/s) 

Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up util-linux (2.27.1-6ubuntu3.2) ...
insserv: script hwclock.sh: service hwclock already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I recover???

Cheers,
Jay

-- 
Jay Ridgley
jridgley2 at austin.rr.com
Registered Linux User ID - 9115
https://linuxcounter.net/cert/9115.png
Registered Ubuntu User ID - 23320




More information about the ubuntu-users mailing list