Custom mirror list seems to be not respected #78

Closed
opened 2017-03-20 21:24:07 +00:00 by oberon · 7 comments
oberon commented 2017-03-20 21:24:07 +00:00 (Migrated from gitlab2.manjaro.org)

Something doesn't seem to work as designed with latest changes regarding custom mirror selection.
When I run
pacman-mirrors -gic Germany
and select just netzspielplatz as my custom mirror, resulting /etc/pacman.d/mirrorlist contains

## Manjaro Linux Custom mirrorlist
## Generated on 20 March 2017 22:16
##
## Use 'pacman-mirrors -c all' to reset
##

## Country       : Germany
Server = ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = http://mirror.ragenetwork.de/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = ftp://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch

## Country       : Germany
Server = http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch

## Country       : Germany
Server = ftp://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = http://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = https://mirror.netcologne.de/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = http://repo.stdout.net/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = https://repo.stdout.net/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = https://mirror.netzspielplatz.de/manjaro/packages/unstable/$repo/$arch

## Country       : Germany
Server = https://repo.rhindon.net/manjaro/unstable/$repo/$arch

## Country       : Germany
Server = http://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch

## Country       : Germany
Server = https://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch

and I get a /var/lib/pacman-mirrors/custom-mirrors.json like this:

[
    {
        "country": "Germany",
        "protocols": [
            "https"
        ],
        "url": "https://mirror.netzspielplatz.de/manjaro/packages/"
    }

However when I run pacman -Syu now, I can tell by the sync time that netzspielplatz is certainly not being used as the primary or only mirror.
As soon as I edit /etc/pacman.d/mirrorlist manually and remove all unwanted mirrors, I see the desired result and apparently only now my custom mirror is being used as the only one.

Something doesn't seem to work as designed with latest changes regarding custom mirror selection. When I run ``pacman-mirrors -gic Germany`` and select just netzspielplatz as my custom mirror, resulting **/etc/pacman.d/mirrorlist** contains ``` ## Manjaro Linux Custom mirrorlist ## Generated on 20 March 2017 22:16 ## ## Use 'pacman-mirrors -c all' to reset ## ## Country : Germany Server = ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch ## Country : Germany Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch ## Country : Germany Server = http://mirror.ragenetwork.de/manjaro/unstable/$repo/$arch ## Country : Germany Server = ftp://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch ## Country : Germany Server = http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch ## Country : Germany Server = ftp://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch ## Country : Germany Server = http://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch ## Country : Germany Server = https://mirror.netcologne.de/manjaro/unstable/$repo/$arch ## Country : Germany Server = http://repo.stdout.net/manjaro/unstable/$repo/$arch ## Country : Germany Server = https://repo.stdout.net/manjaro/unstable/$repo/$arch ## Country : Germany Server = https://mirror.netzspielplatz.de/manjaro/packages/unstable/$repo/$arch ## Country : Germany Server = https://repo.rhindon.net/manjaro/unstable/$repo/$arch ## Country : Germany Server = http://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch ## Country : Germany Server = https://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch ``` and I get a **/var/lib/pacman-mirrors/custom-mirrors.json** like this: ``` [ { "country": "Germany", "protocols": [ "https" ], "url": "https://mirror.netzspielplatz.de/manjaro/packages/" } ``` However when I run ``pacman -Syu`` now, I can tell by the sync time that netzspielplatz is certainly not being used as the primary or only mirror. As soon as I edit **/etc/pacman.d/mirrorlist** manually and remove all unwanted mirrors, I see the desired result and apparently only now my custom mirror is being used as the only one.
philm commented 2017-03-20 21:29:17 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Is this issue still present in pacman-mirrors-dev-4.0.1-2?

*Created by: philmmanjaro* Is this issue still present in **pacman-mirrors-dev-4.0.1-2**?
philm commented 2017-03-21 07:30:13 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: fhdk

@philmmanjaro
It is not - it has been fixed
https://github.com/manjaro/pacman-mirrors/issues/73

*Created by: fhdk* @philmmanjaro It is not - it has been fixed https://github.com/manjaro/pacman-mirrors/issues/73
oberon commented 2017-03-21 08:11:28 +00:00 (Migrated from gitlab2.manjaro.org)

Ok, I don't know. I was referring to the latest non-dev package updates yesterday in unstable branch...

Ok, I don't know. I was referring to the latest non-dev package updates yesterday in unstable branch...
philm commented 2017-03-21 08:55:47 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: fhdk

I know and it is a confirmed bug in the release - the wrong list is fed to function which creates the mirrorlist.

*Created by: fhdk* I know and it is a confirmed bug in the release - the wrong list is fed to function which creates the mirrorlist.
philm commented 2017-03-21 09:00:22 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

So is v4.0.1 ready to be released or do we have more issues to be fixed now?

*Created by: philmmanjaro* So is **v4.0.1** ready to be released or do we have more issues to be fixed now?
philm commented 2017-03-21 09:24:40 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Huluti

It's ready.

*Created by: Huluti* It's ready.
philm commented 2017-03-21 09:56:53 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: fhdk

could you have a look at https://github.com/manjaro/pacman-mirrors/issues/79

*Created by: fhdk* could you have a look at https://github.com/manjaro/pacman-mirrors/issues/79
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/pacman-mirrors#78
No description provided.