web/pacman.md

1.9 KiB

Back to the top joborun wiki page

How to keep a current and functional pacman.conf and mirrors

If you have let upgrades go for a while and attempting to upgrade fails (most commonly change in mirrors/host for packages and database) make sure you understand how and where to get the latest: (our source repository)

pacman.conf

Compare with what you have or if you have never edited your own, just copy this file in /etc/

This will have the top three repositories jobcore jobextra jobcomm in this fashion

[jobcore]
#Server = file:///var/cache/jobcore/
Include = /etc/pacman.d/mirrorlist-jobo

[jobextra]
#Server = file:///var/cache/jobextra/
Include = /etc/pacman.d/mirrorlist-jobo

[jobcomm]
#Server = file:///var/cache/jobcomm/
Include = /etc/pacman.d/mirrorlist-jobo

The mirrorlist-jobo file can always be found on the source repository as well:

mirrolist-jobo

which should be placed in /etc/pacman.d/mirrorlist-jobo

and currently (hopefully for a long time from July 2023) can be as simple as:

##### Start Sourceforge mirrors #####
# Sourceforge 1
Server = http://downloads.sourceforge.net/joborun/r

Next, to make sure you are up to date, as root, execute:

pacman -Syy pacman jobo-mirror

Carefully read the output of this command, run the current script that solves the problem SourceForge is creating by unable to serve filenames with a : in the middle of the name (Microsoftish filesystem that can't handle such characters ).

After this is done, from then on do a classic upgrade by executing:

pacman -Su

If you have further issues either send us email (web site contact joborun @ disroot org) or better, so other users can benefit, place a comment or article in reddit.com/r/joborun