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

Bug#993287: "apt-get install" doesn't preserve autoinstall status of upgraded packages



On Mon, Aug 30, 2021 at 2:06 PM David Kalnischkies
<david@kalnischkies.de> wrote:
>
> On Mon, Aug 30, 2021 at 11:27:47AM +0300, Esa Peuha wrote:
> > what has happened until recently. However, since apt 2.3.3 foo will be
> > marked as manually installed, which seems to be an unintended change.
>
> What makes you believe apt before 2.3.3 behaved differently?

Maybe apt didn't, but apt-get certainly did; I tested this by
downloading several versions of apt and libapt-pkg6.0 from
snapshot.debian.org and installing them on a live system. The
difference I see in apt-get is between 2.3.2 and 2.3.3.

> I tried with 2.3.2 and 1.3 (= the first release with CMake buildsystem)
> and both exhibit the behaviour you describe as an unintended change…
> (attached is a testcase akin to what Julian described were in both
> blocks the second apt-mark showmanual call fails as foo is now manual)

That test uses apt instead of apt-get, though. I never use apt myself,
so I didn't even think of finding out what it does.


Reply to: