Updating Failure
- Relevant to all editions of PCLinuxOS.
Background
There is currently a problem trying to use DNF or Synaptic to carry out regular updates of system packages. This was caused by someone at NLUUG who made changes to the PCLOS repo directory structure -- which means that the repo cannot be found until the repo's path is adjusted. We had no control over this change and were not notified beforehand that it would take place. We do not yet know whether this is a permanent change. We are in "wait and see" mode until someone at NLUUG confirms this.
As this change breaks the updating tools there is no centralized method to fix this on every PCLOS user's machine(s). Therefore each PCLOS user must correct this manually on each of their computers, in order to continue receiving system updates.
New ISOs with the updated mirror paths have been created so installing from an ISO dated after May 27 2026 will not have the problem.
How to fix the problem
DNF
For those using DNF Package Manager you can download the correct repository config from here and replace your current /etc/repo.d/default.repo with this file.
cd Downloads su -c "cp default.repo /etc/repo.d"
Enter your root password if/when prompted.
Alternatively, if you want to fix the file yourself you can open a terminal and run the following command:
su -c "sed -i 's|/pclinuxos/apt/|/apt/|g' /etc/repo.d/default.repo"
Enter your root password if/when prompted.
Synaptic
For those still using Synaptic you will need to open a terminal and run the following command:
su -c "sed -i 's|/pclinuxos/apt/|/apt/|g' /etc/apt/sources.list"
Enter your root password if/when prompted.
If Synaptic still fails then try a different mirror.