Skip to content

Support a multiple partition system #13

Description

@chevalier-m

Hello.

My pi uses an external usb drive as the main drive, which is partitioned in 3 partitions, respectively mounted in / /home and /opt.
The installation of the .deb file fails due to:
error creating hard link './opt/Cooler Master Pi Tool/public/cm_logo_outline.png': Invalid cross-device link
I've tried placing the .deb file in every partition but it just doesn't do the trick, I suspect the creation of a hardlink is responsible in between /usr/bin/pi-something and /opt/Cooler Master Stuff/etc.

It would be great to fix this as it probably is not an uncommon setup, and I am wondering the reason behind the usage of hardlinking in our case, especially directly in the dpkg process.

Thanks.

EDIT: More logs:

Get:1 /tmp/pi-tool.deb pi-tool armhf 0.3.1 [71,5 MB]
(Reading database ... 159764 files and directories currently installed.)
Preparing to unpack /tmp/pi-tool.deb ...
Unpacking pi-tool (0.3.1) ...
dpkg: error processing archive /tmp/pi-tool.deb (--unpack):
 error creating hard link './opt/Cooler Master Pi Tool/public/cm_logo_outline.png': Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /tmp/pi-tool.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

PS: Releasing the binaries themselves could be a solution as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions