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

pikaur incorrectly append unknown options to pacman #822

Closed
TommyJerryMairo opened this issue Jul 16, 2024 · 1 comment
Closed

pikaur incorrectly append unknown options to pacman #822

TommyJerryMairo opened this issue Jul 16, 2024 · 1 comment
Labels

Comments

@TommyJerryMairo
Copy link

$ pikaur -Vq

:: warning:
Read damn arch-wiki before borking your computer:
https://wiki.archlinux.org/title/Arch_User_Repository
(Also, don't report any issues to pikaur, if ure seeing this message)

Pikaur v1.23
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6
Description:

I'm doing a system-wide upgrade on a machine with aur/gdb-multiarch installed. The gdb-multiarch package lists gdb-common with a strict version number as a dependency. Therefore, a trivial pikaur -Syu will result in an unresolvable dependency error as gdb-common will get upgraded to a new version in the same transaction. Hence, I'm using the --assume-installed option from pacman to get over it. Surprisingly, pikaur seems to append an --assume_installed option to the pacman command, which leads to an unrecognized option error. I'm unsure whether it was a valid option historically, but patching it out is recommended.

Attached log:
$ pikaur -Syu --assume-installed=gdb-common=14.2

pacman: unrecognized option '--assume_installed'
Command 'pacman --color=always --assume-installed gdb-common=14.2 --sync --assume_installed --sysupgrade --ignore electron22 --ignore spotify --ignore ceph-libs' failed to execute.
Do you want to retry? [Y/n] n
Do you want to proceed? [y/N] n

Copy link

Spambot

Spambot detected that this issue is spam.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant