Upgrading/downgrading a package with "apt-get install" should not make the package marked as manually installed, if it was not before

Bug #1482959 reported by Removed by request
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using Ubuntu 15.10 dev with apt 1.0.9.10ubuntu6. If a specific package gets upgraded with "apt-get install" it gets also set to manual installed even if it is an automatic installed package. That could be unexpected for the user. Maybe similarly if the user tries to reinstall an already up-to-date automatically installed package, apt must not make the package marked as manually installed; see a fixed bug #139448.

Revision history for this message
Jarno Suni (jarnos) wrote (last edit ):

Same thing when downgrading a package by "apt-get install pkg [{=pkg_version_number | /target_release}]" e.g. after you remove a PPA. I think apt could try to retain auto/manual states in these cases. But could there be a case where dependencies change when you upgrade/downgrade? Would it be safer to search the packages that depend on the automatically installed packages and tell apt to downgrade it? Could apt downgrade the dependencies automatically and then retain auto/manual state accordingly?

Jarno Suni (jarnos)
summary: - Showing that upgrading a package with "apt-get install" does it also set
- to manual installed
+ Upgrading/downgrading a package with "apt-get install" should not make
+ the package marked as manually installed, if it was not before
Jarno Suni (jarnos)
description: updated
Revision history for this message
Jarno Suni (jarnos) wrote :

Related thread from year2020: https://askubuntu.com/q/1303795/21005

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.