Skip to content

apt-key is deprecated #407

@killrazor

Description

@killrazor

When using https://cpkg.datto.com/getLinuxAgent.txt with Debian 11+ or Ubuntu 22.04+

Not sure that I have the correct package here but running the code listed above produces a warning like:
W: https://cpkg.datto.com/datto-deb/public/jammy/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

Can you please add in a lil check for os version and remedy the use of a deprecated function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions