Skip to content

Zypper Repo Not Set to Autorefresh (?) #81

Open
@FOSSProponent9436

Description

@FOSSProponent9436

The command provided by the site to create the opensuse repo:

printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/zypp/repos.d/vscodium.repo

doesn't enable autorefresh. I noticed this when looking at yast and realised that since autorefresh=1 isn't explicitly set in the config, it seems to actually not autorefresh. This means zypper dup wasn't refreshing the repo, so I wasn't getting updated versions. If the command could be updated to include autorefresh it would be great.

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