Automatically-installed packages are being marked as manually installed

Asked by Shahar Or

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

English Edit question
Ubuntu aptitude Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :

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

Revision history for this message
Shahar Or (mightyiam) said :

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :

Does apt-get display it all OK?

Revision history for this message
Manfred Hampl (m-hampl) said :

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.)

Revision history for this message
Shahar Or (mightyiam) said :

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.