Red Hat Bugzilla – Bug 1208918
RFE: dnf shouldn't stop processing the command line at the first unknown package
Last modified: 2017-05-10 06:50:13 EDT
Description of problem:
With you I nused to use the following construct:
yum install -y `cat putpack`
where putback contained a list of packages I had removed because the installed version was not currently in any repo. They typically were packages that were dropped or had soname conflicts. yum would report on packages that no longer existed and still try to install the rest. dnf stops processing at the first unknown package which is annoying if there are a number of dropped packages, since I only find out about one for each run. I don't so much mind that when there is a problem that dnf doesn't do anything, but it would be nice if it reported all of the unknown packages when it runs.
*** This bug has been marked as a duplicate of bug 1197456 ***
With all the respect, I don't think this is a duplicate of that bug. The request is to print all of the packages that were not found and stop the process after that. It makes a lot of sense to me.
*** Bug 1232990 has been marked as a duplicate of this bug. ***
Yes, I agree that this is not a duplicate of bug 1197456.
If a command contains 10 missing packages, then one must repeatedly remove the missing package that dnf reports and rerun. The process would be far less tedious if dnf reported upfront all missing packages that had been requested.
Amen! I'm trying to update my f22 partition to have as many of the same packages installed as were on my f20 partition, and only telling me about 1 at a time is incredibly worthless.
dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-1.fc23,hawkey-0.6.0-1.fc23 has been submitted as an update for Fedora 23.
dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22 has been submitted as an update for Fedora 22.
Package dnf-plugins-core-0.1.10-1.fc22, dnf-1.1.0-1.fc22, hawkey-0.6.0-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.10-1.fc22 dnf-1.1.0-1.fc22 hawkey-0.6.0-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
dnf-plugins-core-0.1.10-1.fc23, hawkey-0.6.0-1.fc23, dnf-1.1.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.