- Published on
How to Fix Package Update Failures Caused by Mirror or Network Issues
- Authors

- Name
- hwahyeon
During a full system upgrade on Manjaro, the following error message appeared:
jdk-openjdk-24.0.2.u12-1-x86_64.pkg.tar.zst konnte nicht heruntergeladen werden
konnte einige Dateien nicht übertragen
keine Pakete wurden aktualisiert
This means that pacman could not download one or more required package files. Because all required files could not be retrieved, the upgrade transaction was not performed and no packages were updated.
Possible causes include:
- A temporarily unavailable or out-of-sync mirror
- A network connection problem
- A partially downloaded or corrupted cache file
- A TLS or certificate-related error
How to Fix It
1. Remove the failed cached download
Check the package cache for the failed file and any corresponding .part file:
ls /var/cache/pacman/pkg/jdk-openjdk*
Remove the failed file shown in the error message, including its .part file if one exists:
sudo rm -f /var/cache/pacman/pkg/jdk-openjdk-24.0.2.u12-1-x86_64.pkg.tar.zst
sudo rm -f /var/cache/pacman/pkg/jdk-openjdk-24.0.2.u12-1-x86_64.pkg.tar.zst.part
2. Update the mirror list
sudo pacman-mirrors --fasttrack 5
3. Refresh the package databases and retry the full upgrade
After changing the mirrors, force-refresh the package databases and run the full upgrade again:
sudo pacman -Syyu
For an ordinary retry without changing mirrors, the following is normally sufficient:
sudo pacman -Syu
4. Optional: Retry the package separately
If the full upgrade still reports an error specifically for jdk-openjdk, you can try downloading and installing that package separately:
sudo pacman -S jdk-openjdk
This may help confirm whether the problem is limited to that package. However, it does not replace the full system upgrade. Afterward, run:
sudo pacman -Syu
The error does not necessarily mean that the jdk-openjdk package itself is broken. It only means that pacman was unable to retrieve the required package file. Removing an incomplete cached download, selecting working mirrors, and retrying the full system upgrade usually resolves the issue.