-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
AUR update rights problem #865
Comments
try with pikaur-git instead of pikaur, i was fixing there a similar issue couple of days ago: #863 |
it would be better if you'll upload the full log as suggested in the issue template |
hint, to generate log in english:
|
🛴 debug: main_1000: Setting stdout to utf-8...
🛴 debug: main_1000: already set - nothing to do
🛴 debug: main_1000: Setting stderr to utf-8...
🛴 debug: main_1000: already set - nothing to do
🛴 debug: main_1000: Pikaur operation found for args ['/usr/bin/pikaur', '-S', '--pikaur-debug', 'pikaur-git']: cli_install_packages
=> sudo --preserve-env=VISUAL,EDITOR -- /usr/bin/pikaur -S --pikaur-debug pikaur-git --pikaur-config=/home/**/.config/pikaur.conf --user-id=1000 --home-dir=/home/** --xdg-cache-home=/home/**/.cache --xdg-data-home=/home/**/.local/share
[sudo] password for **:
🛴 debug: main_0: Setting stdout to utf-8...
🛴 debug: main_0: already set - nothing to do
🛴 debug: main_0: Setting stderr to utf-8...
🛴 debug: main_0: already set - nothing to do
🛴 debug: main_0: Pikaur operation found for args ['/usr/bin/pikaur', '-S', '--pikaur-debug', 'pikaur-git', '--pikaur-config=/home/**/.config/pikaur.conf', '--user-id=1000', '--home-dir=/home/**', '--xdg-cache-home=/home/**/.cache', '--xdg-data-home=/home/**/.local/share']: cli_install_packages
🛴 debug: install_info_fetcher:
Gonna fetch install info for:
install_package_names=['pikaur-git']
not_found_repo_pkgs_names=[]
pkgbuilds_packagelists={}
manually_excluded_packages_names=[]
skip_checkdeps_for_pkgnames=[]
🛴 debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
🛴 debug: install_info_fetcher: Checking if '['pikaur-git']' is installable:
=> pacman --color=always --sync pikaur-git --print-format %r/%n
🛴 debug: install_info_fetcher: Check failed - gonna check it separately:
🛴 debug: install_info_fetcher: Checking if 'pikaur-git' exists in the repo:
=> pacman --color=always --sync pikaur-git --print-format %r/%n --nodeps --nodeps
🛴 debug: install_info_fetcher: 'pikaur-git' is NOT found in the repo.
🛴 debug: install_info_fetcher: Check partially passed - gonna get install infos:
🛴 debug: install_info_fetcher: gonna get AUR pkgs install info for:
aur_packages_versionmatchers=['pikaur-git']
self.aur_updates_install_info=[]
aur_packages_names_to_versions={'pikaur-git': <VersionMatcher pikaur-git['cmp_default']None>}
🛴 debug: aur_module: find_aur_packages: pikaur-git uncached
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=pikaur-git
🛴 debug: install_info_fetcher: found AUR pkgs:
aur_pkg_list=[<AURPackageInfo "pikaur-git" 1.32.r3.g2ce728e5-2>]
not found AUR pkgs:
not_found_aur_pkgs=[]
🛴 debug: install_info_fetcher: got AUR pkgs install info: [<AURInstallInfo "pikaur-git" -> 1.32.r3.g2ce728e5-2>]
Resolving AUR dependencies...
🛴 debug: aur_deps: find_aur_deps: package_names=['pikaur-git']
=> pacman --color=always --deptest pyalpm git python-wheel python-hatchling python-build python-installer python-setuptools python-markdown-it-py
🛴 debug: pacman: get_not_found_repo_packages: pkg_names_to_check=['python-hatchling', 'python-wheel', 'python-installer', 'python-build', 'python-setuptools'] not_found_pkg_names=[]
=> pacman --color=always --sync python-hatchling python-wheel python-installer python-build python-setuptools --print-format %r/%n --nodeps
🛴 debug: aur_deps: find_missing_deps_for_aur_pkg: NOT not_found_repo_pkgs
🛴 debug: aur_deps: find_aur_deps: result_aur_deps={}
🛴 debug: install_info_fetcher: get_aur_deps_info: self.aur_deps_relations={}
🛴 debug: install_info_fetcher: get_aur_deps_info: aur_pkgs={}
🛴 debug: install_info_fetcher: get_aur_deps_info: [done]
=> pacman --color=always --sync python-wheel --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync python-hatchling --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync python-build --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync python-installer --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync python-setuptools --print-format %r/%n --nodeps --nodeps
🛴 debug: install_info_fetcher: Checking if '['python-wheel', 'python-setuptools', 'python-installer', 'python-build', 'python-hatchling']' is installable:
=> pacman --color=always --sync --needed python-wheel python-setuptools python-installer python-build python-hatchling --print-format %r/%n
🛴 debug: install_info_fetcher: Check passed - gonna get install infos:
🛴 debug: install_info_fetcher: get_repo_deps_info: [done]
🛴 debug: install_info_fetcher: :: marking dependant pkgs...
🛴 debug: install_info_fetcher: :: mark_dependant :: get_repo_provided...
🛴 debug: install_info_fetcher: :: mark_dependant :: get local pkgs...
🛴 debug: install_info_fetcher: :: mark_dependant :: all_requested_pkg_names=['python', 'python-packaging', 'python', 'python', 'python-more-itertools', 'python', 'python', 'python', 'python-jaraco.functools', 'python-jaraco.context', 'python-autocommand', 'python-more-itertools', 'python', 'python-jaraco.text', 'python', 'python-jaraco.collections', 'python-jaraco.functools', 'python-jaraco.text', 'python-more-itertools', 'python-packaging', 'python-platformdirs', 'python-wheel', 'python', 'python', 'python', 'python-packaging', 'python-pyproject-hooks', 'python', 'python', 'python', 'python', 'python', 'python-editables', 'python-packaging', 'python-pathspec', 'python-pluggy', 'python-trove-classifiers', 'pyalpm', 'git', 'python-wheel', 'python-hatchling', 'python-build', 'python-installer', 'python-setuptools', 'python-markdown-it-py']
🛴 debug: install_info_fetcher: :: mark_dependant :: explicit_aur_pkg_names=['pikaur-git']
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-wheel
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-more-itertools
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-jaraco.functools
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-jaraco.context
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-autocommand
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-jaraco.text
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-jaraco.collections
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-setuptools
🛴 debug: install_info_fetcher: :: mark_dependant :: provides=['python-distribute']
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-installer
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-pyproject-hooks
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-build
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-editables
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-pathspec
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-pluggy
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-trove-classifiers
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - python-hatchling
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: :: mark_dependant :: - pikaur-git
🛴 debug: install_info_fetcher: :: mark_dependant :: providing_for=[]
🛴 debug: install_info_fetcher: == marked dependant pkgs.
🛴 debug: install_cli: self.install_info.all_install_info_containers=([], [<RepoInstallInfo "python-wheel" -> 0.45.0-3>, <RepoInstallInfo "python-more-itertools" -> 10.5.0-1>, <RepoInstallInfo "python-jaraco.functools" -> 4.1.0-1>, <RepoInstallInfo "python-jaraco.context" -> 6.0.1-1>, <RepoInstallInfo "python-autocommand" -> 2.2.2-7>, <RepoInstallInfo "python-jaraco.text" -> 4.0.0-2>, <RepoInstallInfo "python-jaraco.collections" -> 5.1.0-1>, <RepoInstallInfo "python-setuptools" -> 1:75.2.0-4>, <RepoInstallInfo "python-installer" -> 0.7.0-10>, <RepoInstallInfo "python-pyproject-hooks" -> 1.2.0-3>, <RepoInstallInfo "python-build" -> 1.2.2-3>, <RepoInstallInfo "python-editables" -> 0.5-5>, <RepoInstallInfo "python-pathspec" -> 0.12.1-3>, <RepoInstallInfo "python-pluggy" -> 1.5.0-3>, <RepoInstallInfo "python-trove-classifiers" -> 2025.1.6.15-1>, <RepoInstallInfo "python-hatchling" -> 1.27.0-1>], [], [], [], [], [<AURInstallInfo "pikaur-git" -> 1.32.r3.g2ce728e5-2>], [])
🛴 New dependencies will be installed from repository:
extra/python-autocommand (for python-jaraco.text) -> 2.2.2-7
extra/python-build (for pikaur-git) -> 1.2.2-3
extra/python-editables (for python-hatchling) -> 0.5-5
extra/python-hatchling (for pikaur-git) -> 1.27.0-1
extra/python-installer (for pikaur-git) -> 0.7.0-10
extra/python-jaraco.collections (for python-setuptools) -> 5.1.0-1
extra/python-jaraco.context (for python-jaraco.text) -> 6.0.1-1
extra/python-jaraco.functools (for python-setuptools, python-jaraco.text) -> 4.1.0-1
extra/python-jaraco.text (for python-setuptools, python-jaraco.collections) -> 4.0.0-2
extra/python-more-itertools (for python-setuptools, python-jaraco.text, python-jaraco.functools) -> 10.5.0-1
extra/python-pathspec (for python-hatchling) -> 0.12.1-3
extra/python-pluggy (for python-hatchling) -> 1.5.0-3
extra/python-pyproject-hooks (for python-build) -> 1.2.0-3
extra/python-setuptools (for pikaur-git) -> 1:75.2.0-4
extra/python-trove-classifiers (for python-hatchling) -> 2025.1.6.15-1
extra/python-wheel (for python-setuptools, pikaur-git) -> 0.45.0-3
🛴 AUR package will be installed:
pikaur-git -> 1.32.r3.g2ce728e5-2
🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /tmp/pikaur_prompt_782920.lock...
🛴 debug: FileLock: Acquired /tmp/pikaur_prompt_782920.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
🛴 Proceed with installation? [Y/n]
🛴 [v]iew package details [m]anually select packages
🛴 [r] show if packages are required by already installed packages
>>
🛴 debug: FileLock: Releasing /tmp/pikaur_prompt_782920.lock
🛴 debug: FileLock: Released /tmp/pikaur_prompt_782920.lock
🛴 debug: prompt: No answer provided - using "Y".
🛴 debug: install_cli: << GET_PACKAGE_BUILD
🛴 debug: install_cli: self.pkgbuilds_packagelists={}
🛴 debug: aur_module: find_aur_packages: pikaur-git cached
🛴 debug: aur_module: find_aur_packages: pikaur-git cached
🛴 debug: build: Build dir: /home/**/.cache/pikaur/build/pikaur-git
=> sudo --user=#1000 --preserve-env=VISUAL,EDITOR -- mkdir -p /home/**/.local/share/pikaur/aur_repos/pikaur-git
=> sudo --user=#1000 --preserve-env=VISUAL,EDITOR -- git clone https://aur.archlinux.org/pikaur-git.git /home/**/.local/share/pikaur/aur_repos/pikaur-git
Can't clone 'pikaur-git' in '/home/**/.local/share/pikaur/aur_repos/pikaur-git' from AUR:
fatal: could not create leading directories of '/home/**/.local/share/pikaur/aur_repos/pikaur-git': Permission denied
🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /tmp/pikaur_prompt_944080.lock...
🛴 debug: FileLock: Acquired /tmp/pikaur_prompt_944080.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
🛴 Try recovering?
[T] try again
[d] git diff
[c] git checkout -- '*'
[r] remove dir and clone again
[p] git stash && ... && git stash pop
[s] skip this package
[a] abort
> a
🛴 debug: FileLock: Releasing /tmp/pikaur_prompt_944080.lock
🛴 debug: FileLock: Released /tmp/pikaur_prompt_944080.lock
🛴 debug: prompt: Got answer: 'a'
🛴 debug: main_0: Restoring stdout...
🛴 debug: main_0: nothing to do
🛴 debug: main_0: Restoring stderr...
🛴 debug: main_0: nothing to do
🛴 debug: main_1000: Restoring stdout...
🛴 debug: main_1000: nothing to do
🛴 debug: main_1000: Restoring stderr...
🛴 debug: main_1000: nothing to do
Installing |
and what happens when you run those commands manually? |
sudo --user=#1000 --preserve-env=VISUAL,EDITOR...
sudo --user=1000 --preserve-env=VISUAL,EDITOR...
id
uid=1000(**) gid=1000(**) groupes=1000(**),998(wheel) |
try quoting the |
The first command was executed successfully. sudo --user="#1000" --preserve-env=VISUAL,EDITOR -- git clone https://aur.archlinux.org/pikaur-git.git...
|
so, if you having the same problem without pikaur - that's good news (for me 😺) and what happens when you run:
(ie all the same arguments, but without sudo in the beginning) |
Ok, thanks to your command I was able to find the error. Thanks, I'm closed. |
Hi,
Since I deactivated DynamicUsers, I can no longer perform updates from the AUR.
I had set umask=077 in zshrc. I've restored the original permissions, but I'm getting an error message about the permissions of the
.local/share/pikaur
file. The GroupId and UserId are the same.I had tried to add the UserId
pikaur
without creating the associatedhome
, but I couldn't use it.Version:
pikaur 1.32
The text was updated successfully, but these errors were encountered: