$ dpkg -I /var/cache/apt/archives/fluentd-apt-source_2020.8.25-1_all.deb
new Debian package, version 2.0.
size 5340 bytes: control archive=752 bytes.
40 bytes, 1 lines conffiles
442 bytes, 12 lines control
326 bytes, 4 lines md5sums
Package: fluentd-apt-source
Version: 2020.8.25-1
Architecture: all
Maintainer: Fluentd developers <fluentd@googlegroups.com>
Installed-Size: 22
Depends: apt-transport-https, gnupg
Section: misc
Priority: important # <------- It should be optional.
Homepage: https://www.fluentd.org/
Description: GnuPG archive key and APT source of the Treasure Agent archive
The Treasure Agent project digitally signs its Release files. This
package contains the archive key used for that.
To Reproduce
None
Expected behavior
The priority for the fluentd-apt-source package is optional.
$ dpkg -l 'fluent*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-============-============-==============================================================
ii fluentd-apt-source 2020.8.25-1 all GnuPG archive key and APT source of the Treasure Agent archive
When we trying to install high priority packages by tasksel install standard, the fluentd-apt-source package installed unintentionally. It breaks apt sources.list because it conflicts between manually added settings /etc/apt/sources.d/packages_treasuredata_com_4_ubuntu_jammy.list and package added settings /etc/apt/sources.list.d/fluentd.sources.
The reason of the fluentd-apt-source package installed unintentionally, it has high priority.
Describe the bug
The priority of the fluentd-apt-source 2020.8.25-1 package is "important". It should be optional rather than important.
The deb package priority is defined in the debian policy document:
To Reproduce
None
Expected behavior
The priority for the fluentd-apt-source package is optional.
Your Environment
Your Error Log
Additional context
When we trying to install high priority packages by
tasksel install standard
, the fluentd-apt-source package installed unintentionally. It breaks apt sources.list because it conflicts between manually added settings/etc/apt/sources.d/packages_treasuredata_com_4_ubuntu_jammy.list
and package added settings/etc/apt/sources.list.d/fluentd.sources
.The reason of the fluentd-apt-source package installed unintentionally, it has high priority.