Erro ao tentar atualizar  [Resolvido]

Assuntos relacionados com o processo de instalação e atualização em desktops ou portáteis (notebook, netbook, etc.).
Regras do fórum Leia as Regras Gerais do Manjaro Brasil em "Normatividade" e pesquise antes de postar.
Se sua dúvida foi respondida, não esqueça de marcar RESOLVIDO em seus tópicos, botão com a marca verde Imagem

Erro ao tentar atualizar

Mensagempor Bruno Vinicius » 20 Mar 2017, 12:26  •  MS 11

Abre o terminal, apaga todo o conteudo e cola este,segue os passos;

Código: Selecionar todos
 sudo nano /etc/pacman.d/mirror

## Location  : Brasil
## Time      : 2.495
## Last Sync : 1:47
Server = http://manjaro.fis.unb.br/stable/$repo/$arch

## Location  : France
## Time      : 0.664
## Last Sync : 0:37
Server = http://mirror.finn.lu/manjaro/stable/$repo/$arch

## Location  : Germany
## Time      : 0.744
## Last Sync : 0:17
Server = http://mirror3.layerjet.com/manjaro/stable/$repo/$arch

## Location  : Australia
## Time      : 1.030
## Last Sync : 0:37
Server = http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch

## Location  : United_States
## Time      : 1.058
## Last Sync : 0:07
Server = http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch

## Location  : United_Kingdom
## Time      : 1.157
## Last Sync : 0:47
Server = http://repo.manjaro.org.uk/stable/$repo/$arch

## Location  : Germany
## Time      : 1.296
## Last Sync : 0:07
Server = http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

## Location  : Netherlands
## Time      : 1.357
## Last Sync : 2:47
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch

## Location  : Italy
## Time      : 1.453
## Last Sync : 2:07
Server = http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch


Gravas e passas o comando abaixo;

Código: Selecionar todos
sudo pacman-mirrors -g -c all
[/quote]



Fiz isso e continua dizendo que não existe, mas o arquivoesta lá:

Imagem


== Editado em 20 Mar 2017, 12:33 ==

Abre o terminal, apaga todo o conteudo e cola este,segue os passos;

Código: Selecionar todos
 sudo nano /etc/pacman.d/mirror

## Location  : Brasil
## Time      : 2.495
## Last Sync : 1:47
Server = http://manjaro.fis.unb.br/stable/$repo/$arch

## Location  : France
## Time      : 0.664
## Last Sync : 0:37
Server = http://mirror.finn.lu/manjaro/stable/$repo/$arch

## Location  : Germany
## Time      : 0.744
## Last Sync : 0:17
Server = http://mirror3.layerjet.com/manjaro/stable/$repo/$arch

## Location  : Australia
## Time      : 1.030
## Last Sync : 0:37
Server = http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch

## Location  : United_States
## Time      : 1.058
## Last Sync : 0:07
Server = http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch

## Location  : United_Kingdom
## Time      : 1.157
## Last Sync : 0:47
Server = http://repo.manjaro.org.uk/stable/$repo/$arch

## Location  : Germany
## Time      : 1.296
## Last Sync : 0:07
Server = http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

## Location  : Netherlands
## Time      : 1.357
## Last Sync : 2:47
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch

## Location  : Italy
## Time      : 1.453
## Last Sync : 2:07
Server = http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch


Gravas e passas o comando abaixo;

Código: Selecionar todos
sudo pacman-mirrors -g -c all
[/quote]


Continua com o mesmo erro:

[bvinicius@bruno-pc ~]$ sudo pacman-mirrors -g -c all
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 52, in <module>
pm.run()
File "/usr/lib/python3.6/site-packages/pacman_mirrors/pacman_mirrors.py", line 720, in run
self.command_line_parse()
File "/usr/lib/python3.6/site-packages/pacman_mirrors/pacman_mirrors.py", line 173, in command_line_parse
os.listdir(self.config["mirror_dir"]))
FileNotFoundError: [Errno 2] No such file or directory: '/etc/pacman.d/mirrors'
Editado pela última vez por Bruno Vinicius em 20 Mar 2017, 12:33, em um total de 1 vez.
Razão: continua com o erro
Avatar do usuário
Bruno Vinicius
Aprendiz

 
Mensagens: 17
Registro: 16 Mar 2017, 11:34
Agradeceu: 1 vez
Agradecido: 0 vez
Distro utilizada: Manjaro
Versão: 17.0
Ambiente: xfce
Repositório: stable
Habilidade: novice

Erro ao tentar atualizar

Mensagempor slblxs » 20 Mar 2017, 12:34  •  MS 12

Penso que tens o Xfce instalado, por isso cola aqui o que está na linha 52;

Código: Selecionar todos
sudo mousepad /usr/bin/pacman-mirrors
Avatar do usuário
slblxs
Membro

 
Mensagens: 112
Registro: 27 Jan 2014, 14:32
Localização: Portugal/Águas Santas
Agradeceu: 3 vez(es)
Agradecido: 12 vez(es)
Distro utilizada: Manjaro OpenRC
Versão: Unstable
Ambiente: Xfce/Mate
Repositório: Unstable
Habilidade: Intermediate

Erro ao tentar atualizar

Mensagempor Bruno Vinicius » 20 Mar 2017, 12:41  •  MS 13

slblxs escreveu:Penso que tens o Xfce instalado, por isso cola aqui o que está na linha 52;

Código: Selecionar todos
sudo mousepad /usr/bin/pacman-mirrors





Código: Selecionar todos
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# This file is part of pacman-mirrors.
#
# pacman-mirrors is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# pacman-mirrors is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pacman-mirrors.  If not, see <http://www.gnu.org/licenses/>.
#
# Author(s): Ramon Buldó <rbuldo@gmail.com>

import os
import shutil
from pacman_mirrors import pacman_mirrors
from pacman_mirrors import i18n


_ = i18n.language.gettext


def move_custom_country():
    """
    Move custom country file from /etc/pacman.d/mirrors/ to
    /var/lib/pacman-mirrors/
    """
    print(_("Moving 'Custom' mirrors file to ") + "/var/lib/pacman-mirrors/")
    os.makedirs("/var/lib/pacman-mirrors", mode=0o755, exist_ok=True)
    try:
        shutil.move("/etc/pacman.d/mirrors/Custom",
                    "/var/lib/pacman-mirrors/Custom")
    except OSError as e:
        print(_("Warning: Cannot move '{filename}' to '{filename2}': {error}"
              .format(filename=e.filename,
                      filename2=e.filename2,
                      error=e.strerror)))

if os.path.isfile("/etc/pacman.d/mirrors/Custom"):
    if os.getuid() == 0:
        move_custom_country()

try:
    pm = pacman_mirrors.PacmanMirrors()
    pm.run()
except KeyboardInterrupt:
    print("\n" + _("Error: interrupted by the user."))
    exit(1)
Avatar do usuário
Bruno Vinicius
Aprendiz

 
Mensagens: 17
Registro: 16 Mar 2017, 11:34
Agradeceu: 1 vez
Agradecido: 0 vez
Distro utilizada: Manjaro
Versão: 17.0
Ambiente: xfce
Repositório: stable
Habilidade: novice

Erro ao tentar atualizar

Mensagempor slblxs » 20 Mar 2017, 12:46  •  MS 14

coloca aqui o que tens nas configurações do pacman;

Código: Selecionar todos
sudo nano /etc/pacman.d/mirrorlist
sudo nano /etc/pacman-mirrors.conf
sudo nano /etc/pacman.conf
Avatar do usuário
slblxs
Membro

 
Mensagens: 112
Registro: 27 Jan 2014, 14:32
Localização: Portugal/Águas Santas
Agradeceu: 3 vez(es)
Agradecido: 12 vez(es)
Distro utilizada: Manjaro OpenRC
Versão: Unstable
Ambiente: Xfce/Mate
Repositório: Unstable
Habilidade: Intermediate

Erro ao tentar atualizar

Mensagempor Bruno Vinicius » 20 Mar 2017, 12:54  •  MS 15

slblxs escreveu:coloca aqui o que tens nas configurações do pacman;

Código: Selecionar todos
sudo nano /etc/pacman.d/mirrorlist
sudo nano /etc/pacman-mirrors.conf
sudo nano /etc/pacman.conf


sudo nano /etc/pacman.d/mirrorlist

Código: Selecionar todos
##
## Arch Linux repository mirrorlist
## Generated on 2017-03-20
##

## Worldwide
#Server = https://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch
#Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch

## Australia
#Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
#Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch
#Server = http://archlinux.uberglobalmirror.com/$repo/os/$arch

## Austria
#Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch
#Server = http://mirror.easyname.at/archlinux/$repo/os/$arch
#Server = http://mirror1.htu.tugraz.at/archlinux/$repo/os/$arch

## Belarus
#Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
#Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch

## Belgium
#Server = http://archlinux.cu.be/$repo/os/$arch
#Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch

## Bosnia and Herzegovina
#Server = http://burek.archlinux.ba/$repo/os/$arch
#Server = http://archlinux.mirror.ba/$repo/os/$arch

## Brazil
#Server = http://archlinux-br.mirror.host1plus.com/$repo/os/$arch
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
#Server = http://linorg.usp.br/archlinux/$repo/os/$arch
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
#Server = http://archlinux.pop-es.rnp.br/$repo/os/$arch

## Bulgaria
#Server = http://mirror.host.ag/archlinux/$repo/os/$arch
#Server = http://mirrors.netix.net/archlinux/$repo/os/$arch
#Server = http://mirror.telepoint.bg/archlinux/$repo/os/$arch
#Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
#Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch

## Canada
#Server = http://mirror.cedille.club/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.colo-serv.net/$repo/os/$arch
#Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = https://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = http://mirror.frgl.pw/archlinux/$repo/os/$arch
#Server = https://mirror.frgl.pw/archlinux/$repo/os/$arch
#Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
#Server = http://muug.ca/mirror/archlinux/$repo/os/$arch
#Server = https://muug.ca/mirror/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch

## Chile
#Server = http://mirror.archlinux.cl/$repo/os/$arch

## China
#Server = http://mirrors.163.com/archlinux/$repo/os/$arch
#Server = http://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.opencas.org/archlinux/$repo/os/$arch
#Server = https://mirrors.skyshe.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch

## Colombia
#Server = http://mirror.edatel.net.co/archlinux/$repo/os/$arch
#Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch
#Server = http://mirror.upb.edu.co/archlinux/$repo/os/$arch

## Croatia
#Server = http://archlinux.iskon.hr/$repo/os/$arch

## Czech Republic
#Server = http://mirror.dkm.cz/archlinux/$repo/os/$arch
#Server = https://mirror.dkm.cz/archlinux/$repo/os/$arch
#Server = http://ftp.fi.muni.cz/pub/linux/arch/$repo/os/$arch
#Server = http://ftp.linux.cz/pub/linux/arch/$repo/os/$arch
#Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch
#Server = https://gluttony.sin.cvut.cz/arch/$repo/os/$arch
#Server = http://mirrors.nic.cz/archlinux/$repo/os/$arch
#Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch
#Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
#Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch

## Denmark
#Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
#Server = https://mirrors.dotsrc.org/archlinux/$repo/os/$arch
#Server = http://ftp.klid.dk/ftp/archlinux/$repo/os/$arch
#Server = http://mirror.one.com/archlinux/$repo/os/$arch
#Server = https://mirror.one.com/archlinux/$repo/os/$arch

## Ecuador
#Server = http://mirror.cedia.org.ec/archlinux/$repo/os/$arch
#Server = http://mirror.espoch.edu.ec/archlinux/$repo/os/$arch
#Server = http://mirror.uta.edu.ec/archlinux/$repo/os/$arch

## Finland
#Server = http://arch.mirror.far.fi/$repo/os/$arch

## France
#Server = http://archlinux.de-labrusse.fr/$repo/os/$arch
#Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
#Server = http://archlinux.vi-di.fr/$repo/os/$arch
#Server = https://archlinux.vi-di.fr/$repo/os/$arch
#Server = http://mirror.armbrust.me/archlinux/$repo/os/$arch
#Server = https://mirror.armbrust.me/archlinux/$repo/os/$arch
#Server = https://archlinux.ec-tech.fr/$repo/os/$arch
#Server = http://fooo.biz/archlinux/$repo/os/$arch
#Server = https://fooo.biz/archlinux/$repo/os/$arch
#Server = http://mirror.gerhard.re/archlinux/$repo/os/$arch
#Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch
#Server = http://mirror.lastmikoi.net/archlinux/$repo/os/$arch
#Server = http://archlinux.mailtunnel.eu/$repo/os/$arch
#Server = https://www.mailtunnel.eu/archlinux/$repo/os/$arch
#Server = http://mir.archlinux.fr/$repo/os/$arch
#Server = http://arch.nimukaito.net/$repo/os/$arch
#Server = https://arch.nimukaito.net/$repo/os/$arch
#Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.pkern.at/$repo/os/$arch
#Server = https://archlinux.mirror.pkern.at/$repo/os/$arch
#Server = http://archlinux.polymorf.fr/$repo/os/$arch
#Server = http://mirrors.standaloneinstaller.com/archlinux/$repo/os/$arch
#Server = http://arch.static.lu/$repo/os/$arch
#Server = http://arch.tamcore.eu/$repo/os/$arch
#Server = http://mirrors.theblazehen.com/archlinux/$repo/os/$arch
#Server = http://mirror.tyborek.pl/arch/$repo/os/$arch
#Server = https://mirror.tyborek.pl/arch/$repo/os/$arch
#Server = http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch
#Server = https://mirror.wormhole.eu/archlinux/$repo/os/$arch
#Server = http://arch.yourlabs.org/$repo/os/$arch

## Germany
#Server = http://mirror.23media.de/archlinux/$repo/os/$arch
#Server = https://arch.32g.eu/$repo/os/$arch
#Server = http://artfiles.org/archlinux.org/$repo/os/$arch
#Server = http://mirror5.bastelfreak.org/archlinux/$repo/os/$arch
#Server = https://mirror.bethselamin.de/$repo/os/$arch
#Server = http://mirrors.cicku.me/archlinux/$repo/os/$arch
#Server = https://mirrors.cicku.me/archlinux/$repo/os/$arch
#Server = http://mirror.euserv.net/linux/archlinux/$repo/os/$arch
#Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
#Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
#Server = http://ftp.fau.de/archlinux/$repo/os/$arch
#Server = https://ftp.fau.de/archlinux/$repo/os/$arch
#Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
#Server = https://mirror.fluxent.de/archlinux/$repo/os/$arch
#Server = http://mirror.gnomus.de/$repo/os/$arch
#Server = http://www.gutscheindrache.com/mirror/archlinux/$repo/os/$arch
#Server = http://ftp.gwdg.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://mirror.hactar.xyz/$repo/os/$arch
#Server = https://mirror.hactar.xyz/$repo/os/$arch
#Server = http://archlinux.honkgong.info/$repo/os/$arch
#Server = https://archlinux.honkgong.info/$repo/os/$arch
#Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.iphh.net/$repo/os/$arch
#Server = http://repo.itmettke.de/archlinux/$repo/os/$arch
#Server = https://repo.itmettke.de/archlinux/$repo/os/$arch
#Server = https://mirror.jankoppe.de/$repo/os/$arch
#Server = http://arch.jensgutermuth.de/$repo/os/$arch
#Server = https://arch.jensgutermuth.de/$repo/os/$arch
#Server = http://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
#Server = https://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
#Server = http://k42.ch/mirror/archlinux/$repo/os/$arch
#Server = https://k42.ch/mirror/archlinux/$repo/os/$arch
#Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
#Server = https://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://mirror.loli.forsale/arch/$repo/os/$arch
#Server = https://mirror.loli.forsale/arch/$repo/os/$arch
#Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch
#Server = https://mirror.metalgamer.eu/archlinux/$repo/os/$arch
#Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
#Server = https://mirror.michael-eckert.net/archlinux/$repo/os/$arch
#Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
#Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch
#Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
#Server = https://mirror.netcologne.de/archlinux/$repo/os/$arch
#Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch
#Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch
#Server = http://archlinux.nullpointer.io/$repo/os/$arch
#Server = https://archlinux.nullpointer.io/$repo/os/$arch
#Server = http://mirror.pseudoform.org/$repo/os/$arch
#Server = https://mirror.pseudoform.org/$repo/os/$arch
#Server = https://www.ratenzahlung.de/mirror/archlinux/$repo/os/$arch
#Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
#Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch
#Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
#Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
#Server = https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
#Server = http://archlinux.thaller.ws/$repo/os/$arch
#Server = https://archlinux.thaller.ws/$repo/os/$arch
#Server = http://archlinux.thelinuxnetworx.rocks/$repo/os/$arch
#Server = https://archlinux.thelinuxnetworx.rocks/$repo/os/$arch
#Server = http://archmirror.tomforb.es/$repo/os/$arch
#Server = https://archmirror.tomforb.es/$repo/os/$arch
#Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://mirror.ubrco.de/archlinux/$repo/os/$arch
#Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
#Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch
#Server = http://ftp.uni-hannover.de/archlinux/$repo/os/$arch
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://mirror.united-gameserver.de/archlinux/$repo/os/$arch

## Greece
#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = https://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = http://mirrors.myaegean.gr/linux/archlinux/$repo/os/$arch
#Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch

## Hong Kong
#Server = http://arch-mirror.wtako.net/$repo/os/$arch
#Server = https://arch-mirror.wtako.net/$repo/os/$arch

## Hungary
#Server = http://ftp.energia.mta.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
#Server = http://archmirror.hbit.sztaki.hu/archlinux/$repo/os/$arch

## Iceland
#Server = http://mirror.system.is/arch/$repo/os/$arch
#Server = https://mirror.system.is/arch/$repo/os/$arch

## India
#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
#Server = http://ftp.iitm.ac.in/archlinux/$repo/os/$arch

## Indonesia
#Server = http://mirror.devilzc0de.org/archlinux/$repo/os/$arch
#Server = http://mirror.kavalinux.com/archlinux/$repo/os/$arch
#Server = http://mirror.poliwangi.ac.id/archlinux/$repo/os/$arch
#Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch

## Iran
#Server = http://repo.sadjad.ac.ir/arch/$repo/os/$arch
#Server = https://repo.sadjad.ac.ir/arch/$repo/os/$arch

## Ireland
#Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
#Server = https://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch

## Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch

## Italy
#Server = http://archlinux.openlabto.org/archlinux/$repo/os/$arch
#Server = https://archlinux.beccacervello.it/archlinux/$repo/os/$arch
#Server = http://mi.mirror.garr.it/mirrors/archlinux/$repo/os/$arch
#Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch
#Server = http://archlinux.students.cs.unibo.it/$repo/os/$arch

## Japan
#Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
#Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch

## Kazakhstan
#Server = http://mirror.neolabs.kz/archlinux/$repo/os/$arch

## Latvia
#Server = http://archlinux.koyanet.lv/archlinux/$repo/os/$arch

## Lithuania
#Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch
#Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch

## Luxembourg
#Server = http://archlinux.mirror.root.lu/$repo/os/$arch

## Macedonia
#Server = http://arch.softver.org.mk/archlinux/$repo/os/$arch
#Server = http://mirror.t-home.mk/archlinux/$repo/os/$arch
#Server = https://mirror.t-home.mk/archlinux/$repo/os/$arch

## Netherlands
#Server = http://arch.apt-get.eu/$repo/os/$arch
#Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
#Server = https://mirror.i3d.net/pub/archlinux/$repo/os/$arch
#Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
#Server = https://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
#Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.wearetriple.com/$repo/os/$arch
#Server = https://archlinux.mirror.wearetriple.com/$repo/os/$arch

## New Caledonia
#Server = http://mirror.lagoon.nc/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch

## New Zealand
#Server = https://mirror.smith.geek.nz/archlinux/$repo/os/$arch

## Norway
#Server = http://mirror.archlinux.no/$repo/os/$arch
#Server = http://archlinux.uib.no/$repo/os/$arch
#Server = http://mirror.neuf.no/archlinux/$repo/os/$arch
#Server = https://mirror.neuf.no/archlinux/$repo/os/$arch

## Philippines
#Server = http://mirror.rise.ph/archlinux/$repo/os/$arch

## Poland
#Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
#Server = http://arch.midov.pl/arch/$repo/os/$arch
#Server = http://mirror.onet.pl/pub/mirrors/archlinux/$repo/os/$arch
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch

## Portugal
#Server = http://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch

## Qatar
#Server = http://mirror.qnren.qa/archlinux/$repo/os/$arch

## Romania
#Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
#Server = http://archlinux.mirrors.linux.ro/$repo/os/$arch
#Server = http://mirrors.m247.ro/archlinux/$repo/os/$arch
#Server = http://mirrors.pidginhost.com/arch/$repo/os/$arch

## Russia
#Server = http://mirror.aur.rocks/$repo/os/$arch
#Server = https://mirror.aur.rocks/$repo/os/$arch
#Server = http://mirror.rol.ru/archlinux/$repo/os/$arch
#Server = https://mirror.rol.ru/archlinux/$repo/os/$arch
#Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
#Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch

## Serbia
#Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch

## Singapore
#Server = http://mirror.0x.sg/archlinux/$repo/os/$arch
#Server = http://download.nus.edu.sg/mirror/arch/$repo/os/$arch

## Slovakia
#Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
#Server = https://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
#Server = http://tux.rainside.sk/archlinux/$repo/os/$arch

## Slovenia
#Server = http://archimonde.ts.si/archlinux/$repo/os/$arch
#Server = https://archimonde.ts.si/archlinux/$repo/os/$arch

## South Africa
#Server = http://archlinux-za.mirror.host1plus.com/$repo/os/$arch
#Server = http://ftp.wa.co.za/pub/archlinux/$repo/os/$arch
#Server = http://mirror.is.co.za/mirror/archlinux.org/$repo/os/$arch
#Server = http://mirror.wbs.co.za/archlinux/$repo/os/$arch

## South Korea
#Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
#Server = http://mirror.premi.st/archlinux/$repo/os/$arch

## Spain
#Server = http://osl.ugr.es/archlinux/$repo/os/$arch
#Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch

## Sweden
#Server = http://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch
#Server = https://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch
#Server = http://archlinux.dynamict.se/$repo/os/$arch
#Server = https://archlinux.dynamict.se/$repo/os/$arch
#Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
#Server = https://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
#Server = http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
#Server = https://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
#Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
#Server = http://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch

## Switzerland
#Server = http://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch
#Server = https://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch
#Server = http://archlinux.puzzle.ch/$repo/os/$arch

## Taiwan
#Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch
#Server = http://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch
#Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
#Server = http://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch

## Thailand
#Server = http://mirror.adminbannok.com/archlinux/$repo/os/$arch
#Server = http://mirror.kku.ac.th/archlinux/$repo/os/$arch
#Server = https://mirror.kku.ac.th/archlinux/$repo/os/$arch

## Turkey
#Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch

## Ukraine
#Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch
#Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch
#Server = http://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch
#Server = https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch

## United Kingdom
#Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
#Server = http://mirrors.manchester.m247.com/arch-linux/$repo/os/$arch
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
#Server = http://arch.serverspace.co.uk/arch/$repo/os/$arch
#Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch

## United States
#Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
#Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
#Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
#Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
#Server = http://arlm.tyzoid.com/$repo/os/$arch
#Server = http://mirror.as65535.net/archlinux/$repo/os/$arch
#Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch
#Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
#Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
#Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
#Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch
#Server = http://mirror.es.its.nyu.edu/archlinux/$repo/os/$arch
#Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
#Server = http://mirror.grig.io/archlinux/$repo/os/$arch
#Server = https://mirror.grig.io/archlinux/$repo/os/$arch
#Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
#Server = http://mirror1.hackingand.coffee/arch/$repo/os/$arch
#Server = http://mirror2.hackingand.coffee/arch/$repo/os/$arch
#Server = http://mirror3.hackingand.coffee/arch/$repo/os/$arch
#Server = http://mirror.htnshost.com/archlinux/$repo/os/$arch
#Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
#Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
#Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
#Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
#Server = https://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://il.mirrors.linaxe.net/archlinux/$repo/os/$arch
#Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
#Server = http://arch.localmsp.org/arch/$repo/os/$arch
#Server = https://arch.localmsp.org/arch/$repo/os/$arch
#Server = http://mirror.lty.me/archlinux/$repo/os/$arch
#Server = https://mirror.lty.me/archlinux/$repo/os/$arch
#Server = http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
#Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
#Server = http://mirror.math.princeton.edu/pub/archlinux/$repo/os/$arch
#Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch
#Server = http://mirror.kaminski.io/archlinux/$repo/os/$arch
#Server = http://mirror.nexcess.net/archlinux/$repo/os/$arch
#Server = http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
#Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
#Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
#Server = http://arch.mirrors.pair.com/$repo/os/$arch
#Server = http://mirror.redsox.cc/pub/archlinux/$repo/os/$arch
#Server = https://mirror.redsox.cc/archlinux/$repo/os/$arch
#Server = http://mirrors.rit.edu/archlinux/$repo/os/$arch
#Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch
#Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
#Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch
#Server = https://mirrors.tuxns.net/archlinux/$repo/os/$arch
#Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
#Server = http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch
#Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch
#Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch

## Vietnam
#Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch
#Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/$arch




sudo nano /etc/pacman-mirrors.conf

Código: Selecionar todos
##
## /etc/pacman-mirrors.conf
##

## Branch Pacman should use (stable, testing, unstable)
Branch = stable

## Generation method
## 1) rank   - rank mirrors depending on their access time
## 2) random - randomly generate the output mirrorlist
# Method = rank

## Specify to use only mirrors from specific a country.
## Can add multiple countries separated by a comma (ex: Germany,France)
## Empty means all
# OnlyCountry =

## Mirrors directory
# MirrorlistsDir = /etc/pacman.d/mirrors

## Output file
# OutputMirrorlist = /etc/pacman.d/mirrorlist

## When set to True prevents the regeneration of the mirrorlist if
## pacman-mirrors is invoked with the --no-update argument.
## Useful if you don't want the mirrorlist regenerated after a
## pacman-mirrors package upgrade.
# NoUpdate = False



sudo nano /etc/pacman.conf
Código: Selecionar todos
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg      = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Never
#Server = file:///home/custompkgs

#https://gist.github.com/DenverDias/6610588
Avatar do usuário
Bruno Vinicius
Aprendiz

 
Mensagens: 17
Registro: 16 Mar 2017, 11:34
Agradeceu: 1 vez
Agradecido: 0 vez
Distro utilizada: Manjaro
Versão: 17.0
Ambiente: xfce
Repositório: stable
Habilidade: novice

Erro ao tentar atualizar

Mensagempor slblxs » 20 Mar 2017, 13:33  •  MS 16

Bruno Vinicius escreveu:
slblxs escreveu:coloca aqui o que tens nas configurações do pacman;

Código: Selecionar todos
sudo nano /etc/pacman.d/mirrorlist
sudo nano /etc/pacman-mirrors.conf
sudo nano /etc/pacman.conf


sudo nano /etc/pacman.d/mirrorlist

Código: Selecionar todos
##
## Arch Linux repository mirrorlist
## Generated on 2017-03-20
##

## Brazil
#Server = http://archlinux-br.mirror.host1plus.com/$repo/os/$arch
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
#Server = http://linorg.usp.br/archlinux/$repo/os/$arch
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
#Server = http://archlinux.pop-es.rnp.br/$repo/os/$arch




Como podes ver tens os mirrors todos comentados, descomenta todos os que estão na linha do Brasil, ou seja apagas o # de todos os que estão em cima e actualizas, com o pacman.
Avatar do usuário
slblxs
Membro

 
Mensagens: 112
Registro: 27 Jan 2014, 14:32
Localização: Portugal/Águas Santas
Agradeceu: 3 vez(es)
Agradecido: 12 vez(es)
Distro utilizada: Manjaro OpenRC
Versão: Unstable
Ambiente: Xfce/Mate
Repositório: Unstable
Habilidade: Intermediate

Erro ao tentar atualizar

Mensagempor Bruno Vinicius » 20 Mar 2017, 13:56  •  MS 17

Como podes ver tens os mirrors todos comentados, descomenta todos os que estão na linha do Brasil, ou seja apagas o # de todos os que estão em cima e actualizas, com o pacman.



Sei que ta dando trabalho, desculpa. Aquele problema foi resulvido, mas apareceu esse agora:

Imagem
Avatar do usuário
Bruno Vinicius
Aprendiz

 
Mensagens: 17
Registro: 16 Mar 2017, 11:34
Agradeceu: 1 vez
Agradecido: 0 vez
Distro utilizada: Manjaro
Versão: 17.0
Ambiente: xfce
Repositório: stable
Habilidade: novice

Erro ao tentar atualizar

Mensagempor slblxs » 20 Mar 2017, 13:58  •  MS 18

Abre o terminal e coloca isso para saber qual a informação que aparece;

Código: Selecionar todos
sudo pacman-mirrors -g
Editado pela última vez por slblxs em 20 Mar 2017, 13:58, em um total de 1 vez.
Razão: correção
Avatar do usuário
slblxs
Membro

 
Mensagens: 112
Registro: 27 Jan 2014, 14:32
Localização: Portugal/Águas Santas
Agradeceu: 3 vez(es)
Agradecido: 12 vez(es)
Distro utilizada: Manjaro OpenRC
Versão: Unstable
Ambiente: Xfce/Mate
Repositório: Unstable
Habilidade: Intermediate

Erro ao tentar atualizar

Mensagempor Bruno Vinicius » 20 Mar 2017, 14:01  •  MS 19

slblxs escreveu:Abre o terminal e coloca isso para saber qual a informação que aparece;

Código: Selecionar todos
sudo pacman-mirrors -g

Código: Selecionar todos
[bvinicius@bruno-pc ~]$ sudo pacman-mirrors -g
sudo: pacman-mirrors: command not found
Avatar do usuário
Bruno Vinicius
Aprendiz

 
Mensagens: 17
Registro: 16 Mar 2017, 11:34
Agradeceu: 1 vez
Agradecido: 0 vez
Distro utilizada: Manjaro
Versão: 17.0
Ambiente: xfce
Repositório: stable
Habilidade: novice

Erro ao tentar atualizar

Mensagempor slblxs » 20 Mar 2017, 14:09  •  MS 20

Bruno Vinicius escreveu:
slblxs escreveu:Abre o terminal e coloca isso para saber qual a informação que aparece;

Código: Selecionar todos
sudo pacman-mirrors -g

Código: Selecionar todos
[bvinicius@bruno-pc ~]$ sudo pacman-mirrors -g
sudo: pacman-mirrors: command not found


Pois só agora reparei, tens mirrors setados para o Arch linux e o mesmo não são compativeis com o Manjaro, que tem mirrors proprio como podes ver aqui noticias/um-novo-mirror-para-o-manjaro-no-brasil-t2987.html#p16854 . Volta a comentar as linhas que descomentaste e no inicio da pagina coloca o do Brasil;

Código: Selecionar todos
Server = http://linorg.usp.br/manjaro//stable/$repo/$arch
Avatar do usuário
slblxs
Membro

 
Mensagens: 112
Registro: 27 Jan 2014, 14:32
Localização: Portugal/Águas Santas
Agradeceu: 3 vez(es)
Agradecido: 12 vez(es)
Distro utilizada: Manjaro OpenRC
Versão: Unstable
Ambiente: Xfce/Mate
Repositório: Unstable
Habilidade: Intermediate

AnteriorPróximo

Voltar para Instalação/Atualização em PCs



Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 0 visitantes

^ Voltar ao Topo