Cannot do updates with pamac / pacman (no database)

Hi everyone,

I have a problem doing updates on my Manjaro system. When I try browse to the update folder of the pamac GUI only AUR packages show up. Also, when trying to update those, I get a ‘could not find database’ error message.
I already tried everything I found on the internet, so I am counting on you guys. Thanks in advance :slight_smile:

Jakob

Hello,

sudo pacman-mirrors -f5 && sudo pacman -Syyu
changes the situation?

1 Like

unfortunately not:

sudo pacman-mirrors -f5 && sudo pacman -Syyu

::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  ..... Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/Traceback (most recent call last):
  File "/usr/bin/pacman-mirrors", line 28, in <module>
    pm.run()
  File "/usr/lib/python3.9/site-packages/pacman_mirrors/pacman_mirrors.py", line 120, in run
    fasttrack.build_mirror_list(self, limit=self.fasttrack)
  File "/usr/lib/python3.9/site-packages/pacman_mirrors/builder/fasttrack.py", line 57, in build_mirror_list
    work_pool = test_mirror_pool(self=self, worklist=work_pool, limit=limit)
  File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/testMirrorFn.py", line 82, in test_mirror_pool
    mirror_proto["resp_time"] = get_mirror_response(
  File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/httpFn.py", line 206, in get_mirror_response
    message = get_ftp_response(url=probe_url, maxwait=maxwait)
  File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/httpFn.py", line 167, in get_ftp_response
    shutil.copyfileobj(ftpReq, testFile)
  File "/usr/lib/python3.9/shutil.py", line 205, in copyfileobj
    buf = fsrc_read(length)
  File "/usr/lib/python3.9/tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

Side note: I am located in Austria and already changed to the German mirrors because I hoped that would solve my issue…

seems the same situation as here

this might help

1 Like

I just used your command to update my relatively new install of Manjaro. Thanks!

Looks very promising. However, I am not using a proxy and I do not know how to ‘revert an updated python’. Sorry for being a noob…

Faster fix would be to add a working mirror to your /etc/pacman.d/mirrorlist file, on top of the others, for example:


## Country : Germany
Server = https://mirror.moson.org/manjaro/testing/$repo/$arch

Then run
sudo pacman -Syyu

And after update reboot and all should be fine after that …

1 Like

seems like everything is ok now. Thank you very much :slight_smile:

1 Like

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