Trying to update Manjaro but failed due to package dependency

Hello Manjaro developers,

I tried to update my Manjaro but failed as shown in the following log:

~ su
Password: 
[dv6 hp]# pacman-mirrors -f
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json


::ERROR Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Read timed out. (read timeout=2)
::INFO => Mirror status: http://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  ..... Turkey         : http://ftp.linux.org.tr/manjaro/
  ..... Turkey         : ftp://ftp.linux.org.tr/manjaro/
  ..... United_States  : https://mirror.dacentec.com/manjaro/
  2.677 Canada         : https://mirror.0xem.ma/manjaro/
  1.784 Canada         : http://mirror.0xem.ma/manjaro/
  ..... Poland         : http://ftp.vectranet.pl/manjaro/

::ERROR Connection: HTTPConnectionPool(host='ftp.vectranet.pl', port=80): Read timed out.

  ..... Poland         : ftp://ftp.vectranet.pl/manjaro/
  2.673 Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  ..... Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  1.927 Norway         : http://mirror.terrahost.no/linux/manjaro/
  1.804 United_Kingdom : http://manjaro.mirrors.uk2.net/
  ..... Kenya          : https://manjaro.mirror.liquidtelecom.com/
  ..... Kenya          : http://manjaro.mirror.liquidtelecom.com/
  ..... Chile          : https://mirror1.cl.netactuate.com/manjaro/
  ..... Chile          : http://mirror1.cl.netactuate.com/manjaro/
  ..... Chile          : ftp://mirror1.cl.netactuate.com/manjaro/
  ..... Ukraine        : http://mirrors.colocall.net/manjaro/

::ERROR Connection: HTTPConnectionPool(host='mirrors.colocall.net', port=80): Read timed out. (read timeout=2)

  ..... Ukraine        : ftp://mirrors.colocall.net/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.')
  1.908
  3.145 Italy          : https://manjaro.mirror.garr.it/manjaro/
  2.039 United_States  : https://mirror.math.princeton.edu/pub/manjaro/
  ..... China          : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
  ..... South_Africa   : http://mirror.is.co.za/mirrors/manjaro.org/
  0.627 Global         : https://mirrors.manjaro.org/repo/
  ..... Global         : http://mirrors.manjaro.org/repo/
  ..... Bulgaria       : https://manjaro.ipacct.com/manjaro/
  ..... Georgia        : https://repos.silknet.com/manjaro/
  ..... Georgia        : http://repos.silknet.com/manjaro/
  ..... Switzerland    : https://mirror.init7.net/manjaro/
  ..... Switzerland    : http://mirror.init7.net/manjaro/
  ..... Chile          : http://manjaro.dcc.uchile.cl/
  ..... Portugal       : http://ftp.dei.uc.pt/pub/linux/manjaro/
  ..... Germany        : https://mirror.23media.com/manjaro/
  ..... Germany        : http://mirror.23media.com/manjaro/
  ..... Italy          : https://ct.mirror.garr.it/mirrors/manjaro/
  ..... United_States  : https://repo.ialab.dsu.edu/manjaro/
  1.525 United_States  : http://repo.ialab.dsu.edu/manjaro/
  2.382 South_Korea    : https://mirror.d-tl.com/manjaro/
  ..... Canada         : https://mirror.csclub.uwaterloo.ca/manjaro/
  0.456 Australia      : https://manjaro.lucassymons.net/
  ..... Sweden         : https://mirror.zetup.net/manjaro/
  2.313 Finland        : https://manjaro.kyberorg.fi/
  1.814 Finland        : http://manjaro.kyberorg.fi/
  2.206 Indonesia      : https://mirror.deace.id/manjaro/
  1.567 Indonesia      : http://mirror.deace.id/manjaro/
  3.206 Belgium        : https://mirror.futureweb.be/manjaro/
  1.743 Belgium        : http://mirror.futureweb.be/manjaro/
  2.900 Bulgaria       : https://mirror.telepoint.bg/manjaro/
  ..... Bulgaria       : http://mirror.telepoint.bg/manjaro/
  ..... Bulgaria       : ftps://mirror.telepoint.bg/manjaro/

::ERROR unknown url type: ftps
  0.000
  0.745 Philippines    : http://mirror.rise.ph/manjaro/
  1.666 Philippines    : ftp://mirror.rise.ph/manjaro/
  ..... China          : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
  ..... United_Kingdom : https://mirrors.gethosted.online/manjaro/repos/
  ..... United_Kingdom : http://mirrors.gethosted.online/manjaro/repos/
  3.967 Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/
  ..... Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/
  ..... Belgium        : http://ftp.belnet.be/mirrors/manjaro/repos/
  ..... Belgium        : ftp://ftp.belnet.be/mirrors/manjaro/repos/

::ERROR ftp error: timeout('timed out')

  3.141 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  ..... Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/
  ..... Germany        : https://manjaro.moson.eu/
  ..... Germany        : http://manjaro.moson.eu/
  ..... Austria        : http://mirror.easyname.at/manjaro/
  ..... Austria        : ftp://mirror.easyname.at/manjaro/
  ..... Germany        : https://mirror.alpix.eu/manjaro/
  3.819 Iceland        : https://mirrors.opensource.is/manjaro/
  ..... Iceland        : http://mirrors.opensource.is/manjaro/
  ..... Iceland        : ftp://mirrors.opensource.is/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.')
  1.916
  2.971 Netherlands    : https://mirror.koddos.net/manjaro/
  ..... Singapore      : https://download.nus.edu.sg/mirror/manjaro/
  ..... Germany        : https://manjaro.re/
  ..... Germany        : http://manjaro.re/
  3.428 Denmark        : https://mirrors.dotsrc.org/manjaro/
  ..... Georgia        : https://manjaro.grena.ge/
  ..... Georgia        : http://manjaro.grena.ge/
  ..... Czech          : https://mirror.dkm.cz/manjaro/
  ..... Belarus        : http://mirror.datacenter.by/pub/mirrors/manjaro/
  0.757 New_Zealand    : http://manjaro.mirrors.theom.nz/
  ..... Poland         : https://repo.skni.umcs.pl/manjaro/
  1.932 Poland         : http://repo.skni.umcs.pl/manjaro/
  ..... Costa_Rica     : https://mirrors.ucr.ac.cr/manjaro/
  0.960 Hong_Kong      : http://ftp.cuhk.edu.hk/pub/Linux/manjaro/
  ..... Hong_Kong      : ftp://ftp.cuhk.edu.hk/pub/Linux/manjaro/
  ..... Chile          : https://mirror.ufro.cl/manjaro/
  3.305 France         : https://mirror.oldsql.cc/manjaro/
  1.825 Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/
  ..... Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/
  2.981 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/re
  ..... Italy          : https://ba.mirror.garr.it/mirrors/manjaro/
  ..... Russia         : https://mirror.truenetwork.ru/manjaro/
  ..... Russia         : http://mirror.truenetwork.ru/manjaro/
  ..... Brazil         : https://manjaro.c3sl.ufpr.br/
  ..... Netherlands    : https://manjaro.mirrors.lavatech.top/
  ..... Netherlands    : http://manjaro.mirrors.lavatech.top/
  ..... Japan          : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
  ..... Germany        : https://manjaro.moson.org/
  ..... Germany        : http://manjaro.moson.org/
  ..... Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  ..... Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/
  ..... Bulgaria       : http://manjaro.telecoms.bg/
  ..... Netherlands    : https://mirror.easylee.nl/manjaro/
  ..... Netherlands    : http://mirror.easylee.nl/manjaro/
  ..... Russia         : https://mirror.yandex.ru/mirrors/manjaro/
  ..... Spain          : https://ftp.caliu.cat/pub/distribucions/manjaro/
  ..... Spain          : http://ftp.caliu.cat/pub/distribucions/manjaro/
  3.727 Canada         : https://osmirror.org/manjaro/
  ..... Germany        : http://ftp.tu-chemnitz.de/pub/linux/manjaro/
  ..... Germany        : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/
  3.950 Switzerland    : https://manjaro.osmir.ch/
  ..... Switzerland    : http://manjaro.osmir.ch/
  2.953 United_States  : https://mirrors.gigenet.com/manjaro/
  1.527 United_States  : http://mirrors.gigenet.com/manjaro/
  ..... Ukraine        : https://fastmirror.pp.ua/manjaro/
  1.971 Ukraine        : http://fastmirror.pp.ua/manjaro/
  1.836 Global         : https://mirrors.fossho.st/manjaro/
  0.310 Global         : http://mirrors.fossho.st/manjaro/
  ..... Germany        : https://mirror.atysleaks.org/manjaro/
  ..... Germany        : http://mirror.atysleaks.org/manjaro/
  ..... Germany        : https://ftp.gwdg.de/pub/linux/manjaro/
  1.853 Germany        : http://ftp.gwdg.de/pub/linux/manjaro/
  ..... Germany        : ftp://ftp.gwdg.de/pub/linux/manjaro/
::INFO Writing mirror list
::Bulgaria        : https://mirror.telepoint.bg/manjaro/testing
::Global          : https://mirrors.fossho.st/manjaro/testing
::Australia       : https://manjaro.lucassymons.net/testing
::New_Zealand     : http://manjaro.mirrors.theom.nz/testing
::United_States   : https://repo.ialab.dsu.edu/manjaro/testing
::United_States   : https://mirrors.gigenet.com/manjaro/testing
::Indonesia       : https://mirror.deace.id/manjaro/testing
::Philippines     : http://mirror.rise.ph/manjaro/testing
::Belgium         : https://mirror.futureweb.be/manjaro/testing
::Canada          : https://mirror.0xem.ma/manjaro/testing
::United_Kingdom  : http://manjaro.mirrors.uk2.net/testing
::Finland         : https://manjaro.kyberorg.fi/testing
::Ukraine         : http://mirrors.colocall.net/manjaro/testing
::Iceland         : https://mirrors.opensource.is/manjaro/testing
::Norway          : http://mirror.terrahost.no/linux/manjaro/testing
::Poland          : https://repo.skni.umcs.pl/manjaro/testing
::Ukraine         : https://fastmirror.pp.ua/manjaro/testing
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/testing
::Netherlands     : https://manjaro.mirrors.lavatech.top/testing
::Switzerland     : https://manjaro.osmir.ch/testing
::Kenya           : https://manjaro.mirror.liquidtelecom.com/testing
::Georgia         : https://manjaro.grena.ge/testing
::Russia          : https://mirror.truenetwork.ru/manjaro/testing
::South_Korea     : https://mirror.d-tl.com/manjaro/testing
::Belgium         : http://ftp.belnet.be/mirrors/manjaro/repos/testing
::Hong_Kong       : http://ftp.cuhk.edu.hk/pub/Linux/manjaro/testing
::Germany         : https://manjaro.re/testing
::Bulgaria        : http://manjaro.telecoms.bg/testing
::Japan           : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/testing
::Netherlands     : https://mirror.koddos.net/manjaro/testing
::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/testing
::Italy           : https://manjaro.mirror.garr.it/manjaro/testing
::France          : https://mirror.oldsql.cc/manjaro/testing
::Germany         : https://manjaro.moson.org/testing
::Switzerland     : https://mirror.init7.net/manjaro/testing
::Denmark         : https://mirrors.dotsrc.org/manjaro/testing
::Chile           : http://manjaro.dcc.uchile.cl/testing
::Belarus         : http://mirror.datacenter.by/pub/mirrors/manjaro/testing
::Canada          : https://osmirror.org/manjaro/testing
::Germany         : https://manjaro.moson.eu/testing
::Germany         : https://mirror.23media.com/manjaro/testing
::Singapore       : https://download.nus.edu.sg/mirror/manjaro/testing
::Portugal        : http://ftp.dei.uc.pt/pub/linux/manjaro/testing
::Germany         : https://mirror.atysleaks.org/manjaro/testing
::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/testing
::United_States   : https://mirror.dacentec.com/manjaro/testing
::Chile           : https://mirror.ufro.cl/manjaro/testing
::Georgia         : https://repos.silknet.com/manjaro/testing
::Netherlands     : http://ftp.snt.utwente.nl/pub/linux/manjaro/testing
::Netherlands     : https://mirror.easylee.nl/manjaro/testing
::Costa_Rica      : https://mirrors.ucr.ac.cr/manjaro/testing
::Poland          : http://ftp.vectranet.pl/manjaro/testing
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/testing
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/testing
::Russia          : https://mirror.yandex.ru/mirrors/manjaro/testing
::Brazil          : https://manjaro.c3sl.ufpr.br/testing
::Global          : https://mirrors.manjaro.org/repo/testing
::Turkey          : http://ftp.linux.org.tr/manjaro/testing
::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/testing
::Sweden          : https://mirror.zetup.net/manjaro/testing
::Austria         : http://mirror.easyname.at/manjaro/testing
::United_Kingdom  : https://mirrors.gethosted.online/manjaro/repos/testing
::Italy           : https://ba.mirror.garr.it/mirrors/manjaro/testing
::Chile           : https://mirror1.cl.netactuate.com/manjaro/testing
::Czech           : https://mirror.dkm.cz/manjaro/testing
::Germany         : https://mirror.alpix.eu/manjaro/testing
::Germany         : http://ftp.tu-chemnitz.de/pub/linux/manjaro/testing
::Bulgaria        : https://manjaro.ipacct.com/manjaro/testing
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/testing
::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/testing
::Germany         : https://ftp.gwdg.de/pub/linux/manjaro/testing
::South_Africa    : http://mirror.is.co.za/mirrors/manjaro.org/testing
::Spain           : https://ftp.caliu.cat/pub/distribucions/manjaro/testing
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/testing
::Canada          : https://mirror.csclub.uwaterloo.ca/manjaro/testing
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[dv6 hp]# pacman -Syuu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] Y
:: Replace libcanberra-pulse with extra/libcanberra? [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
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer
[dv6 hp]# pacman -Syuu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] N
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] N
:: Replace pamac-common with extra/libpamac? [Y/n] N
:: Replace pamac-flatpak-plugin with extra/libpamac-flatpak-plugin? [Y/n] N
:: Replace pamac-snap-plugin with extra/libpamac-snap-plugin? [Y/n] N
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-pulse
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-pulse
:: installing pacman (6.0.0-1) breaks dependency 'pacman<5.3' required by pamac-common
:: installing pamac-cli (10.1.3-3) breaks dependency 'pamac-cli=10.1.2-4' required by pamac-flatpak-plugin
:: installing pamac-cli (10.1.3-3) breaks dependency 'pamac-cli=10.1.2-4' required by pamac-snap-plugin
[dv6 hp]# pacman -Syuu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] N
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] N
:: 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
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-pulse
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-pulse
[dv6 hp]# 

Please advise me how to fix this.

Thank you very much

Try to use

pamac update

on console.

1 Like

Is there a reason why you not replace these packages?

Checking announcements is usually a good start.

4 Likes

Thanks everyone for your nice advice. It’s been a while I keep the laptop as a backup.

Let me try and see :slight_smile:

Great thanks

1 Like

pacman failed due to the libcanberra package errors as others mentioned above. But the network errors came from your runtime repository/mirror list.

Two actions might be helpful in the future:

  1. Find the latest Stable Update in the Announcement category and read at least the first 2 entries, especially those by @philm. If you haven’t updated in awhile, you may need to review a couple of the Stable Update Announcements. The second entry normally contains Known or New Issues and actions that might be needed.

  2. Create a custom mirrorlist from the default mirrorlist using pacman-mirrors --country or --geoip option. The status of mirrors can be viewed online at https://repo.manjaro.org/ or run pacman-mirrors --status. When you use pacman-mirrors --fasttrack option, it will review the status of those mirrors and order them. The default mirrorlist has just over 100 mirrors. At any time ‘x’-number are synced. You only need a few quality mirrors :slight_smile: See man pacman-mirrors for details.

2 Likes

Thanks everyone for your replies. I have tried with pamac and have updated my laptop. However the SD card I used previously still in my laptop is now not recognized.

I’ve experienced with the wireless network not running so I used a command to restart the network services and it worked.

Is there any similar command to restart the detection of SD-card reader?

Thank you very much

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.