Skip to content

Modernize debian sources and add gpg v4 signature support to OBS #1632

@Hasanhasan323

Description

@Hasanhasan323

1- Modernize debian sources syntax

source syntax is not in DEB822 type

When you go into a download debian package page in OBS
In Add repository and install manually

For example:

echo 'deb http://download.opensuse.org/repositories/home:/celenity/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:celenity.list
curl -fsSL https://download.opensuse.org/repositories/home:celenity/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_celenity.gpg > /dev/null
sudo apt update
sudo apt install phoenix-esr

But it should be:

cat <<EOF | sudo tee /etc/apt/sources.list.d/home:celenity.sources
Types: deb
URIs: https://download.opensuse.org/repositories/home:/celenity/Debian_12/
Suites: /
Components: 
Signed-By: /etc/apt/trusted.gpg.d/home_celenity.gpg
EOF

curl -fsSL https://download.opensuse.org/repositories/home:celenity/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_celenity.gpg > /dev/null

sudo apt update

sudo apt install phoenix-esr

Notice changing the name of the source file from home:celenity.list to home:celenity.sources

2- Add gpg v4 signature support to OBS

kubernetes/release#3869

openSUSE/open-build-service#4174

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions