You might be right, apparently I was misinterpreting the actions of the
script.

Probably the correct solution would be to add
mkdir -p /opt
before the first ln statement.

This could also be wrapped in an if.

I doubt that you can guarantee that the /opt directory is existing on
all Linux variants that might install that package from the provided
.deb file. "opt" sounds a bit like "optional".

Error-tolerant scripts should be able to cope with such situation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579497

Title:
  package clonezilla 3.10.11-3 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clonezilla/+bug/1579497/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to