-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make an exception/rules which app needed for update #761
Comments
Hi @dtantono , thanks for letting us know. I suspect a broken upstream release is not the root of the problem. The definition for sunshine needs tightening up. If you put the following into DEFVER=1
ARCHS_SUPPORTED="amd64 arm64"
CODENAMES_SUPPORTED="bullseye focal jammy"
SUNSHINE_RELEASE="${UPSTREAM_RELEASE}"
if [ "${UPSTREAM_ID}" == debian ]; then
SUNSHINE_RELEASE=$UPSTREAM_CODENAME
fi
get_github_releases "LizardByte/Sunshine" # "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep "browser_download_url.*-${UPSTREAM_ID}-${UPSTREAM_RELEASE}-${HOST_ARCH}\.deb\"" "${CACHE_FILE}" |grep -v -e 'nightly-dev' |head -1 |cut -d'"' -f4)
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | sed 's|^v||')"
fi
PRETTY_NAME="Sunshine"
WEBSITE="https://docs.lizardbyte.dev/projects/sunshine/"
SUMMARY="Sunshine is a Gamestream host for Moonlight." You may have been getting the arm or debian .deb .... If you really need to skip a version you could then edit the above and add the version you don't want to the list of Hope that helps. Please let me know if it works for you as I'll be putting the above in a PR shortly. |
@dtantono it would be useful to see a |
noted for that. that exception workaround is just skipping certain version and then if newer version comes up, then it will download newer version right? Just for future reference, Is it possible to exclude an app from the future updates on deb-get update list? |
The raison d'etre of It is not possible to exclude an app that way (you could add a feature request for that by all means but ..). I cannot think of a simple way of achieving that off the top of my head, except to say for apps using apt repos or PPAs the standard pinning mechanisms of apt should still work. A local "exclude these apps from update" list would be a possible but non-trivial enhancement. |
Apt pinning : https://help.ubuntu.com/community/PinningHowto |
thank you it works |
Reporting a bug 🐛
Please make sure the version of
deb-get
you are using is up to date:Expected behavior
I have one app called Sunshine that is broke on recent update. So, I need to downgrade it and it will be better if I can make parameters which app needed to be updated to recent version
Actual behavior
recent release on Sunshine broke the application
Steps to reproduce
sudo deb-get upgrade and when upgrade all apps to the recent release. specific app does not worked
System information
Run the following a paste the output below:
/etc/os-release
/etc/lsb-release
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
deb-get version
deb-get update
The text was updated successfully, but these errors were encountered: