Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMDE's apt reports wrong version of packages #256

Open
GMTSE opened this issue Jan 7, 2025 · 1 comment
Open

LMDE's apt reports wrong version of packages #256

GMTSE opened this issue Jan 7, 2025 · 1 comment

Comments

@GMTSE
Copy link

GMTSE commented Jan 7, 2025

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!!!!

@georg41980
Copy link

APT behavior in short:

Without -t bookworm-backports:

Installs packages from the main repositories (stable versions).

Example: sudo apt install emacs → Installs version 28.2.

With -t bookworm-backports:

Installs packages from the backports repositories (newer versions).

Example: sudo apt install -t bookworm-backports emacs → Installs version 29.4.

Why?

Main repositories: Stability (tested versions).

Backports: Newer versions, but optional and explicitly requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants