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
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.
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 |
description: | updated |
To post a comment you must log in.
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?