Tout ce qui concerne la notion de paquet et comment installer.
Répondre

Syntaxe pacman ?

#1Messageil y a 1 an

Hello ! En lisant ce fil : viewtopic.php?p=130984#p130984 j'ai testé la commande indiquée, mais ça ne semble pas bien concluant chez moi !

$ sudo pacman-mirrors --continent
::INFO Downloading mirrors from repo.manjaro.org
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 308, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb15aa06b80>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='get.geojs.io', port=443): Max retries exceeded with url: /v1/ip/country/full (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb15aa06b80>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pacman-mirrors", line 28, in <module>
    pm.run()
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/pacman_mirrors.py", line 110, in run
    defaultFn.load_config_mirror_pool(self)
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/defaultFn.py", line 44, in load_config_mirror_pool
    self.selected_countries = pools.build_country_list(self)
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/pools.py", line 63, in build_country_list
    continent_mirror_countries = get_continent_countries(get_geo_continent(), self.mirrors.mirror_pool)
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/pools.py", line 104, in get_geo_continent
    return _get_ip_continent().replace(" ", "_")
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/pools.py", line 133, in _get_ip_continent
    country = _get_ip_country()
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/pools.py", line 125, in _get_ip_country
    return get_ip_country().strip()
  File "/usr/lib/python3.8/site-packages/pacman_mirrors/functions/httpFn.py", line 101, in get_ip_country
    return requests.get("https://get.geojs.io/v1/ip/country/full").text
  File "/usr/lib/python3.8/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='get.geojs.io', port=443): Max retries exceeded with url: /v1/ip/country/full (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb15aa06b80>: Failed to establish a new connection: [Errno 111] Connection refused'))
Ai-je fait une erreur ? Ai-je un truc à réparer ?

Syntaxe pacman ?

#2Messageil y a 1 an

Bonjour,
Je viens de tester sur un vm au bureau. la commande ne renvoi pas d'erreur :

[eric@eric ~]$ sudo pacman-mirrors --continent

[sudo] Mot de passe de eric : 

::INFO Downloading mirrors from repo.manjaro.org

::INFO User generated mirror list

::------------------------------------------------------------

::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json

::INFO Using default mirror file

::INFO Querying mirrors - This may take some time

  0.773 Austria        : http://mirror.inode.at/manjaro/

  0.601 Austria        : http://mirror.easyname.at/manjaro/

  0.861 Austria        : ftp://mirror.easyname.at/manjaro/

  0.811 Belarus        : http://mirror.datacenter.by/pub/mirrors/manjaro/

  0.491 Belgium        : https://mirror.futureweb.be/manjaro/

  0.509 Belgium        : http://mirror.futureweb.be/manjaro/

  0.718 Bulgaria       : https://mirrors.netix.net/manjaro/

  0.917 Bulgaria       : http://manjaro.telecoms.bg/

  0.618 Czech          : https://mirror.dkm.cz/manjaro/

  0.603 Denmark        : https://mirrors.dotsrc.org/manjaro/

  0.854 Denmark        : https://www.uex.dk/public/manjaro/

  0.579 France         : https://mirror.oldsql.cc/manjaro/

  0.483 France         : https://manjaro.mcofficer.me/

  0.483 France         : https://manjaro.ynh.ovh/

  0.797 France         : http://ftp.free.org/mirrors/repo.manjaro.org/repos/

  1.045 France         : ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/

  0.591 France         : http://kibo.remi.lu/

  0.543 Germany        : https://mirror.alpix.eu/manjaro/

  0.654 Germany        : https://mirror.23media.com/manjaro/

  0.474 Germany        : http://mirror.23media.com/manjaro/

  0.729 Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/

  0.902 Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/

  0.735 Germany        : http://ftp.tu-chemnitz.de/pub/linux/manjaro/

  0.786 Germany        : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/

  0.516 Germany        : https://mirror.netzspielplatz.de/manjaro/packages/

  0.464 Germany        : https://mirror.netcologne.de/manjaro/

  0.517 Germany        : https://manjaro.moson.eu/

  0.510 Germany        : http://manjaro.moson.eu/

  0.866 Germany        : https://manjaro.moson.org/

  0.526 Germany        : http://manjaro.moson.org/

  0.614 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/

  0.603 Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/

  0.658 Hungary        : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/

  0.610 Hungary        : http://nova.quantum-mirror.hu/mirrors/pub/manjaro/

  0.908 Iceland        : https://mirrors.opensource.is/manjaro/

  0.764 Iceland        : http://mirrors.opensource.is/manjaro/

  ..... Iceland        : ftp://mirrors.opensource.is/manjaro/



::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.opensource.is/manjaro/'



  0.557 Italy          : https://manjaro.mirror.garr.it/manjaro/

  0.815 Italy          : https://ba.mirror.garr.it/mirrors/manjaro/

  0.654 Italy          : https://ct.mirror.garr.it/mirrors/manjaro/

  0.754 Netherlands    : https://manjaro.mirrors.lavatech.top/

  0.515 Netherlands    : http://manjaro.mirrors.lavatech.top/

  0.778 Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/

  0.966 Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/

  0.516 Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/

  0.874 Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/

  0.541 Netherlands    : https://mirror.koddos.net/manjaro/

  0.809 Norway         : http://mirror.terrahost.no/linux/manjaro/

  1.022 Poland         : https://mirror.tuchola-dc.pl/manjaro/

  1.026 Poland         : http://ftp.vectranet.pl/manjaro/

  1.210 Poland         : ftp://ftp.vectranet.pl/manjaro/

  0.680 Russia         : https://mirror.yandex.ru/mirrors/manjaro/

  0.832 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/

  ..... Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/

  1.153 Sweden         : https://mirror.zetup.net/manjaro/

  0.381 Switzerland    : https://manjaro.osmir.ch/

  0.567 Switzerland    : http://manjaro.osmir.ch/

  0.784 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/re

  0.475 United_Kingdom : http://manjaro.mirrors.uk2.net/

  0.434 United_Kingdom : https://uk.mirrors.fossho.st/manjaro/

  0.522 United_Kingdom : http://uk.mirrors.fossho.st/manjaro/

::INFO Writing mirror list

::Germany         : https://mirror.netcologne.de/manjaro/stable

::Germany         : https://mirror.23media.com/manjaro/stable

::United_Kingdom  : http://manjaro.mirrors.uk2.net/stable

::France          : https://manjaro.mcofficer.me/stable

::France          : https://manjaro.ynh.ovh/stable

::Belgium         : https://mirror.futureweb.be/manjaro/stable

::Germany         : https://manjaro.moson.eu/stable

::Netherlands     : https://manjaro.mirrors.lavatech.top/stable

::Germany         : https://mirror.netzspielplatz.de/manjaro/packages/stable

::United_Kingdom  : https://uk.mirrors.fossho.st/manjaro/stable

::Germany         : https://manjaro.moson.org/stable

::Netherlands     : https://mirror.koddos.net/manjaro/stable

::Germany         : https://mirror.alpix.eu/manjaro/stable

::Italy           : https://manjaro.mirror.garr.it/manjaro/stable

::Switzerland     : https://manjaro.osmir.ch/stable

::France          : https://mirror.oldsql.cc/manjaro/stable

::France          : http://kibo.remi.lu/stable

::Denmark         : https://mirrors.dotsrc.org/manjaro/stable

::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable

::Hungary         : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/stable

::Czech           : https://mirror.dkm.cz/manjaro/stable

::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/stable

::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable

::Bulgaria        : https://mirrors.netix.net/manjaro/stable

::Austria         : http://mirror.inode.at/manjaro/stable

::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/sta

::Germany         : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable

::Norway          : http://mirror.terrahost.no/linux/manjaro/stable

::Belarus         : http://mirror.datacenter.by/pub/mirrors/manjaro/stable

::Italy           : https://ba.mirror.garr.it/mirrors/manjaro/stable

::Denmark         : https://www.uex.dk/public/manjaro/stable

::Austria         : http://mirror.easyname.at/manjaro/stable

::Netherlands     : http://ftp.snt.utwente.nl/pub/linux/manjaro/stable

::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/stable

::Bulgaria        : http://manjaro.telecoms.bg/stable

::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable

::Poland          : https://mirror.tuchola-dc.pl/manjaro/stable

::France          : http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable

::Sweden          : https://mirror.zetup.net/manjaro/stable

::Poland          : http://ftp.vectranet.pl/manjaro/stable

::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/stable

::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist

Bonne semaine à tous :salut:

Syntaxe pacman ?

#3Messageil y a 1 an

Merci !
Pigé, du coup : c'est NextDNS qui bloquait get.geojs.io !
Répondre