404 error on pacman update


#1

Updating pacman -Syu gives this error:

error: failed retrieving file 'archlabs_repo.db' from archlabs.github.io : The requested URL returned error: 404 archlabs_repo

and then it proceeds to update as normal.

What’s the fix?


#2

I think it’s just a temporary error on your Internet connection. That’s why it then reloads the repository smoothly. Did it happen to you again?


#3

Happens every time since a week or two ago.


#4

Wonder if it can be of any help here.

Edit, also have a look here;


#5

Update your pacman.conf to show

[archlabs_repo]
Server = https://bitbucket.org/archlabslinux/archlabs_repo/raw/master/$arch
Server = https://sourceforge.net/projects/archlabs-repo/files/archlabs_repo/$arch

What is happening there is that pacman is attempting to update the archlabs packages via GitHub, as we have moved to BitBucket pacman is getting a 404. It is falling back to Sourceforge which is the alternative mirror.

The above is the new repo home.


#6

Good call in there @Dobbie03


#7

That fixed it. Thank you.


#8

Cool, can you mark the thread solved please.


#9

Glad that it got fixed there @gorki


#10

@gorki don’t worry I’ll mark it solved. Cheers