linuxmint / linuxmint/mintsources

LMDE's apt reports wrong version of packages

Open
#256 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
59
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Hi,

I needed to access Emacs 29.4, so I've activated the "backports" repos for Bookworm in LMDE, following this tutorial:
https://linuxcapable.com/how-to-install-backports-experimental-repository-on-debian/

Since I was used of using standard Mint & Ubuntu, and I didn't notice the final remark, saying that you need to use "-t bookworm-backports" flags to apt to specifically install/configure packages from backports, I started using "apt" the "usual way" (no flags) after configuring the additional repos.

I was very surprised to observe that apt is totally wrong about what it does!!!

# apt install emacs --update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
emacs is already the newest version (1:29.4+1-4~bpo12+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ emacs --version
emacsclient 28.2

Even when purging and reinstalling Emacs, apt reports installing version 29.4, whereas it is still version 28.2 that gets installed!!!!

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

Reproduce the report using the backports repository configuration, apt install emacs --update, and the reported emacs --version check. Investigate why apt's selected package version differs from the installed executable; done means identifying a reproducible cause and documenting or fixing the mismatch with a verification case.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian
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.