Error "file can't be transmitted"

I want to install libguestfs to mount a vhdx file but get an 404 error message
when it comes to ‘vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst’.
What could be the reason it can’t be loaded from 10 different mirrors ?


sudo pacman -S libguestfs
.
.
.

:: Installation fortsetzen? [J/n] 
:: Pakete werden empfangen …
 qemu-system-ppc-9.0.2-1-x86_64                                                                                     6,0 MiB  9,76 MiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 qemu-system-aarch64-9.0.2-1-x86_64                                                                                 5,3 MiB  7,67 MiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 qemu-system-mips-9.0.2-1-x86_64                                                                                    8,1 MiB  11,7 MiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 qemu-system-riscv-9.0.2-1-x86_64                                                                                   5,2 MiB  25,0 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-arm-9.0.2-1-x86_64                                                                                     4,8 MiB  15,2 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-xtensa-9.0.2-1-x86_64                                                                                  4,7 MiB  16,3 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-sparc-9.0.2-1-x86_64                                                                                   4,4 MiB  27,2 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-sh4-9.0.2-1-x86_64                                                                                     4,0 MiB  13,9 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-docs-9.0.2-1-x86_64                                                                                           3,6 MiB  23,0 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-loongarch64-9.0.2-1-x86_64                                                                             3,5 MiB  14,0 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 glusterfs-1:11.1-2-x86_64                                                                                          3,5 MiB  11,6 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-user-9.0.2-1-x86_64                                                                                          13,0 MiB  6,84 MiB/s 00:02 [---------------------------------------------------------------------------------------] 100%
 vim-runtime-9.1.0697-1-x86_64 ist aktuell
 qemu-system-hppa-9.0.2-1-x86_64                                                                                    3,3 MiB  17,6 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 qemu-system-alpha-9.0.2-1-x86_64                                                                                   3,3 MiB  11,5 MiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 Gesamt (15/98)                                                                                                   110,2 MiB  51,9 MiB/s 00:02 [---------------------------------------------------------------------------------------] 100%
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von mirrors.xtom.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von mirrors.n-ix.net übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von ftp.fau.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von pkg.fef.moe übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von mirror.ubrco.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von arch.jensgutermuth.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von mirror.fra10.de.leaseweb.net übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von arch.phinau.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst' nicht von de.arch.mirror.kescher.at übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'vim-runtime-9.1.0697-1-x86_64.pkg.tar.zst.sig' nicht von de.mirrors.cicku.me übertragen : The requested URL returned error: 404
Warnung: Konnte einige Dateien nicht übertragen
Fehler: Der Vorgang konnte nicht durchgeführt werden (Unerwarteter Fehler)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

There is no such package. The current version is:

vim-runtime 9.1.0707-1

You need to update the pacman db: pacman -Syy

1 Like

Do:

sudo pacman -Syu libguestfs

This will sync your databases, update your system and install the package.

Don’t do:

sudo pacman -Sy or sudo pacman -Syy and then install a single package as this will set you up for a partial upgrade scenoario which should be avoided on an Arch (-based) system.

Always install a single package on a fully updated system.

See further:
https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported

1 Like

I did sudo pacman -Syu an hour before this. Isn’t it up to date enough then?

I have to admit that even though I have read about pacman several times
on different sites now - I’m still not sure if I understood what exactly
happens with these letters S y u.

-S:
synchronize packages

means sync ‘pacman.conf’ it’s locally replaced by a ‘pacman.conf’ file from the server?

-y:
download fresh package databases

after old and new pacman.conf files are compared [-S] ), outdated packages got recognized and replaced by updated ones from the server?

-u:
all packages are updated

what’s the difference to -y, where all packages are already up to date?
Or in other words - what’s the difference between “download fresh package databases” [-y] and upgrade all packages [-u] ?
With -y the downloaded packages are now on my client now but not yet active/installed?

:weary:

It is quite probable that the status of some packages have been changed on the server/mirror side in the meantime given Archlinux is a “fast moving” distro.

Therefore is it recommended to run an update to make sure that your sync database and installed packages are up-to-date before installing any single package X.

You could do this in on go: sudo pacman -Syu X

No. Your /etc/pacman.conf won’t ever be replaced by this operation. Here is an excerpt from man pacman.conf:

Pacman, using libalpm(3), will attempt to read pacman.conf each time it is invoked. This configuration file is divided into sections or repositories. Each section defines a package repository that pacman can use when searching for packages in –sync mode. The exception to this is the options section, which defines global options.

For more you could refer to man pacman.conf or, if you prefer to read the man page in the browser: https://man.archlinux.org/man/pacman.conf.5

Also, make some research about pacman’s sync and local databases, both of which play a crucial role in the process of installing and updating packages.

They are to be found at the following locations on your system:

/var/lib/pacman/sync
/var/lib/pacman/local

:warning:
Don’t do anything in the local database. Just leave it as is. Any “corruption” in that database which contains information about all the installed packages in your system will affect adversely the ability of your system to update in the future.

On the other hand, the sync database can even be removed (not that you need to do it) since every time you pass the flag -y, it will be downloaded afresh from the servers.

1 Like

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