• Pacman is not updating please help


    pacman is saying that /etc/pacman.d/mirrorlist could not be read and im new to arch based distros so i have no clue how to correcting this issue .

  • @rwoodsmurphy Please, post back here the full output of two separate commands

    ls /etc/pacman.d -lha
    

    and

    sudo pacman -Syu
    
  • ls /etc/pacman.d -lha
    total 92K
    drwxr-xr-x 3 root root 4.0K Jan 28 09:25 .
    drwxr-xr-x 84 root root 4.0K Jan 28 09:54 …
    -rw-r–r-- 1 root root 1.3K Jan 28 10:05 antergos-mirrorlist
    drwxr-xr-x 4 root root 4.0K Jan 25 15:42 gnupg
    -rw-r–r-- 1 root root 73K Jan 28 06:32 index.html

    and
    sudo pacman -Syu
    error: config file /etc/pacman.d/mirrorlist could not be read: No such file or directory

  • @rwoodsmurphy Effectively, you’ve managed somehow to loose the mirrorlist.

    The content of /etc/pacman.d must be

    $ ls /etc/pacman.d -lha
    total 44K
    drwxr-xr-x  3 root root 4.0K Jan 26 14:53 .
    drwxr-xr-x 79 root root 4.0K Jan 28 19:18 ..
    -rw-r--r--  1 root root 1.3K Jan 25 20:39 antergos-mirrorlist
    drwxr-xr-x  4 root root 4.0K Jan 25 14:20 gnupg
    -rw-r--r--  1 root root 4.1K Jan  7 18:26 mirrorlist
    -rw-r--r--  1 root root  18K Jan 24 11:39 mirrorlist.pacnew
    $ 
    

    What follows is my mirrorlist, generated by reflector for my current geographical location (Finland). Or by Cnchi, don’t remember. Save it as mirrorlist in the /etc/pacman.d folder and run pacman normally.

    The download rate could be not optimal for you with this mirrorlist. Once you have pacman up and running, regenerate the file with reflector.

    Good luck.

    /etc/pacman.d/mirrorlist file

    # Arch Linux mirrorlist generated by Cnchi #
    Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
    Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch
    Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch
    Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
    Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
    Server = http://mirror.one.com/archlinux/$repo/os/$arch
    Server = http://mirror.united-gameserver.de/archlinux/$repo/os/$arch
    Server = http://archlinux.my-universe.com/$repo/os/$arch
    Server = http://mirror.flipez.de/archlinux/$repo/os/$arch
    Server = http://www.imegumii.space/arch/$repo/os/$arch
    Server = http://mirror.archlinux.no/$repo/os/$arch
    Server = http://archlinux.mailtunnel.eu/$repo/os/$arch
    Server = http://mirror5.bastelfreak.org/archlinux/$repo/os/$arch
    Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
    Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
    Server = http://arch.tamcore.eu/$repo/os/$arch
    Server = http://mirror.23media.de/archlinux/$repo/os/$arch
    Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch
    Server = http://archlinux.honkgong.info/$repo/os/$arch
    Server = http://mirror.pseudoform.org/$repo/os/$arch
    Server = http://mir.archlinux.fr/$repo/os/$arch
    Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
    Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
    Server = http://arch.static.lu/$repo/os/$arch
    Server = http://arch.yourlabs.org/$repo/os/$arch
    Server = http://mirror.bitjungle.info/archlinux/$repo/os/$arch
    Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
    Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch
    Server = http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
    Server = http://archlinux.dynamict.se/$repo/os/$arch
    Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
    Server = http://mirror.gnomus.de/$repo/os/$arch
    Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
    Server = http://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch
    Server = http://mirror.tyborek.pl/arch/$repo/os/$arch
    Server = http://mirror.hactar.bz/$repo/os/$arch
    Server = http://arch.midov.pl/arch/$repo/os/$arch
    Server = http://mirror1.htu.tugraz.at/archlinux/$repo/os/$arch
    Server = http://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
    Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
    Server = http://burek.archlinux.ba/$repo/os/$arch
    Server = http://archlinux.puzzle.ch/$repo/os/$arch
    Server = http://arch.nimukaito.net/$repo/os/$arch
    Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch
    Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
    Server = http://fooo.biz/archlinux/$repo/os/$arch
    Server = http://mirror.lastmikoi.net/archlinux/$repo/os/$arch
    Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
    Server = http://archlinux.dropswitch.net/archlinux/$repo/os/$arch
    Server = http://mirror.compojoom.com/archlinux/$repo/os/$arch
    Server = http://arch.mirrors.ionfish.org/$repo/os/$arch
    Server = http://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch
    Server = http://mirror.es.its.nyu.edu/archlinux/$repo/os/$arch
    Server = http://archlinux.openlabto.org/archlinux/$repo/os/$arch
    Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
    Server = http://archlinux-za.mirror.host1plus.com/$repo/os/$arch
    Server = http://mirror.lty.me/archlinux/$repo/os/$arch
    Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
    Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    Server = http://archlinux-br.mirror.host1plus.com/$repo/os/$arch
    Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
    Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
    Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch
    Server = http://mirror.devilzc0de.org/archlinux/$repo/os/$arch
    Server = http://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch
    Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
    Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
    Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
    
  • Thank you for your help i will post the results later.

Posts 5Views 839
Log in to reply