Skip to content

bug: jan .deb package fails to install due to file conflict with uv package manager at /usr/bin/uv #7951

@jadmadi

Description

@jadmadi

Version: Jan_0.7.9_amd64

Describe the Bug

The Jan .deb package fails to install on Debian/Ubuntu-based systems because it attempts to overwrite /usr/bin/uv, a file already owned by the official uv (Python package manager) package. This is a file collision bug that violates standard Linux packaging practices (Debian Policy Manual), as two unrelated packages cannot claim the same binary path.

Steps to Reproduce

  1. Install the uv package manager on the system (e.g., sudo apt install uv).
  2. Download the Jan 0.7.9 .deb file.
  3. Attempt to install it using sudo apt install ./Jan-latest.deb.
  4. Observe the dpkg error regarding the file overwrite conflict.

Screenshots / Logs

sudo apt install ./Jan_0.7.9_amd64.deb
Note, selecting 'jan' instead of './Jan_0.7.9_amd64.deb'
Installing:
jan

Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 8
Download size: 0 B / 89.5 MB
Space needed: 223 MB / 27.0 GB available

Get:1 /path/to/Jan_0.7.9_amd64.deb jan amd64 0.7.9 [89.5 MB]
(Reading database ... 399678 files and directories currently installed.)
Preparing to unpack .../Jan_0.7.9_amd64.deb ...
Unpacking jan (0.7.9) ...
dpkg: error processing archive /path/to/Jan_0.7.9_amd64.deb (--unpack):
trying to overwrite '/usr/bin/uv', which is also in package uv (0.11.6-1+trixie)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/path/to/Jan_0.7.9_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Operating System

  • [ x ] Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions