mirror of
https://github.com/VSCodium/vscodium.github.io.git
synced 2026-02-04 20:31:24 -06:00
Zypper Repo Not Set to Autorefresh (?) #12
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FOSSProponent9436 on GitHub.
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.repodoesn'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 commented on GitHub:
Thought I ran the wrong command or something after seeing this was what my file looked like:
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: