Skip to content

[Bug]: Debian 12 .deb installation fails - update-alternatives name contains spaces #12494

@apaz-cli

Description

@apaz-cli

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Linux

Version

1.7.13-amd64.deb

Bug Description

Can't install .deb on Debian 12.12 (Bookworm)

Steps To Reproduce

sudo dpkg -i Cherry-Studio-1.7.13-amd64.deb

Expected Behavior

Installs normally

Relevant Log Output

$ sudo dpkg -i Cherry-Studio-1.7.13-amd64.deb 
Selecting previously unselected package cherrystudio.
(Reading database ... 232613 files and directories currently installed.)
Preparing to unpack Cherry-Studio-1.7.13-amd64.deb ...
Unpacking cherrystudio (1.7.13) ...
Setting up cherrystudio (1.7.13) ...
update-alternatives is /usr/bin/update-alternatives
update-alternatives: error: alternative name (Cherry Studio) must not contain '/' and spaces
Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile
Processing triggers for hicolor-icon-theme (0.17-2) ...
gtk-update-icon-cache: The generated cache was invalid.
WARNING: icon cache generation failed
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGCategorizes issue or PR as related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions