Pacman-mirrors Interactive mode brocken #123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: scachemaille
I just tried
sudo pacman-mirros -iand it seems broken.
I have the following error:
pacman-mirrors 4.7.5-1
Created by: Skycoder42
Can confirm this with 4.7.6-2 as well. It's excatly the same error.
Created by: petsam
Same error
Version 4.7.6
Created by: fhdk
This lead me to think that some data is missing in the
status.jsonfile.Under which conditions does the error occur?
When the error occurs what is the content of
custom-mirrors.json(if any) andstatus.jsonfrom/var/lib/pacman-mirrors?I cant reproduce it.
Created by: Skycoder42
Here are my files, right after running
sudo pacmam-mirrors -i. I also addedpacman-mirrors.conf.Created by: fhdk
Your
pacman-mirrors.confcontains invalid settings. The current valid configuration is hereThe other files is OK.
Using the command mentioned in OP
I cannot reproduce the issue. Not even with a full mirror pool. (
pacman-mirrors -c all)Created by: petsam
My
pacman-mirrors.confCreated by: fhdk
@Skycoder42
Could you copy
status.jsonandcustom-mirrors.jsonbefore you it?Created by: fhdk
@Skycoder42
Are you running on Wayland?
Is it on TTY?
Created by: xircon
Same error. Plasma xorg.
first.zip
second.zip
First - before interactive
Second - After.
Created by: xircon
Just updated to pacman-mirrors-4.8.1-3 - still crashing in interactive mode.
Created by: fhdk
@xircon
Could you post the error message from 4.8.1-3?
Created by: commonsourcecs
v. 4.7.6-2
Failing for me with this return:
pacman-mirrors.tar.gz
I had run '-i' before creating the first archive already, but here is one after command fail again:
pacman-mirrors2.tar.gz
Created by: fhdk
@xircon
@commonsourcecs
That is most weird - that code does not existin 4.8.1
github.com/manjaro/pacman-mirrors@0ab1f1c438/pacman_mirrors/dialogs/graphicalui.py (L49-L58)Created by: commonsourcecs
Found source for me.
'-i' fails when there is any discrepancy in the list. In my region/list, there is one mirror currently Timed Out.
To test, I switched to Netherlands (all mirrors active and synced to Testing). Then ran '-i' on its own again.
That worked.
Created by: xircon
Had to nip out - 4.8.1-5 same problems - do you want the zip?
Created by: xircon
Yes, mirror times out:
Could be the problem?
Created by: bogdancovaciu
Hello,
Finally i'm here too, even if i feel that is way too overwhelming. Here are the files you requested on manjaro forum:
pacman_mirrors_1.zip
pacman_mirrors_2.zip
Are in the order you requested and hopefully helpful!
Created by: commonsourcecs
4.8.1-1 also
Confirmed that '-i' fails with list containing 'Timed Out' mirrors but succeeds on list without.
This can also be mitigated for lists with bad mirror, as long as another option is passed such as using -ic. It would appear -i needs help sorting or making sense of oddities in the list.
(while simple '-a' seems deprecated now, '--api' or '-B' no longer works in 4.8.1-1 though)
Created by: fhdk
Yes - the api is my bad - I added some checks for any api related argument eg -B without the actual
--apipresent - and it failed me. This has been corrected.Created by: Skycoder42
With version
Version 4.8.1dev(4.8.1-6) the error message has changed a little:EDIT: I too have the mirror that times out. After removing the mirror from the
custom-mirrors.json(or removing the file) it worked again (The speedtest before still tests the broken mirror, but as it is not the custom-mirrors.json it works fine). Note: The entry hat-1for all 3 branches, so it was easy to find.@fhdk Im using kwin with X11, not wayland. And yes, it's a normal graphical console, aka a tty. But as it seems the reson is are the broken custom mirrors.
Created by: fhdk
The issue has been solved with the release of 4.8.2
Created by: commonsourcecs
4.8.2-2