Automatically-installed packages are being marked as manually installed

Asked by Shahar Or on 2015-07-29

Hi and thank you for the remarkable Aptitude.

I'm on the development version of Ubuntu and upgrade packages daily using aptitude.

Upon reviewing daily upgrades, I consistently discover that many packages which I am sure to have previously marked as automatically-installed, are now marked as manually installed.

What could be the cause of this, please?

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu aptitude Edit question
Assignee:
No assignee Edit question
Last query:
2015-07-30
Last reply:
2015-07-30

I suggest you report a bug. Wily is not stable and not ready.

If you have a bug reported you don't need a question as well, let alone two...

Shahar Or (mightyiam) said : #3

My bug was closed as being a question. True story.

Does apt-get display it all OK?

Manfred Hampl (m-hampl) said : #5

This case - "you created a question document, you were told to create a bug report, and then the bug report was converted back into a new question" - is a bit ridiculous. Sorry for that. It should not happen that way.

There is a known problem that in some cases kernel-packages are marked as "manually installed" such that "sudo apt-get --purge autoremove" does not purge the obsolete kernels, and the /boot partition gets filled up, see Bug #1175637 .

The workaround proposal for such case is issuing the command
apt-mark showmanual | grep linux-image | xargs sudo apt-mark auto

(I know that this does not solve the root cause for the packages being wrongly marked as manually installed.)

Shahar Or (mightyiam) said : #6

Thank you, @m-hampl,

This does not happen with kernel packages.

It happens with libraries.

I thought that perhaps some kind of dependency is causing this. Perhaps pre-depends. But I read about pre-depends and from what I can understand, it shouldn't result in that.

Yet, something does result in that.

And I'm using only aptitude for package management. So I have a guess that Daniel knows.

Can you help with this problem?

Provide an answer of your own, or ask Shahar Or for more information if necessary.

To post a message you must log in.