Skip to content

Package name conflict with official 'crystal' compiler package (Debian/Ubuntu) #236

@tjozwik

Description

@tjozwik

Description

I've encountered a naming conflict when installing the .deb package for this project on Debian-based systems.

The package generated by this project uses the name crystal. However, this name is already taken in the official Debian and Ubuntu repositories by the Crystal programming language compiler.

You can see the conflicting upstream packages here:

The Problem

Because both packages share the exact same name (crystal), the system package manager (apt) interprets them as the same software. When running a system update (apt upgrade), the system often attempts to "update" the installed Crystal IDE by replacing it with the Crystal compiler from the official repositories (or vice versa, depending on version numbering).

Currently, the only workaround to keep this project installed from .deb without it being overwritten is to manually pin the version using:

sudo apt-mark hold crystal

Proposed Solution

To avoid this namespace collision and improve the installation experience, I suggest renaming the built .deb package to something unique, such as:

stravu-crystal

This would isolate the application from the system-level compiler package and prevent accidental overwrites.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions