When I update the host with zypper, it persists offering this message:
$ zypper --non-interactive --ignore-unknown --no-cd update --auto-agree-with-licenses --dry-run --download-only
...bunch-o-stuff...]
Checking for file conflicts: ............done]
Warning: 4 packages had to be excluded from file conflicts check because they are not yet downloaded.
Note: Checking for file conflicts requires not installed packages to be downloaded in advance
to access their file lists. See option '--download-in-advance / --dry-run --download-only'
in the zypper manual page for details.
Which packages?
What conflicts?
The message suggests that using the very commands that were provided.
When I have used both “–download-only” and “–dry-run” it has downloaded the packages and checked them for conflicts. Perhaps the “–no-cd” affects this. I usually don’t have any enabled CD or DVD repos. Or maybe there is something in that “…bunch-o-stuff…]” part that is relevant.
Package File Conflicts
File conflicts happen when two packages attempt to install files with the same name but different contents.
This may happen if you are installing a newer version of a package without erasing the older version, of if
two unrelated packages each install a file with the same name.
As checking for file conflicts requires access to the full filelist of each package being installed, zypper
will be able to check for file conflicts only if all packages are downloaded in advance (**see
--download-in-advance**). If you are doing a --dry-run no packages are downloaded, so the file conflict check
will skip packages not available in the packages cache. To get a meaningful file conflict check use --dry-run
together with --download-only.
As the reason for file conflicts usually is a poor package design or lack of coordination between the people
building the packages, they are not easy to resolve. By using the --replacefiles option you can force zypper to replace the conflicting files. Nevertheless this may damage the package whose file gets replaced.
As you can see,
The conflict check can’t be done unless the packages are downloaded** in advance** which your command doesn’t do.
Maybe this is still worth submitting a bug report, IMO the instructions that say that “–download-only” is sufficient are likely misleading.