tuxedocomputers/tuxedo-control-center

Cannot install 2.1.10-1 using apt

Closed this issue · 12 comments

I got this message when I try to install tuxedo-control-center:

apt -uVf upgrade
Upgrading:                      
   tuxedo-control-center (2.0.8 => 2.1.10-1)

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
  Download size: 0 B / 81.8 MB
  Space needed: 5,172 kB / 5,688 MB available

Continue? [Y/n]  
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
apt-listchanges: Reading changelogs...
apt-listchanges: Mailing xxxxxxx@xxxxxx.xxx:
apt-listchanges: changelogs for xxxxxx
(Reading database ... 450556 files and directories currently installed.)
Preparing to unpack .../tuxedo-control-center_2.1.10-1_amd64.deb ...
Removed '/etc/systemd/system/multi-user.target.wants/tccd.service'.
Removed '/etc/systemd/system/sleep.target.wants/tccd-sleep.service'.
Unpacking tuxedo-control-center (2.1.10-1) over (2.0.8) ...
dpkg: error processing archive /var/cache/apt/archives/tuxedo-control-center_2.1.10-1_amd64.deb (--unpack):
 error creating hard link './opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tuxedo-control-center_256.svg': Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Failed to disable unit: Unit tccd.service does not exist
Failed to stop tccd.service: Unit tccd.service not loaded.
rm: cannot remove '/etc/systemd/system/tccd.service': No such file or directory
rm: cannot remove '/etc/systemd/system/tccd-sleep.service': No such file or directory
rm: cannot remove '/usr/share/polkit-1/actions/com.tuxedocomputers.tccd.policy': No such file or directory
rm: cannot remove '/usr/share/polkit-1/actions/com.tuxedocomputers.tomte.policy': No such file or directory
rm: cannot remove '/usr/share/applications/tuxedo-control-center.desktop': No such file or directory
rm: cannot remove '/etc/skel/.config/autostart/tuxedo-control-center-tray.desktop': No such file or directory
rm: cannot remove '/usr/share/dbus-1/system.d/com.tuxedocomputers.tccd.conf': No such file or directory
rm: cannot remove '/etc/udev/rules.d/99-webcam.rules': No such file or directory
rm: cannot remove '/usr/share/applications/tuxedo-control-center.desktop': No such file or directory
Created symlink '/etc/systemd/system/multi-user.target.wants/tccd.service' → '/etc/systemd/system/tccd.service'.
Created symlink '/etc/systemd/system/sleep.target.wants/tccd-sleep.service' → '/etc/systemd/system/tccd-sleep.service'.
mv: cannot stat '/opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/99-webcam.rules': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/tuxedo-control-center_2.1.10-1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

I'm seeing a similar issue with the OpenSUSE RPM package from https://rpm.tuxedocomputers.com/opensuse/15.5.

The following package is going to be upgraded:
  tuxedo-control-center

1 package to upgrade.
Overall download size: 0 B. Already cached: 77,4 MiB. After the operation, additional 210,7 KiB will be used.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
In cache tuxedo-control-center_2.1.10.rpm                                                                       (1/1),  77,4 MiB    

Checking for file conflicts: .................................................................................................[done]
error: unpacking of archive failed on file /usr/share/icons/hicolor/scalable/apps/tuxedo-control-center.svg;6662b49e: cpio: link failed - No data available
error: tuxedo-control-center-2.1.10-1.x86_64: install failed
error: tuxedo-control-center-2.1.8-1.x86_64: erase skipped
(1/1) Installing: tuxedo-control-center-2.1.10-1.x86_64 .....................................................................[error]
Installation of tuxedo-control-center-2.1.10-1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.

Hello,

@mokilcde which system/repo are you installing from specifically?

I made a "sanity check upgrade" yesterday after it was released into the repos without issue. Today now as well. From 22.04 deb repo.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  tuxedo-control-center
1 to upgrade, 0 to newly install, 0 to remove and 370 not to upgrade.
Need to get 81,8 MB of archives.
After this operation, 220 kB of additional disk space will be used.
Get:1 https://deb.tuxedocomputers.com/ubuntu jammy/main amd64 tuxedo-control-center amd64 2.1.10-1 [81,8 MB]
Fetched 81,8 MB in 17s (4.720 kB/s)
(Reading database ... 283183 files and directories currently installed.)
Preparing to unpack .../tuxedo-control-center_2.1.10-1_amd64.deb ...
Unpacking tuxedo-control-center (2.1.10-1) over (2.1.8) ...
Removed /etc/systemd/system/sleep.target.wants/tccd-sleep.service.
Removed /etc/systemd/system/multi-user.target.wants/tccd.service.
Setting up tuxedo-control-center (2.1.10-1) ...
rm: cannot remove '/usr/share/applications/tuxedo-control-center.desktop': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/tccd.service → /etc/systemd/system/tccd.service.
Created symlink /etc/systemd/system/sleep.target.wants/tccd-sleep.service → /etc/systemd/system/tccd-sleep.service.
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

Otherwise... maybe try again, with an apt update before.

Debian testing / SID

I did do an apt update

error: unpacking of archive failed on file /usr/share/icons/hicolor/scalable/apps/tuxedo-control-center.svg;6662b49e: cpio: link failed - No data available

Same error here on OpenSUSE Tumbleweed trying to upgrade to tuxedo-control-center-2.1.10-1.x86_64 from https://rpm.tuxedocomputers.com/opensuse/15.5

Regarding error link failed: /usr and /opt trees are on different btrfs subvolumes on my system. Hard links across these wouldn't work.

error: unpacking of archive failed on file /usr/share/icons/hicolor/scalable/apps/tuxedo-control-center.svg;6662b49e: cpio: link failed - No data available

Same error here on OpenSUSE Tumbleweed trying to upgrade to tuxedo-control-center-2.1.10-1.x86_64 from https://rpm.tuxedocomputers.com/opensuse/15.5

Regarding error link failed: /usr and /opt trees are on different btrfs subvolumes on my system. Hard links across these wouldn't work.

Interesting, seems packaging related then, nothing new, but hard links there should not be needed.

Out of curiosity since we haven't had these reports so far. Is this configuration standardized in some distros or just custom?

rpm: https://en.opensuse.org/openSUSE:Packaging_checks#hardlink-across-partition

"By policy, do not hardlink across the first two levels of a path, e.g. between /srv/ftp and /srv/www or /etc and /usr."
... and therefore not between /usr and /opt.

It will be no different with other package managers.

Out of curiosity since we haven't had these reports so far. Is this configuration standardized in some distros or just custom?

It's the configuration I got when I selected btrfs as filesystem during a fresh install.
https://en.opensuse.org/SDB:BTRFS lists the default subvolumes in this case. Subvolumes are generated to exclude their mount points from system snapshot & rollback.

Not sure about other distros,though.

Hello,

I believe the issue was found and fixed. Please try packages with v2.1.11. Should already be in the respective repos.

Would appreciate feedback if it is solved for the various systems.

Would appreciate feedback if it is solved for the various systems.

I just installed the tuxedo-control-center-2.1.11-2.x86_64 RPM package (from https://rpm.tuxedocomputers.com/opensuse/15.5) on OpenSUSE Tumbleweed without any issues, so the fix worked for me.

v2.1.11 installed flawlessly on Tumbleweed for me as well.

Thank you!

Version 2.1.11-2 now also worked for me. Installed flawless right now.

Thank you folks!

Closing issue since it seems fixed.