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

Zypper Repo Not Set to Autorefresh (?) #81

Open
FOSSProponent9436 opened this issue Nov 17, 2023 · 1 comment
Open

Zypper Repo Not Set to Autorefresh (?) #81

FOSSProponent9436 opened this issue Nov 17, 2023 · 1 comment

Comments

@FOSSProponent9436
Copy link

FOSSProponent9436 commented Nov 17, 2023

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.

@FOSSProponent9436 FOSSProponent9436 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
@FOSSProponent9436
Copy link
Author

FOSSProponent9436 commented Nov 17, 2023

Thought I ran the wrong command or something after seeing this was what my file looked like:

[gitlab.com_paulcarroty_vscodium_repo]
name=gitlab.com_paulcarroty_vscodium_repo
enabled=1
autorefresh=1
baseurl=https://download.vscodium.com/rpms/
type=rpm-md
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
keeppackages=0

but I realised that is probably yast more of the file than i expected after setting autorefresh. Still, after redoing the command yast shows that the repo is not set to autorefresh. The current config file does have metadata_expire=1h but I'm not sure if that means it autorefreshes. At least in my experience, it didn't autorefresh for me

Current config file after doing the command as shown on the website:

[gitlab.com_paulcarroty_vscodium_repo]
name=gitlab.com_paulcarroty_vscodium_repo
baseurl=https://download.vscodium.com/rpms/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
metadata_expire=1h

@FOSSProponent9436 FOSSProponent9436 changed the title Zypper Repo Not Set to Autorefresh Zypper Repo Not Set to Autorefresh (?) Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant