You are not logged in.

#1 2023-03-30 15:45:06

luckmeister
Member
Registered: 2023-03-30
Posts: 13

pacman -Syy takes very long

####################
Solution on 31.03.2023
####################


Hello everybody,
I am new to the forum and to arch. I was using Manjaro for some time.
I have a fresh install, done with archinstall.
When I am doing a "pacman -Syy" it takes a very long time until the update starts. Sometimes it succeeds, sometimes not. But I always get the error:

[joe@arch52 ~]$ sudo pacman -Syy
[sudo] Passwort für joe: 
:: Paketdatenbanken werden synchronisiert …
 core                  153,9 KiB  6,14 KiB/s 00:25 [----------------------] 100%
 extra                1748,8 KiB  68,9 KiB/s 00:25 [----------------------] 100%
 community               7,3 MiB   282 KiB/s 00:26 [----------------------] 100%
 multilib              161,9 KiB  6,47 KiB/s 00:25 [----------------------] 100%
Fehler: Konnte Datei 'core.db' nicht von mirror.moson.org übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von mirror.moson.org übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'community.db' nicht von mirror.moson.org übertragen : Resolving timed out after 10000 milliseconds
Warnung: zu viele Fehlermeldungen von mirror.moson.org, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'multilib.db' nicht von mirror.moson.org übertragen : Could not resolve host: mirror.moson.org

German error message.


My pacman.conf looks like this:

#
# /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
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5
ILoveCandy

# 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

my original mirrorlist looked like this:

## Germany
Server = [url]https://mirror.dogado.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.lcarilla.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.selfnet.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.sunred.org/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://ftp.fau.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://appuals.com/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirrors.niyawe.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.bethselamin.de/$repo/os/$arch[/url]
## Germany
Server = [url]https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://archlinux.homeinfo.de/$repo/os/$arch[/url]
## Germany
Server = [url]https://arch.unixpeople.org/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirrors.xtom.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.23m.com/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.wtnet.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://pkg.fef.moe/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://archlinux.thaller.ws/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.gnomus.de/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.kumi.systems/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://de.arch.mirror.kescher.at/$repo/os/$arch[/url]
## Germany
Server = [url]https://ftp.wrz.de/pub/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.netcologne.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.moson.org/arch/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.mikrogravitation.org/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.pseudoform.org/$repo/os/$arch[/url]
## Germany
Server = [url]https://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://os.codefionn.eu/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://arch.mirror.zachlge.org/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.f4st.host/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://packages.oth-regensburg.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://arch.phinau.de/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.clientvps.com/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.spaceint.fr/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.ubrco.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirrors.janbruckner.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://arch.jensgutermuth.de/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.cmt.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirrors.n-ix.net/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.metalgamer.eu/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://mirror.pagenotfound.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.gwdg.de/pub/linux/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.united-gameserver.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.uni-hannover.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirrors.janbruckner.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch[/url]
## Germany
Server = [url]http://arch.jensgutermuth.de/$repo/os/$arch[/url]
## Germany
Server = [url]http://packages.oth-regensburg.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.metalgamer.eu/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.sunred.org/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.wtnet.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirrors.xtom.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://linux.rz.rub.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.selfnet.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.moson.org/arch/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.ubrco.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.kumi.systems/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.23m.com/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.fau.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://archlinux.honkgong.info/$repo/os/$arch[/url]
## Germany
Server = [url]http://artfiles.org/archlinux.org/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.pagenotfound.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.cmt.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://os.codefionn.eu/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.netcologne.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://arch.mirror.zachlge.org/$repo/os/$arch[/url]
## Germany
Server = [url]http://archlinux.mirror.iphh.net/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.mikrogravitation.org/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.clientvps.com/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.f4st.host/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirror.lcarilla.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.wrz.de/pub/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://arch.phinau.de/$repo/os/$arch[/url]
## Germany
Server = [url]http://archlinux.thaller.ws/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirrors.n-ix.net/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch[/url]
## Germany
Server = [url]http://mirrors.niyawe.de/archlinux/$repo/os/$arch[/url]
## Greece
Server = [url]https://repo.greeklug.gr/data/pub/linux/archlinux/$repo/os/$arch[/url]
## Greece
Server = [url]http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch[/url]
## Greece
Server = [url]http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch[/url]
## Greece
Server = [url]http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch[/url]
## Worldwide
Server = [url]https://mirror.rackspace.com/archlinux/$repo/os/$arch[/url]
## Worldwide
Server = [url]https://geo.mirror.pkgbuild.com/$repo/os/$arch[/url]
## Worldwide
Server = [url]http://mirror.rackspace.com/archlinux/$repo/os/$arch[/url]

After renewing the mirrorlist with reflector it looks like this:

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
# When:       2023-03-30 15:14:49 UTC
# From:       [url]https://archlinux.org/mirrors/status/json/[/url]
# Retrieved:  2023-03-30 15:14:11 UTC
# Last Check: 2023-03-30 15:00:48 UTC

Server = [url]https://mirror.moson.org/arch/$repo/os/$arch[/url]
Server = [url]http://repo.endpoint.ml/archlinux/$repo/os/$arch[/url]
Server = [url]https://mirrors.atviras.lt/archlinux/$repo/os/$arch[/url]
Server = [url]https://mirror.theo546.fr/archlinux/$repo/os/$arch[/url]
Server = [url]http://archimonde.ts.si/archlinux/$repo/os/$arch[/url]
Server = [url]https://mirror.quantum5.ca/archlinux/$repo/os/$arch[/url]
Server = rsync://mirror.theo546.fr/archlinux/$repo/os/$arch
Server = [url]http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch[/url]
Server = [url]https://archimonde.ts.si/archlinux/$repo/os/$arch[/url]
Server = rsync://mirror.quantum5.ca/archlinux/$repo/os/$arch

But the problem is unchanged after renewing the mirrors.

Can somebody please help me.

Last edited by luckmeister (2023-03-31 18:57:30)

Offline

#2 2023-03-30 15:57:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: pacman -Syy takes very long

Please use [ code ] and not [ quote ] for posting outputs.

You will note that both the reflector and your own mirror list picked mirror.moson.org first. While that's technically considered a good mirror it was at least recently on record as having name resolution issues according to https://archlinux.org/mirrors/status/

Try commenting that one to try the next in the list. You can generally resolve DNS right? e.g.

ping www.google.com

or similar work.

Offline

#3 2023-03-31 07:43:45

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

Thank you for the quick reply.

V1del wrote:

Please use [ code ] and not [ quote ] for posting outputs.

I will do that. Changed my origninal post already.


V1del wrote:

You will note that both the reflector and your own mirror list picked mirror.moson.org first. While that's technically considered a good mirror it was at least recently on record as having name resolution issues according to https://archlinux.org/mirrors/status/.
Try commenting that one to try the next in the list.

I did not know that page of the mirrors. But unfortunately today all mirrors give me the same error message.

V1del wrote:

You can generally resolve DNS right? e.g.

ping www.google.com

or similar work.

Yes, no problems. I can also install packages. It is only the syncing, that makes difficulties.


I have used the mirror-status-list, sort it to the column "completion" and picked the top ones to the mirrorlist. So the mirrorlist looks like this:

## Germany
Server = http://packages.oth-regensburg.de/archlinux/$repo/os/$arch
## Lithuania
Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch
## USA
Server = https://arch.hu.fo/archlinux/$repo/os/$arch
## Germany
Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch
## Germany
Server = https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch
## Estonia
Server = http://mirrors.xtom.ee/archlinux/$repo/os/$arch
## Germany
Server = https://packages.oth-regensburg.de/archlinux/$repo/os/$arch

Still I getting these errors:

[joe@arch52 ~]$ sudo pacman -Syy
:: Paketdatenbanken werden synchronisiert …
 core.db konnte nicht heruntergeladen werden
 extra.db konnte nicht heruntergeladen werden
 community.db konnte nicht heruntergeladen werden
 multilib.db konnte nicht heruntergeladen werden
Fehler: Konnte Datei 'core.db' nicht von packages.oth-regensburg.de übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von packages.oth-regensburg.de übertragen : Could not resolve host: packages.oth-regensburg.de
Warnung: zu viele Fehlermeldungen von packages.oth-regensburg.de, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'multilib.db' nicht von packages.oth-regensburg.de übertragen : Could not resolve host: packages.oth-regensburg.de
Fehler: Konnte Datei 'community.db' nicht von packages.oth-regensburg.de übertragen : Resolving timed out after 20017 milliseconds
Fehler: Konnte Datei 'core.db' nicht von mirrors.atviras.lt übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von mirrors.atviras.lt übertragen : Connection time-out
Fehler: Konnte Datei 'multilib.db' nicht von mirrors.atviras.lt übertragen : Connection time-out
Warnung: zu viele Fehlermeldungen von mirrors.atviras.lt, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'community.db' nicht von mirrors.atviras.lt übertragen : Connection time-out
Fehler: Konnte Datei 'core.db' nicht von arch.hu.fo übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von arch.hu.fo übertragen : Could not resolve host: arch.hu.fo
Fehler: Konnte Datei 'multilib.db' nicht von arch.hu.fo übertragen : Resolving timed out after 10000 milliseconds
Warnung: zu viele Fehlermeldungen von arch.hu.fo, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'community.db' nicht von arch.hu.fo übertragen : Connection time-out
Fehler: Konnte Datei 'core.db' nicht von mirrors.xtom.de übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von mirrors.xtom.de übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'multilib.db' nicht von mirrors.xtom.de übertragen : Resolving timed out after 10000 milliseconds
Warnung: zu viele Fehlermeldungen von mirrors.xtom.de, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'community.db' nicht von mirrors.xtom.de übertragen : Connection time-out
Fehler: Konnte Datei 'core.db' nicht von mirror.fra10.de.leaseweb.net übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von mirror.fra10.de.leaseweb.net übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'multilib.db' nicht von mirror.fra10.de.leaseweb.net übertragen : Could not resolve host: mirror.fra10.de.leaseweb.net
Warnung: zu viele Fehlermeldungen von mirror.fra10.de.leaseweb.net, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'community.db' nicht von mirror.fra10.de.leaseweb.net übertragen : Connection time-out
Fehler: Konnte Datei 'core.db' nicht von mirrors.xtom.ee übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'extra.db' nicht von mirrors.xtom.ee übertragen : Could not resolve host: mirrors.xtom.ee
Warnung: zu viele Fehlermeldungen von mirrors.xtom.ee, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'multilib.db' nicht von mirrors.xtom.ee übertragen : Could not resolve host: mirrors.xtom.ee
Fehler: Konnte Datei 'community.db' nicht von mirrors.xtom.ee übertragen : Could not resolve host: mirrors.xtom.ee
Fehler: Keine Datenbank konnte synchronisiert werden (Ungültige URL für den Server)

I think, something else is wrong with my installation.

Can you please help me further.

one more remark: I can ping alle mirrors.

Last edited by luckmeister (2023-03-31 07:58:12)

Offline

#4 2023-03-31 08:07:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: pacman -Syy takes very long

Are you behind a proxy or something that might reject certain file types/connections/wrong firewall settings?

Offline

#5 2023-03-31 08:16:36

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

No, I am not.
I even checked the router. No firewall there.

Offline

#6 2023-03-31 08:53:34

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

Just to give an example. I did a "sudo pacman -Syu" with that output:

[joe@arch52 ~]$ sudo pacman -Syu
:: Paketdatenbanken werden synchronisiert …
 core ist aktuell
 extra ist aktuell
 community                                                     7,3 MiB   249 KiB/s 00:30 [----------------------------------------------------] 100%
 multilib ist aktuell
Fehler: Konnte Datei 'core.db' nicht von packages.oth-regensburg.de übertragen : Resolving timed out after 10000 milliseconds
Fehler: Konnte Datei 'community.db' nicht von packages.oth-regensburg.de übertragen : Could not resolve host: packages.oth-regensburg.de
Warnung: zu viele Fehlermeldungen von packages.oth-regensburg.de, überspringe den Rest des Vorgangs
Fehler: Konnte Datei 'multilib.db' nicht von packages.oth-regensburg.de übertragen : Could not resolve host: packages.oth-regensburg.de
Fehler: Konnte Datei 'extra.db' nicht von packages.oth-regensburg.de übertragen : Resolving timed out after 30052 milliseconds
:: Vollständige Systemaktualisierung wird gestartet …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Pakete (8) graphviz-8.0.1-1  libcap-2.68-1  libheif-1.15.2-1  libva-2.18.0-1  openexr-3.1.7-1  systemd-253.2-1  systemd-libs-253.2-1
           systemd-sysvcompat-253.2-1

Gesamtgröße des Downloads:             14,47 MiB
Gesamtgröße der installierten Pakete:  50,96 MiB
Größendifferenz der Aktualisierung:     1,65 MiB

:: Installation fortsetzen? [J/n] 
:: Pakete werden empfangen …
 libcap-2.68-1-x86_64                                        700,9 KiB   942 KiB/s 00:01 [----------------------------------------------------] 100%
 libheif-1.15.2-1-x86_64                                     274,6 KiB  1415 KiB/s 00:00 [----------------------------------------------------] 100%
 openexr-3.1.7-1-x86_64                                     1183,7 KiB   235 KiB/s 00:05 [----------------------------------------------------] 100%
 libva-2.18.0-1-x86_64                                       183,3 KiB  46,6 KiB/s 00:04 [----------------------------------------------------] 100%
 systemd-libs-253.2-1-x86_64                                1017,0 KiB   101 KiB/s 00:10 [----------------------------------------------------] 100%
 graphviz-8.0.1-1-x86_64                                       4,0 MiB   270 KiB/s 00:15 [----------------------------------------------------] 100%
 systemd-253.2-1-x86_64                                        7,2 MiB   491 KiB/s 00:15 [----------------------------------------------------] 100%
 systemd-sysvcompat-253.2-1-x86_64                             5,9 KiB   112 KiB/s 00:00 [----------------------------------------------------] 100%
 Gesamt (8/8)                                                 14,5 MiB   972 KiB/s 00:15 [----------------------------------------------------] 100%
(8/8) Schlüssel im Schlüsselbund werden geprüft                                          [----------------------------------------------------] 100%
(8/8) Paket-Integrität wird überprüft                                                    [----------------------------------------------------] 100%
(8/8) Paket-Dateien werden geladen                                                       [----------------------------------------------------] 100%
(8/8) Auf Dateikonflikte wird geprüft                                                    [----------------------------------------------------] 100%
(8/8) Verfügbarer Festplattenspeicher wird ermittelt                                     [----------------------------------------------------] 100%
:: Paketänderungen werden verarbeitet …
(1/8) Aktualisiert wird libheif                                                          [----------------------------------------------------] 100%
(2/8) Aktualisiert wird libcap                                                           [----------------------------------------------------] 100%
(3/8) Aktualisiert wird systemd-libs                                                     [----------------------------------------------------] 100%
(4/8) Aktualisiert wird graphviz                                                         [----------------------------------------------------] 100%
(5/8) Aktualisiert wird libva                                                            [----------------------------------------------------] 100%
(6/8) Aktualisiert wird openexr                                                          [----------------------------------------------------] 100%
(7/8) Aktualisiert wird systemd                                                          [----------------------------------------------------] 100%
(8/8) Aktualisiert wird systemd-sysvcompat                                               [----------------------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
( 1/12) Creating system user accounts...
( 2/12) Updating journal message catalog...
( 3/12) Reloading system manager configuration...
( 4/12) Updating udev hardware database...
( 5/12) Applying kernel sysctl settings...
( 6/12) Creating temporary files...
( 7/12) Reloading device manager configuration...
( 8/12) Arming ConditionNeedsUpdate...
( 9/12) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.21-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.1.21-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [systemd]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'bfa'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
==> Image generation successful
(10/12) Reloading system bus configuration...
(11/12) Warn about old perl modules
(12/12) Probing GDK-Pixbuf loader modules...
[joe@arch52 ~]$

Offline

#7 2023-03-31 09:20:05

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

# cat /etc/hosts
# find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#8 2023-03-31 10:35:32

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

schard wrote:
# cat /etc/hosts
[joe@arch52 ~]$ cat /etc/hosts
# Static table lookup for hostnames.
# See hosts(5) for details.
0.0.0.0 get.code-industry.net
[joe@arch52 ~]$
schard wrote:
# find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
[joe@arch52 ~]$ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
[joe@arch52 ~]$

Thank you in advance.

Offline

#9 2023-03-31 10:48:49

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

Okay, you use NetworkManager and you don't have any conflicting network services enabled.
So far, so good. What does

# stat /etc/resolv.conf
# cat /etc/resolv.conf

yield?
Also:

# pacman-conf

Last edited by schard (2023-03-31 10:50:24)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#10 2023-03-31 11:08:54

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

schard wrote:

Okay, you use NetworkManager and you don't have any conflicting network services enabled.
So far, so good. What does

# stat /etc/resolv.conf
# cat /etc/resolv.conf
[joe@arch52 ~]$ stat /etc/resolv.conf
 Datei: /etc/resolv.conf
 Größe: 97        	Blöcke: 8          EA Block: 4096   reguläre Datei
Gerät: 8/2	Inode: 3152987     Verknüpfungen: 1
Zugriff: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Zugriff: 2023-03-31 09:45:13.598668576 +0200
Modifiziert: 2023-03-31 09:45:13.412001907 +0200
Geändert: 2023-03-31 09:45:13.415335240 +0200
Geburt: 2023-03-31 09:45:13.412001907 +0200
[joe@arch52 ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 192.168.1.1
nameserver fe80::1%wlan0
[joe@arch52 ~]$

Yes, Netmanager is installed. Installation is on a notebook. xfce is installed. After archinstall I only modified xfce to my liking. And I installed a few packages: libreoffice firefox vls geany ....
The only one where I had to enable a service is for printing; after cups installation.

schard wrote:

yield?
Also:

# pacman-conf
[joe@arch52 ~]$ pacman-conf
[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
HoldPkg = pacman
HoldPkg = glibc
Architecture = x86_64
Color
CheckSpace
ILoveCandy
ParallelDownloads = 5
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[core]
Usage = All
Server = http://packages.oth-regensburg.de/archlinux/core/os/x86_64
Server = https://mirrors.atviras.lt/archlinux/core/os/x86_64
Server = https://arch.hu.fo/archlinux/core/os/x86_64
Server = https://mirrors.xtom.de/archlinux/core/os/x86_64
Server = https://mirror.fra10.de.leaseweb.net/archlinux/core/os/x86_64
Server = http://mirrors.xtom.ee/archlinux/core/os/x86_64
Server = https://packages.oth-regensburg.de/archlinux/core/os/x86_64
[extra]
Usage = All
Server = http://packages.oth-regensburg.de/archlinux/extra/os/x86_64
Server = https://mirrors.atviras.lt/archlinux/extra/os/x86_64
Server = https://arch.hu.fo/archlinux/extra/os/x86_64
Server = https://mirrors.xtom.de/archlinux/extra/os/x86_64
Server = https://mirror.fra10.de.leaseweb.net/archlinux/extra/os/x86_64
Server = http://mirrors.xtom.ee/archlinux/extra/os/x86_64
Server = https://packages.oth-regensburg.de/archlinux/extra/os/x86_64
[community]
Usage = All
Server = http://packages.oth-regensburg.de/archlinux/community/os/x86_64
Server = https://mirrors.atviras.lt/archlinux/community/os/x86_64
Server = https://arch.hu.fo/archlinux/community/os/x86_64
Server = https://mirrors.xtom.de/archlinux/community/os/x86_64
Server = https://mirror.fra10.de.leaseweb.net/archlinux/community/os/x86_64
Server = http://mirrors.xtom.ee/archlinux/community/os/x86_64
Server = https://packages.oth-regensburg.de/archlinux/community/os/x86_64
[multilib]
Usage = All
Server = http://packages.oth-regensburg.de/archlinux/multilib/os/x86_64
Server = https://mirrors.atviras.lt/archlinux/multilib/os/x86_64
Server = https://arch.hu.fo/archlinux/multilib/os/x86_64
Server = https://mirrors.xtom.de/archlinux/multilib/os/x86_64
Server = https://mirror.fra10.de.leaseweb.net/archlinux/multilib/os/x86_64
Server = http://mirrors.xtom.ee/archlinux/multilib/os/x86_64
Server = https://packages.oth-regensburg.de/archlinux/multilib/os/x86_64
[joe@arch52 ~]$

What do you mean by "yield?".

Offline

#11 2023-03-31 11:53:51

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

That all looks good, as far as I can tell.

luckmeister wrote:

What do you mean by "yield?".

I asked "What does <list of commands> yield?". And you provided that info.

What happens if you change your NetworkManager config to use another nameserver, such as google (8.8.8.8 ) or cloudflare (1.1.1.1)?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#12 2023-03-31 12:13:07

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

Just to avoid any stupidity from my side.
I change the nameserver in file /etc/resolv.conf
right?

Offline

#13 2023-03-31 12:19:26

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

No. That might be overridden by NetworkManager.
You need to edit your used NetworkManager profile and reconnect.

Last edited by schard (2023-03-31 12:19:35)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#14 2023-03-31 16:24:19

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

I am sorry. I'm stuck here.
Where can I set the nameserver?
I could not find it in the nm-applet.
Or is it an "ip" cmd?

When I search the internet for "arch linux NetworkManager profile nameserver" I end up on this two pages:

https://wiki.archlinux.org/title/Network_configuration
https://wiki.archlinux.de/title/Networkmanager

They both don't help me to set the nameserver.

Offline

#15 2023-03-31 16:41:13

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

https://unix.stackexchange.com/question … esolv-conf
See the images in the accepted answer.

Last edited by schard (2023-03-31 16:42:35)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#16 2023-03-31 17:12:34

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

Thank you! That information helped me.

With the google 8.8.8.8 the pacman sync went quickly through:

[joe@arch52 ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 8.8.8.8
nameserver 192.168.1.1
[joe@arch52 ~]$ sudo pacman -Syy
[sudo] Passwort für joe: 
:: Paketdatenbanken werden synchronisiert …
 core                  153,9 KiB   769 KiB/s 00:00 [----------------------] 100%
 extra                1747,2 KiB  2,60 MiB/s 00:01 [----------------------] 100%
 community               7,3 MiB  4,89 MiB/s 00:01 [----------------------] 100%
 multilib              162,0 KiB   783 KiB/s 00:00 [----------------------] 100%
[joe@arch52 ~]$

Next, I will try cloudflare.

Last edited by luckmeister (2023-03-31 17:15:23)

Offline

#17 2023-03-31 17:18:18

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

And with cloudflare it went the same quckly.

[joe@arch52 ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 1.1.1.1
nameserver 192.168.1.1
[joe@arch52 ~]$ sudo pacman -Syy
[sudo] Passwort für joe: 
:: Paketdatenbanken werden synchronisiert …
 core                  153,9 KiB   550 KiB/s 00:00 [----------------------] 100%
 extra                1747,2 KiB  1952 KiB/s 00:01 [----------------------] 100%
 community               7,3 MiB  4,58 MiB/s 00:02 [----------------------] 100%
 multilib              162,0 KiB   547 KiB/s 00:00 [----------------------] 100%
[joe@arch52 ~]$

The question is: can I leave the system with one of these nameservers? Or does it harm the system or security in any other way?

Offline

#18 2023-03-31 17:40:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,653

Re: pacman -Syy takes very long

May I ask why you are using yy ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#19 2023-03-31 17:49:23

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

He did it to test the database syncing, since the issue only occured when the DBs were downloaded.

So, it IS your nameserver, that is slow.

Last edited by schard (2023-03-31 17:49:59)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#20 2023-03-31 17:56:40

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

schard wrote:

So, it IS your nameserver, that is slow.

Yes. But that is a matter of the dsl-provider, isn't it? Or can I speed it up in any other way?

Offline

#21 2023-03-31 17:59:32

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: pacman -Syy takes very long

Probably it is your provider, yes.
You can just keep on using a different DNS server, such as one of the two you already tried or another public DNS server.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#22 2023-03-31 18:03:15

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

Thank you very much for your help and for the lesson!

Offline

#23 2023-03-31 18:37:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,350

Re: pacman -Syy takes very long

You can also add a caching (only) local DNS server, https://wiki.archlinux.org/title/Domain … NS_servers (effectively dnsmasq, stubby or resolved)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#24 2023-03-31 20:22:45

luckmeister
Member
Registered: 2023-03-30
Posts: 13

Re: pacman -Syy takes very long

seth wrote:

You can also add a caching (only) local DNS server, https://wiki.archlinux.org/title/Domain … NS_servers (effectively dnsmasq, stubby or resolved)

I will check on that. Thank you!

Offline

Board footer

Powered by FluxBB