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

Apt phased updates and /tmp folder




Hi!

Starting from apt 2.1.16, apt itself supports phased updates.

Basically when some packages are in that state (that can be verified with apt policy <package-name>), apt will consider them installable only if the phased updates conditions are met (machine-Id and other stuff).

But, running an apt upgrade task from a systemd service that declares PrivateTmp=true in its service file, will result in this phased update feature to be completely ignored and all pending upgrades will be installed.

The same can be obtained disabling phased updates with apt.conf .

Why this feature need access to the shared /tmp folder to work properly? I couldn’t find any related tmp file created there that could be relevant.

Thanks!


Reply to: