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

Add a new option to ignore downgrading package with the suffix -git when using -Suu #941

Closed
Zesko opened this issue Feb 12, 2023 · 4 comments

Comments

@Zesko
Copy link

Zesko commented Feb 12, 2023

Have you checked the readme and man page for this feature?
Yes

Have you checked previous issues for this feature?
Yes

  1. Install sddm-git from AUR. paru -S sddm-git
  2. Run paru -Syuu, the output:
...
1 aur/sddm-git  0.19.0.199.g0a54d3a-1 -> 0.19.0.170.g3e48649-1
:: Packages to exclude (eg: 1 2 3, 1-3):

I installed sddm-git with the last version from git repo, but it does not match the version from PKGBUILD which isn't updated.
My suggestion: /etc/paru.conf would add a new option IgnoreDowngradeWithSuffixes to ignore downgrading package with the suffix *-git.

paru version:

paru v1.11.2 - libalpm v13.0.2

paru conf: /etc/paru.conf

#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
CombinedUpgrade
#CleanAfter
UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas
@Zesko Zesko changed the title Add a new option to ignore downgrade package with the suffix '*-git' Add a new option to ignore downgrading package with the suffix '*-git' Feb 12, 2023
@Zesko Zesko changed the title Add a new option to ignore downgrading package with the suffix '*-git' Add a new option to ignore downgrading package with the suffix -git when using -Suu Feb 13, 2023
@Morganamilo
Copy link
Owner

Why even use -uu in the first place?

@Zesko
Copy link
Author

Zesko commented Apr 19, 2023

It would be useful in some situations such as downgrading to a previous version of a package to fix compatibility issues and bugs when the package was rolled back in a repo.

@Zesko
Copy link
Author

Zesko commented Apr 19, 2023

I am not sure yet, if Arch dropped support for "-uu", but I do not understand why it still works. "-uu" works differently than "-u".

@romanstingler
Copy link

@Zesko please check my answer
#1232 (comment)

@Zesko Zesko closed this as completed Dec 12, 2024
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

3 participants