Cursor apt issue

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After installing the cursor.deb package on Linux Mint, running sudo apt update fails to sync the Cursor repository due to a missing public GPG key. This prevents the system from verifying the package source and stops further updates.

Err: https://downloads.cursor.com/aptrepo stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 42A1772E62E492D6

Steps to Reproduce

  1. Download cursor.deb from the official website.
  2. Install via dpkg or gdebi.
  3. Run sudo apt update in the terminal.

Expected Behavior

The installation of the .deb package should automatically import the GPG key to /etc/apt/trusted.gpg.d/ or provide a post-install script to handle the key registration.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 2.5.25
VSCode Version: 1.105.1
Commit: 7150844152b426ed50d2b68dd6b33b5c5beb73c0
Date: 2026-02-24T07:17:49.417Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Linux x64 6.14.0-37-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey there!

This guide has helped users facing the same issue.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.