Skip to content

Duplicate APT source entries created (.list and .sources) causing warnings on apt update #10011

@iamaakashbasnet

Description

@iamaakashbasnet

Pre-submit Checks

Describe the bug

When installing Warp on Ubuntu, the repository is added in both .list and .sources formats under /etc/apt/sources.list.d/. This results in duplicate APT source entries and repeated warnings during apt update.

To reproduce

After running apt modernize-sources

Expected behavior

Only one repository definition should be added (preferably .sources, as it's the modern format)
No duplicate warnings during apt update

Screenshots, videos, and logs

Image

Operating system (OS)

Linux

Operating system and version

Ubuntu 26.04

Shell Version

GNU bash, version 5.3.9(1)-release (x86_64-pc-linux-gnu)

Current Warp version

v0.2026.04.29.08.57.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

Previous apt version in Ubuntu 24.04

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.os:linuxLinux-specific behavior, regressions, or requests.ready-to-implementThe issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions