You are not logged in.
I'm a complete beginner in Arch and I recently switched over to Arch. I've been trying to update using: "pacman -Syyuu" as root.
But it simply doesn't work. The only thing that seems to malfunction is that I am unable to update multilib. This has been preventing me from installing packages unless I update.
The errors poured in after uncommenting [multilib] under /etc/pacman.conf. I doubt that could be the actual problem since reverting it back did nothing.
Anyways, over to the proper error message, all packages install correctly except multilib. This is the entire output whilst installing:
pacman -Syyuu
:: Synchronizing package databases...
core 132.1 KiB 1785 KiB/s 00:00 [############################################] 100%
extra 1666.3 KiB 2.92 MiB/s 00:01 [############################################] 100%
community 5.1 MiB 4.07 MiB/s 00:01 [############################################] 100%
error: failed to update multilib (no servers configured for repository)
error: failed to synchronize all databases
I've been trying to configure the mirrors hoping that'd resolve the issue, by default, I have a mirrorlist generated by Reflector.
I've tried mirrorlists generated by pacman and uncommented a few of them. too but it wasn't working either, like I expected.
Am I uncommenting the wrong servers? If so, I can try again.
This is my current mirrorlist: (I won't be showing too much since it's all the same and it repeats. All of them are uncommented and at the end, I'm not sure if it's supposed to be there but there's a blank line but it doesn't seem to affect anything at the moment.)
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --protocol https --latest 70 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2020-08-02 18:18:19 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2020-08-02 18:18:06 UTC
# Last Check: 2020-08-02 17:46:44 UTC
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = https://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch
Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
I've reviewed other forum posts as well as viewing the wiki to see if I can troubleshoot this error. I probably missed something but if I did, please be sure to help me and explain the issue to me.
Please tell me if you want more detail on the situation. I will be sure to try and respond with the most detail I can give.
Last edited by HttpFizz (2020-08-03 20:46:02)
Offline
Offline
Here are my contents of pacman.conf:
#
# /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
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
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 Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# 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.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
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-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
#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 = Optional TrustAll
#Server = file:///home/custompkgs
I apologise that I hadn't posted this sooner!
Offline
I've been trying to update using: "pacman -Syyuu" as root.
After you paste the required conf file, stop using -yyuu; it is not necessary nor helpful. Just use -Syu
# edit - uncomment the multilib repo properly.
Last edited by jasonwryan (2020-08-03 20:33:30)
Offline
After you paste the required conf file, stop using -yyuu; it is not necessary nor helpful. Just use -Syu
I understand, thanks. I will just use '-Syu'.
Also, may you please build on 'uncomment multilb repo properly'?
I believe I have uncommented it correctly, please correct me if I am wrong.
Offline
You need to uncomment the line under [multilib] as well.
Offline
You need to uncomment the line under [multilib] as well.
I am CRYING. I went through all this trouble to change mirrors, to create a forum post when the fix was this simple? I truly made myself an embarrassment in this community. :")
Offline