[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762567: apt-get wants to remove stellarium



Package: apt
Version: 1.0.9.1

I installed jessie and a bunch of packages, then upgraded to sid.
Now "apt-get dist-upgrade" wants to remove stellarium:

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5declarative5 libqt5gui5 libqt5network5 libqt5opengl5
  libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5script5 libqt5sql5 libqt5webkit5 libqt5widgets5
  libxcb-render-util0 libxcb-sync1 libxcb-xkb1 libxkbcommon-x11-0 qtquick1-qml-plugins stellarium-data
Use 'apt-get autoremove' to remove them.
Done
The following packages will be REMOVED:
  stellarium
The following packages will be upgraded:
  libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5declarative5 libqt5gui5 libqt5network5 libqt5opengl5
  libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5script5 libqt5sql5 libqt5webkit5 libqt5widgets5
  qtquick1-qml-plugins
15 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 20.8 MB of archives.
After this operation, 9317 kB disk space will be freed.
Do you want to continue? [Y/n] 


This makes no sense at all. apt-get *knows* that I wanted to install
stellarium by itself, and apt-get *knows* that I didn't explicitly asked
for all those libraries to be installed alone. This knowledge is in fact
the base for the autoremove feature.

But apparently apt-get does not use all the information it has in this case.

Whenever possible, packages that I asked to install should have
absolute priority (i.e. should be kept installed) over packages
that I didn't explicitly asked to be installed.


Way to reproduce: Install jessie, install stellarium, then upgrade to sid.


Thanks.


Reply to: