Public bug reported:

Suppose package x has greater version than the latest one in
repositories.

sudo apt-get install -t=$(lsb_release -cs) x

does not downgrade the package, but

sudo apt-get install x/$(lsb_release -cs)

does.

I don't see why it shouldn't downgrade by the first command, too.

Besides, I request an option to retain package's auto/manual state in
this operation.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 2.0.10
ProcVersionSignature: Ubuntu 5.4.0-200.220-generic 5.4.284
Uname: Linux 5.4.0-200-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Mon Nov  4 16:13:13 2024
InstallationDate: Installed on 2021-08-14 (1177 days ago)
InstallationMedia: Xubuntu Core 20.04 - amd64 - 20200423
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086623

Title:
  apt-get install does not downgrade packages with -t

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2086623/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to