-
Notifications
You must be signed in to change notification settings - Fork 179
Description
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:
- Debian: https://packages.debian.org/bookworm/crystal
- Ubuntu: https://launchpad.net/ubuntu/+source/crystal
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 crystalProposed 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.