clonezilla will not install 16.04

Asked by Henry Folorunsho

error message while trying to install clonezilla in ubuntu 16.04.

Please find below
henry@polaris:~$ sudo apt-get install clonezilla
Reading package lists... Done
Building dependency tree
Reading state information... Done
clonezilla is already the newest version (3.10.11-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up clonezilla (3.10.11-3) ...
ln: target '/opt/' is not a directory: No such file or directory
dpkg: error processing package clonezilla (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 clonezilla
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output of the commands

uname -a
lsb_release -crid
sudo dpkg --audit
dpkg -l | grep clonezilla

Revision history for this message
Henry Folorunsho (henryxav) said :
#2

henry@polaris:~$ uname -a
Linux polaris 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
henry@polaris:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
henry@polaris:~$ sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 clonezilla bare metal backup and recovery of disk drives

henry@polaris:~$ dpkg -l | grep clonezilla
iF clonezilla 3.10.11-3 all bare metal backup and recovery of disk drives

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

This seems to be a bug in the clonezilla package, already reported as Bug #1579497

Try

sudo mkdir /opt
sudo dpkg --configure -a

and report the results.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If that fails, what is the output of:

apt-cache policy clonezilla

Thanks

Revision history for this message
Henry Folorunsho (henryxav) said :
#5

henry@polaris:~$ apt-cache policy clonezilla
clonezilla:
  Installed: 3.10.11-3
  Candidate: 3.10.11-3
  Version table:
 *** 3.10.11-3 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

What is now the output of

sudo dpkg --audit
dpkg -l | grep clonezilla
sudo dpkg --configure -a

?

Revision history for this message
Henry Folorunsho (henryxav) said :
#7

$ sudo dpkg --audit
[sudo] password for henry:
Sorry, try again.
[sudo] password for henry:
henry@polaris:~$ dpkg -l | grep clonezilla
ii clonezilla 3.10.11-3 all bare metal backup and recovery of disk drives
henry@polaris:~$ sudo dpkg --configure -a
henry@polaris:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

clonezilla is installed. What problem do you still have with it?

Revision history for this message
Henry Folorunsho (henryxav) said :
#9

its not on my app. Menu. No GUI

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#10

This is no GUI application.
Try starting it from a terminal window (with "sudo clonezilla")

Revision history for this message
Henry Folorunsho (henryxav) said :
#11

Many Thanks

Solved