Serious issues in the upgrade process

good evening dear friends
during a update i got serious errors


sudo] Passwort für martin: 
:: Paketdatenbanken werden synchronisiert …
 endeavouros                      12,3 KiB  11,0 KiB/s 00:01 [--------------------------------] 100%
 core                            115,5 KiB   509 KiB/s 00:00 [--------------------------------] 100%
 extra                             7,7 MiB  1749 KiB/s 00:05 [--------------------------------] 100%
 community.db konnte nicht heruntergeladen werden
 multilib                        131,1 KiB   372 KiB/s 00:00 [--------------------------------] 100%
Fehler: Konnte Datei 'community.db' nicht von de.arch.niranjan.co übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.thaller.ws übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von pkg.fef.moe übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.moson.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.ubrco.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.pseudoform.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.phinau.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.arch.mirror.kescher.at übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.lcarilla.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.jensgutermuth.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von packages.oth-regensburg.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.hugo-betrugo.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.homeinfo.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.dogado.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirrors.niyawe.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.23m.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.unixpeople.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.cmt.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von files.hadiko.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.mirrors.cicku.me übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von geo.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.rackspace.com übertragen : The requested URL returned error: 404
Fehler: Keine Datenbank konnte synchronisiert werden (Konnte manche Dateien nicht übertragen)
[martin@m-tp ~]$

hmm - i think that i need to correct the mirrors - what do you think!?

You need to remove the community repo from /etc/pacman.conf

See:

4 Likes

awesome - should i go like so:

» Newbie Corner
» [SOLVED]Removing other repositories and its packages
[SOLVED]Removing other repositories and its packages

I had multilib and multilib-testing on my pacman conf. When I was updating, I ran into problems. I uninstalled the downloaded packages like this:

sudo pacman -Rns $(pacman -Qdtq)

It was fine for a while, but now there are problems with the update again, and it's hard to delete manually and it felt too interconnected:

guns@roses ~ % sudo pacman -Syu
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nettle (3.10-1) breaks dependency 'nettle=3.9.1' required by lib32-nettle
1 guns@roses ~ % sudo pacman -S nettle
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nettle (3.10-1) breaks dependency 'nettle=3.9.1' required by lib32-nettle
1 guns@roses ~ % sudo pacman -Rsn lib32-nettle
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-nettle breaks dependency 'lib32-nettle' required by lib32-gnutls
:: removing lib32-nettle breaks dependency 'libnettle.so=8-32' required by lib32-gnutls

in other words - should i run this command first

sudo pacman -Rns $(pacman -Qdtq)

this would take me to this …:

Dateien nicht übertragen)
[root@m-tp martin]# sudo pacman -Rns $(pacman -Qdtq)
Abhängigkeiten werden geprüft …
:: git benötigt optional org.freedesktop.secrets: keyring credential helper
:: libde265 benötigt optional sdl: dec265 YUV overlay output
:: libsecret benötigt optional org.freedesktop.secrets: secret storage backend
:: python-pyqt5 benötigt optional qt5-multimedia: QtMultimedia, QtMultimediaWidgets
:: python-pyqt5 benötigt optional qt5-declarative: QtQml, qmlplugin
:: python-pyqt5 benötigt optional qt5-speech: QtTextToSpeech
:: python-pyqt5 benötigt optional qt5-location: QtLocation, QtPositioning
:: python-pyqt5 benötigt optional qt5-webchannel: QtWebChannel
:: qt5-base benötigt optional qt5-wayland: to run Qt applications in a Wayland session
:: vivaldi benötigt optional org.freedesktop.secrets: better secret storage in gnome-keyring or kwallet
:: vlc benötigt optional sdl12-compat: SDL image support

Paket (94)                   Alte Version            Netto-Veränderung

iniparser                    4.2.6-1                         -0,06 MiB
jsoncpp                      1.9.6-3                         -0,77 MiB
karchive5                    5.116.0-1                       -1,05 MiB
kauth5                       5.116.0-1                       -0,75 MiB
kbookmarks5                  5.116.0-1                       -1,27 MiB
kcodecs5                     5.116.0-1                       -0,99 MiB
kcompletion5                 5.116.0-1                       -1,11 MiB
kconfig5                     5.116.0-1                       -2,93 MiB
kconfigwidgets5              5.116.0-1                       -2,66 MiB
kcoreaddons5                 5.116.0-1                       -3,44 MiB
kcrash5                      5.116.0-1                       -0,22 MiB
kdbusaddons5                 5.116.0-1                       -0,46 MiB
kdeclarative5                5.116.0-1                       -1,59 MiB
kded5                        5.116.0-1                       -0,11 MiB
kglobalaccel5                5.116.0-1                       -0,62 MiB
kguiaddons5                  5.116.0-1                       -0,69 MiB
ki18n5                       5.116.0-1                      -17,50 MiB
kiconthemes5                 5.116.0-1                       -1,02 MiB
kio5                         5.116.0-1                      -28,71 MiB
kirigami2                    5.116.0-1                       -2,05 MiB
kitemviews5                  5.116.0-1                       -0,88 MiB
kjobwidgets5                 5.116.0-1                       -0,73 MiB
knotifications5              5.116.0-1                       -1,04 MiB
kpackage5                    5.116.0-1                       -0,98 MiB
kservice5                    5.116.0-1                       -1,65 MiB
ktextwidgets5                5.116.0-1                       -2,15 MiB
kwallet5                     5.116.0-1                       -2,33 MiB
kwidgetsaddons5              5.116.0-1                      -11,30 MiB
kwindowsystem5               5.116.0-1                       -1,79 MiB
kxmlgui5                     5.116.0-1                       -4,67 MiB
libdbusmenu-qt5              0.9.3+16.04.20160218-7          -0,63 MiB
libtraceevent                1:1.8.4-1                       -0,39 MiB
libtracefs                   1.8.1-1                         -0,37 MiB
libwpe                       1.16.2-1                        -0,30 MiB
llhttp                       9.2.1-2                         -0,10 MiB
polkit-qt5                   0.200.0-1                       -0,33 MiB
qca-qt5                      2.3.9-4                         -2,95 MiB
qt5-declarative              5.15.16+kde+r22-3              -23,09 MiB
qt5-graphicaleffects         5.15.16-3                       -0,52 MiB
qt5-location                 5.15.16+kde+r7-3                -9,20 MiB
qt5-multimedia               5.15.16+kde+r2-3                -3,38 MiB
qt5-quickcontrols            5.15.16-3                       -4,72 MiB
qt5-quickcontrols2           5.15.16+kde+r5-3                -8,59 MiB
qt5-speech                   5.15.16+kde+r1-3                -0,17 MiB
qt5-wayland                  5.15.16+kde+r59-3               -6,00 MiB
qt5-webchannel               5.15.16+kde+r3-3                -0,22 MiB
sdl12-compat                 1.2.68-2                        -0,64 MiB
solid5                       5.116.0-1                       -2,49 MiB
sonnet5                      5.116.0-1                       -2,26 MiB
box2d                        3.0.0-1                         -0,45 MiB
checkbashisms                2.24.5-1                        -0,03 MiB
db                           6.2.32-1                        -7,16 MiB
electron25                   25.9.8-1                      -212,73 MiB
electron27                   27.3.11-7                     -216,46 MiB
electron28                   28.3.3-3                      -226,51 MiB
electron29                   1:29.4.6-2                    -227,46 MiB
electron30                   30.5.1-3                      -228,27 MiB
gsfonts                      20200910-4                      -3,11 MiB
http-parser                  2.9.4-2                         -0,06 MiB
js78                         78.15.0-4                      -62,31 MiB
kactivities5                 5.116.0-1                       -0,74 MiB
kcmutils5                    5.116.0-1                       -1,60 MiB
kitemmodels                  6.11.0-1                        -1,03 MiB
kjs                          5.115.0-1                       -1,53 MiB
kparts5                      5.116.0-1                       -2,04 MiB
kpty5                        5.116.0-1                       -0,40 MiB
ldns                         1.8.4-1                         -1,87 MiB
libcddb                      1.3.2-7                         -0,15 MiB
libei                        1.3.0-1                         -0,36 MiB
libgit2                      1:1.9.0-2                       -3,05 MiB
libhandy                     1.8.3-2                         -2,42 MiB
libical                      3.0.19-1                        -7,05 MiB
libindicator-gtk3            12.10.1-10                      -0,09 MiB
libomxil-bellagio            0.9.3-5                         -0,58 MiB
libsidplay                   1.36.59-10                      -0,26 MiB
libvisual                    0.4.2-2                         -0,54 MiB
lsb-release                  2.0.r55.a25a4fc-1               -0,02 MiB
lua53                        5.3.6-3                         -1,07 MiB
mbedtls2                     2.28.9-1                        -2,94 MiB
ndctl                        79-1                            -0,94 MiB
poppler-qt5                  25.01.0-1                       -0,87 MiB
purpose5                     5.116.0-1                       -1,48 MiB
python-appdirs               1.4.4-11                        -0,09 MiB
python-future                1.0.0-1                         -4,73 MiB
python-ply                   3.11-14                         -0,39 MiB
python-ujson                 5.10.0-2                        -0,14 MiB
qt5-webengine                5.15.18-5                     -155,28 MiB
rest                         0.8.1+r4+ge5ee6ef-1             -0,83 MiB
threadweaver5                5.116.0-1                       -0,86 MiB
tinycompress                 1.2.13-1                        -0,08 MiB
wayland-protocols            1.41-1                          -0,88 MiB
webkit2gtk                   2.46.5-1                      -114,99 MiB
webrtc-audio-processing-0.3  0.3.1-6                         -0,82 MiB
wpebackend-fdo               1.14.3-2                        -0,13 MiB

Gesamtgröße der entfernten Pakete: 1656,65 MiB

hmmm - i look foreard to hear from you

That is a command to remove orphans.

You need to modify your /etc/pacman.conf

1 Like

Simply follow the advice given on the Arch Linux website:

On systems where /etc/pacman.conf still references the old [community] repository, pacman -Sy will return an error on trying to sync repository metadata.

Do as Dalto suggests.

1 Like

Hello dear Dalto hello dear eznix

first of all - i am not (!) sitting in front of the notebook so i cannot perform the steps. I am
not at home at the moment - i am in office. And the notebook where i encountered the issues - is at home. But - well - here in the office i have another NB that behaves also not very nice - and so we can say - i run into all most similar issues during the week - it IS allways the same. If a Notebook is not maintained well - then i get the issues and i have to fix it -

that said: i am so glad to be part of this great forum here. :wink: A big big sorry for my endless newbie quesitons.

So back to the topic: many thanks - i have had a quick view on the Arch-Wiki-page which is a true asset of ideas and knowledge. Thats for sure.

well - to break it down: could /(should) i do this like so

sudo nano /etc/pacman.conf

to find and remove (or comment out) the [community] section and its associated lines.

and in a second step: refreshing the so called mirrorlist to get propperly working mirrors:

sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist

and last but not least - subsequently Update the Mirrorlist
that means i need to refresh the mirrorlist to get working mirrors:

sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist

btw: well regarding the reflector: If reflector isn’t installed, well then i need to install it first with sudo pacman -S reflector.

As i am not (!) sitting in front of the notebook (in question) i have written down a little breakdown that i will perform on Sunday evening…

many thanks for all your support - and i will come and report how it goes.

greetings

sudo pacman -Syyu

This is doing the exact same thing twice. You probably don’t need to do this at all but you definitely don’t need to do it twice.

You are making this far more complicated than it needs to be. Simply remove the unneeded repos from /etc/pacman.conf and update your system as normal.

2 Likes