Repeatedly fails to update

I hope i am putting this in the right place. When ever I try to do an update I get a ton of errors maybe some one can tell me what is going on thanks. tried both pamac and pacman as well GUI.
All out of attack vectors for this problem. I am marginally technical but I am rather new to linux sorry if this is a noob question.

[solderstation@Solder ~]$ sudo pamac update
[sudo] password for solderstation: 
Preparing...
Synchronizing package databases...
https://us.mirrors.fossho.st/manjaro/stable/core/x86_64/core.db: Could not connect: Socket I/O timed out
https://us.mirrors.fossho.st/manjaro/stable/extra/x86_64/extra.db: Could not connect: Socket I/O timed out
https://us.mirrors.fossho.st/manjaro/stable/community/x86_64/community.db: Could not connect: Socket I/O timed out
https://us.mirrors.fossho.st/manjaro/stable/multilib/x86_64/multilib.db: Could not connect: Socket I/O timed out
Warning: installing lib32-libcanberra (0.30+2+gc0620e4-5) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
Add lib32-libcanberra-gstreamer to remove
Warning: installing libcanberra (0.30+2+gc0620e4-5) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer
Add libcanberra-gstreamer to remove
Resolving dependencies...
Checking inter-conflicts...
Warning: dependency cycle detected:
Warning: bashrc-manjaro will be installed before its bash dependency
Warning: dependency cycle detected:
Warning: harfbuzz will be installed before its freetype2 dependency
Warning: dependency cycle detected:
Warning: libglvnd will be installed before its mesa dependency
Warning: dependency cycle detected:
Warning: smbclient will be installed before its cifs-utils dependency
Warning: dependency cycle detected:
Warning: lib32-keyutils will be installed before its lib32-krb5 dependency
Warning: dependency cycle detected:
Warning: lib32-mesa will be installed before its lib32-libglvnd dependency
Warning: dependency cycle detected:
Warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency

Hi @Teljkon,

It would seem you’ve not updated in quite some time, according to what I see anyway. It looks like pacman/pamac is unable to find your databases and thus the database files.

Try:

sudo pacman-mirrors --country all --api --protocol all --set-branch stable && sudo pacman -Syyuu

And see if that helps. If not, reply and provide the whole output from the terminal.

2 Likes

I don’t terribly like to throw out commands i don’t understand could you explain this snippet.

--country all --api --protocol all

while i don’t mind setting my country to all. why would my api protocol need to be all? frankly what is my api protocol?

Some reading:
https://wiki.manjaro.org/index.php/Pacman-mirrors

https://wiki.manjaro.org/index.php/Pacman_Overview

2 Likes
  • sudo → run as fake root
  • pacman-mirrors → execute the tool
  • --country all → don’t filter by country, get all
  • --api --protocol → use all available protocols (https,http,ftps,ftp), you can also just use https instead of all
  • --set-branch stable → set the branch to stable
  • && → run the following command if the previous command was successful
  • sudo → run as fake root
  • pacman → execute the tool
  • -Syyuu → After a force update of the database, do a full upgrade and downgrade packages if needed.

pacman-mirrors sorts the mirrors by response time.

3 Likes

Thank you so much that is an excellent explanation I knew most of it but that fills in the blanks. Here is an interesting thing that just happened I ran the command

sudo pacman-mirrors --interactive

and it only returned mirrors in Europe and two global. Odd since I am in North America.

thank you i will look that over

Still not Joy sadly.

[solderstation@Solder ~]$ sudo pacman-mirrors --country all --api --protocol https --set-branch stable && sudo pacman -Syyuu
::INFO Branch in config is changed
::INFO Protocols in config is changed
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  1.204 Belgium        : https://mirror.futureweb.be/manjaro/
  1.624 Bulgaria       : https://manjaro.ipacct.com/manjaro/
  0.664 Canada         : https://osmirror.org/manjaro/
  1.147 Chile          : https://mirror.ufro.cl/manjaro/
  1.104 Chile          : https://mirror1.cl.netactuate.com/manjaro/
  1.272 Finland        : https://manjaro.kyberorg.fi/
  1.451 Germany        : https://mirror.alpix.eu/manjaro/
  1.522 Germany        : https://ftp.gwdg.de/pub/linux/manjaro/
  1.512 Germany        : https://mirror.23m.com/manjaro/
  0.988 Germany        : https://manjaro.moson.eu/
  1.078 Germany        : https://mirror.moson.org/manjaro/
  0.737 Global         : https://mirrors.manjaro.org/repo/
  1.542 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  0.706 Indonesia      : https://mirror.deace.id/manjaro/
  1.115 Netherlands    : https://manjaro.mirrors.lavatech.top/
  2.073 Russia         : https://mirror.truenetwork.ru/manjaro/
  0.946 Switzerland    : https://mirror.init7.net/manjaro/
  1.215 Ukraine        : https://fastmirror.pp.ua/manjaro/
  0.819 United_Kingdom : https://mirror.cyberhost.uk/sites/manjaro/
  0.640 United_States  : https://repo.ialab.dsu.edu/manjaro/
::INFO Writing mirror list
::United_States   : https://repo.ialab.dsu.edu/manjaro/stable
::Canada          : https://osmirror.org/manjaro/stable
::Indonesia       : https://mirror.deace.id/manjaro/stable
::Global          : https://mirrors.manjaro.org/repo/stable
::United_Kingdom  : https://mirror.cyberhost.uk/sites/manjaro/stable
::Switzerland     : https://mirror.init7.net/manjaro/stable
::Germany         : https://manjaro.moson.eu/stable
::Germany         : https://mirror.moson.org/manjaro/stable
::Chile           : https://mirror1.cl.netactuate.com/manjaro/stable
::Netherlands     : https://manjaro.mirrors.lavatech.top/stable
::Chile           : https://mirror.ufro.cl/manjaro/stable
::Belgium         : https://mirror.futureweb.be/manjaro/stable
::Ukraine         : https://fastmirror.pp.ua/manjaro/stable
::Finland         : https://manjaro.kyberorg.fi/stable
::Germany         : https://mirror.alpix.eu/manjaro/stable
::Germany         : https://mirror.23m.com/manjaro/stable
::Germany         : https://ftp.gwdg.de/pub/linux/manjaro/stable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::Bulgaria        : https://manjaro.ipacct.com/manjaro/stable
::Russia          : https://mirror.truenetwork.ru/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
 core                                                                                  168.9 KiB  1181 KiB/s 00:00 [####################################################################] 100%
 extra                                                                                1918.7 KiB  8.40 MiB/s 00:00 [####################################################################] 100%
 community                                                                               6.8 MiB  37.0 MiB/s 00:00 [####################################################################] 100%
 multilib                                                                              176.5 KiB  0.00   B/s 00:00 [####################################################################] 100%
:: Starting full system upgrade...
:: Replace jack with extra/jack2? [Y/n] Y
:: Replace lib32-jack with multilib/lib32-jack2? [Y/n] Y
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] Y
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] Y
:: Replace mhwd-nvidia-418xx with extra/mhwd-nvidia? [Y/n] Y
:: Replace mhwd-nvidia-430xx with extra/mhwd-nvidia? [Y/n] Y
:: Replace mhwd-nvidia-435xx with extra/mhwd-nvidia? [Y/n] Y
:: Replace mhwd-nvidia-440xx with extra/mhwd-nvidia? [Y/n] Y
:: Replace mhwd-nvidia-450xx with extra/mhwd-nvidia? [Y/n] Y
:: Replace pamac-common with extra/libpamac? [Y/n] Y
:: Replace pamac-flatpak-plugin with extra/libpamac-flatpak-plugin? [Y/n] Y
:: Replace pamac-snap-plugin with extra/libpamac-snap-plugin? [Y/n] Y
:: Replace pygobject-devel with extra/python-gobject? [Y/n] Y
:: Replace python-dbus with extra/dbus-python? [Y/n] Y
:: Replace python-dbus-common with extra/dbus-python? [Y/n] Y
:: Replace python-sip with extra/python-sip4? [Y/n] Y
:: Replace xdg-desktop-portal-gtk with extra/xdg-desktop-portal-gnome? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-5) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-5) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer
[solderstation@Solder ~]$ 

Some small improvement it is dropping me into a good terminal rather than hanging.

Remove the conflicting packages:

sudo pacman -R lib32-libcanberra-gstreamer libcanberra-gstreamer

and update again.

2 Likes
[solderstation@Solder ~]$ sudo pacman -R lib32-libcanberra-gstreamer && Sudo pacman -Syyuu
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-libcanberra-gstreamer breaks dependency 'lib32-libcanberra-gstreamer' required by manjaro-pulse
[solderstation@Solder ~]$ 

Should i -Rc this thing? What is Manjaro pulse, in terms or its reach? will i have no audio or is this just the mp3 player? Because if it is just the mp3 player i could give a poo. I do use this PC to stream tutorials on how to do things with circuits from Youtube.

Strange… At least on my system manjaro-pulse doesn’t need this package:

$ LANG=C pacman -Qi manjaro-pulse                                      ✔ 
Name            : manjaro-pulse
Version         : 20211001-1
Description     : Manjaro meta package for complete PulseAudio support
Architecture    : any
URL             : www.manjaro.org
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : pulseaudio  pulseaudio-alsa  pulseaudio-bluetooth  pulseaudio-jack  pulseaudio-lirc  pulseaudio-rtp
                  pulseaudio-zeroconf
Optional Deps   : paprefs: Configuration dialog
                  pasystray: system tray application
                  pavucontrol: A GTK volume control tool [installed]
                  pavucontrol-qt: A Qt volume control tool
                  pulseaudio-ctl: Control volume from the shell or mapped to keyboard shortcuts [installed]
                  pulseaudio-equalizer: for equalizer sink (qpaeq) [installed]
                  pulseaudio-equalizer-ladspa: A GUI equalizer
Required By     : None
Optional For    : None
Conflicts With  : lib32-pipewire-jack  manjaro-pipewire  pipewire-jack  pipewire-pulse  pipewire-zeroconf
Replaces        : None
Installed Size  : 0.00 B
Packager        : Mark Wagie <mark@manjaro.org>
Build Date      : Fri Oct 1 21:10:46 2021
Install Date    : Sun Nov 7 07:34:00 2021
Install Reason  : Explicitly installed
Install Script  : No

Also include manjaro-pulse for removing… you can reinstall pulse after reinstallation again if needed.

Is it a very old installation?

3 Likes

it seems to be clicking along now just fine thank you. I think that did it if I run into any more errors I will certainly ask here.

Yep no blue dot thank you Mr Volt.

Next time search the forum first. :wink: