linuxmint / linuxmint/aptkit

aptkit Installed nVidia Drivers on my AMD System. I think.

Open
#15 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Please forgive me if this isn't the right place for this report.

LM 22.2 Cinnamon
Kernel 6.14
AMD Ryzen 5 5500
AMD Radeon RX 580

I received an update notification on the 19th that there were updates for my nVidia drivers. This was surprising to me, since this PC has never had an nVidia card in it. Searching the logs I found that aptkit had installed nVidia drivers on 16 October 2025.

Start-Date: 2025-10-16  16:41:28
Commandline: aptkit role='role-install-packages' sender=':1.537'
Install: nvidia-kernel-common-580-server:amd64 (580.95.05-0ubuntu0.24.04.2), nvidia-firmware-580-server-580.95.05:amd64 (580.95.05-0ubuntu0.24.04.2)
Upgrade: python3-samba:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), libldb2:amd64 (2:2.8.0+samba4.19.5+dfsg-4ubuntu9.3, 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.4), libwbclient0:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), samba-common-bin:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), libsmbclient0:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), libnvidia-compute-580-server:amd64 (580.65.06-0ubuntu0.24.04.1, 580.95.05-0ubuntu0.24.04.2), python3-ldb:amd64 (2:2.8.0+samba4.19.5+dfsg-4ubuntu9.3, 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.4), smbclient:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), samba-libs:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4), samba-common:amd64 (2:4.19.5+dfsg-4ubuntu9.3, 2:4.19.5+dfsg-4ubuntu9.4)
End-Date: 2025-10-16  16:41:44

I'm not sure how to parse "Commandline: aptkit role='role-install-packages' sender=':1.537'" so I don't know the origin of the install command.

From the log the other day, where I purged nVidia, I assume that if the command had been through the terminal there would be a "Requested-By" entry.

Start-Date: 2025-12-19  13:44:57
Commandline: aptkit role='role-install-packages' sender=':1.112'
Upgrade: nvidia-kernel-common-580-server:amd64 (580.95.05-0ubuntu0.24.04.2, 580.95.05-0ubuntu0.24.04.3), libnvidia-compute-580-server:amd64 (580.95.05-0ubuntu0.24.04.2, 580.95.05-0ubuntu0.24.04.3), nvidia-firmware-580-server-580.95.05:amd64 (580.95.05-0ubuntu0.24.04.2, 580.95.05-0ubuntu0.24.04.3)
End-Date: 2025-12-19  13:45:08

Start-Date: 2025-12-19  13:59:24
Commandline: /usr/bin/apt purge *nvidia*
Requested-By: k7s5a (1000)
Purge: libnvidia-compute-575-server:amd64 (575.57.08-0ubuntu0.24.04.3), nvidia-kernel-common-580-server:amd64 (580.95.05-0ubuntu0.24.04.3), nvidia-prime-applet:amd64 (1.4.6), libnvidia-compute-580-server:amd64 (580.95.05-0ubuntu0.24.04.3), nvidia-firmware-580-server-580.95.05:amd64 (580.95.05-0ubuntu0.24.04.3)
End-Date: 2025-12-19  13:59:38

I assume there is a bug somewhere in the haystack that called for the nVidia install, but whether it is with aptkit or "sender=':1.537'" (whatever process that is) I don't know.

I am willing to dig around my system to find more information if you want.

Thank you for everything you do. It is appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the aptkit role='role-install-packages' entries and the sender values in the provided APT logs, then determine which process initiated the NVIDIA package installation. Done means the initiating path is identified and the unintended installation has a clear, reproducible fix or documented handoff; no source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.