Can't install anything from Package Manager

getting failed to retrieve some files for everything and I have tried refreshing the database from Package Manager and I have tried sudo pacman-mirrors -f5 && sudo pacman -Syyu

Maybe include more of the output?
And maybe widen the mirror search.

sudo pacman-mirrors -f && sudo pacman -Syu

Beyond that … maybe check your network in general. Is it working? Are you behind a proxy?

sudo pacman-mirrors -f && sudo pacman -Syu gives the following output:

::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
0.159 United_Kingdom : https://mirror.cyberhost.uk/sites/manjaro/
::INFO Writing mirror list
::United_Kingdom : https://mirror.cyberhost.uk/sites/manjaro/stable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
error: could not register ‘sublime-text’ database (database already registered)
error: could not register ‘sublime-text’ database (database already registered)
error: could not register ‘sublime-text’ database (database already registered)
:: Synchronising package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
sublime-text is up to date
:: Starting full system upgrade…
warning: manjaro-hello: local (0.7.0-6) is newer than extra (0.7.0-5)
there is nothing to do

Well you at least have one problem - the community repo no longer exists.
This probably means you have also ignored pacnews in general (one of which would be pacman.conf.pacnew).

Recent explanation:


Another problem is this - your list consists of a single mirror … and it is woefully out of date.

For 2015:36 hours:minutes … thats 84 days since it was synced with manjaro.

https://repo.manjaro.org/

So … I suggest you rebuild your mirror pool … in this example I will target UK again … but you could add a few more countries as well …

sudo pacman-mirrors -c United_Kingdom

Then update again…

sudo pacman -Syu

(and remember you still need to handle your pacnews)

1 Like

And you have a custom sublime-text repo, do you really need a custom repo?

1 Like

If you are using sublime-text - instead of building from AUR - this repo is the recommended method as it is managed by the developers of sublime text and sublime merge and thus never creates issues with your system.

1 Like

awesome, thanks so much

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