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 just hangs when synchronizing packages #744

Closed
jibarofoss opened this issue Aug 16, 2023 · 9 comments
Closed

Pikaur just hangs when synchronizing packages #744

jibarofoss opened this issue Aug 16, 2023 · 9 comments

Comments

@jibarofoss
Copy link

jibarofoss commented Aug 16, 2023

pikaur -Vq
Pikaur v1.18.2.r8.gb975562
Pacman v6.0.2 - libalpm v13.0.2 - pyalpm v0.10.6
[Optional] Prerequisites:
Description:

Pikaur just hangs during the synchronizing packages stage. Not a network or mirror issue, since pacman works just fine.

Attached log:
pikaur -S my-precious-package --verbose --pikaur-debug
pikaur -Syu --verbose --pikaur-debug
:: 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', '-Syu', '--verbose', '--pikaur-debug']: cli_install_packages
=> sudo --preserve-env=EDITOR -- /usr/bin/pikaur -Syu --verbose --pikaur-debug --pikaur-config=/home/jibarofoss/.config/pikaur.conf --user-id=1000 --home-dir=/home/jibarofoss
:: 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', '-Syu', '--verbose', '--pikaur-debug', '--pikaur-config=/home/jibarofoss/.config/pikaur.conf', '--user-id=1000', '--home-dir=/home/jibarofoss']: cli_install_packages
:: debug: news: init
:: debug: news: fetch_latest
=> pacman --color=always --sync --refresh
=> GET https://www.archlinux.org/feeds/news/
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
@jibarofoss
Copy link
Author

So it eventually completed. So I decided to execute a simple time pikaur -Syu, which resulted in

real    6m34.497s
user    0m0.080s
sys     0m0.031s

My CPU was basically idle during this time.

@actionless
Copy link
Owner

on which exact line it's waiting for 6 minutes?

is reproducible every time or happens occasionally?

@jibarofoss
Copy link
Author

It hangs on multilib is up to date. It happens every time I run pikaur since yesterday. I've rebooted twice to rule out transient shenanigans.

@actionless
Copy link
Owner

upload the full log then and insert >_____________ at the moment it freezes

@jibarofoss
Copy link
Author

upload the full log then and insert >_____________ at the moment it freezes

Where is the log stored?

@actionless
Copy link
Owner

in terminal when you run pikaur with --pikaur-debug flag

@jibarofoss
Copy link
Author

pikaur-debug.txt

@jibarofoss
Copy link
Author

Got an email from my ISP today that they were having some network issues that affected some services. Issues with pikaur are gone today so I guess it was being affected by it. Sorry for bothering you.

@actionless
Copy link
Owner

actionless commented Aug 19, 2023

that makes sense, since the hang was happening while waiting for network request reply from Arch News (it happens in the same time with repositories refresh in different threads, aparently you're using local mirror with which your provider didn't had connectivity problem - so repo refresh thread was waiting for arch news thread to finish)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants