Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: update apt sources #3304

Open
6 tasks done
felixhekhorn opened this issue Jan 29, 2025 · 1 comment
Open
6 tasks done

[Bug]: update apt sources #3304

felixhekhorn opened this issue Jan 29, 2025 · 1 comment

Comments

@felixhekhorn
Copy link

felixhekhorn commented Jan 29, 2025

Checks before filing an issue

Mattermost Desktop Version

5.10.1

Operating System

Debian unstable

Mattermost Server Version

No response

Steps to reproduce

$ apt update

Expected behavior

OK:5 https://deb.packages.mattermost.com stable InRelease

Observed behavior

OK:5 https://deb.packages.mattermost.com stable InRelease
[...]
Notice: Missing Signed-By in the sources.list(5) entry for »https://deb.packages.mattermost.com«
Notice: Consider migrating all sources.list(5) entries to the deb822 .sources format
Notice: The deb822 .sources format supports both embedded as well as external OpenPGP keys
Notice: See apt-secure(7) for best practices in configuring repository signing.

Log Output

not relevant

Additional Information

The manpage of apt 1.8.2.3 which is e.g. present in debian buster says

ONE-LINE-STYLE FORMAT
[...]

This is the traditional format and supported by all apt versions. Note that not all options as described below are supported by all apt versions. Note also that some older applications parsing this format on their own might not expect to encounter options as they were uncommon before the introduction of multi-architecture support.

DEB822-STYLE FORMAT
[...]

This is a new format supported by apt itself since version 1.1. Previous versions ignore such files with a notice message as described earlier. It is intended to make this format gradually the default format, deprecating the previously described one-line-style format, as it is easier to create, extend and modify for humans and machines alike especially if a lot of sources and/or options are involved. Developers who are working with and/or parsing apt sources are highly encouraged to add support for this format and to contact the APT team to coordinate and share this work. Users can freely adopt this format already, but may encounter problems with software not supporting the format yet.

https://manpages.debian.org/buster/apt/sources.list.5.en.html

The manpage of apt 2.9.26 which is e.g. present in debian unstable says

ONE-LINE-STYLE FORMAT
[...]

This format is deprecated and may eventually be removed, but not before 2029.

https://manpages.debian.org/unstable/apt/sources.list.5.en.html

this version (or actually for me it was still 2.9.25) yields the warning, which may confuse people.

Ubuntu 24.10 is at apt 2.9.8 https://packages.ubuntu.com/oracular/apt

I changed my sources in the following way, which resolves the warning:

$ cat /etc/apt/sources.list.d/mattermost_stable.sources 
# deb https://deb.packages.mattermost.com stable main
Types:      deb
URIs:       https://deb.packages.mattermost.com
Suites:     stable
Components: main
Enabled:    yes
Signed-By:  /etc/apt/trusted.gpg.d/mattermost.gpg

This is a low priority issue (i.e. not a problem before 2029), but I still wanted to raise the point since I was confused by the warning.

related issue #3000

@devinbinnie
Copy link
Member

Sending to our release team to track. Thanks for the callout!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants