Bug 1330840 - dnf can not survive wrong package name
Summary: dnf can not survive wrong package name
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 06:32 UTC by Murphy Zhou
Modified: 2016-04-27 07:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-27 07:32:24 UTC
Type: Bug


Attachments (Terms of Use)

Description Murphy Zhou 2016-04-27 06:32:24 UTC
Description of problem:

A wrong package name stops dnf going on to packages after the wrong name.

sh-4.3# dnf install -y xxa vim
Last metadata expiration check: 0:02:27 ago on Wed Apr 27 02:22:11 2016.
No package xxa available.
Error: Unable to find a match.


Version-Release number of selected component (if applicable):

sh-4.3# rpm -qi dnf
Name        : dnf
Version     : 1.1.8
Release     : 1.fc23
Architecture: noarch
Install Date: Tue 26 Apr 2016 10:07:31 PM EDT
Group       : Unspecified
Size        : 956735
License     : GPLv2+ and GPLv2 and GPL
Signature   : RSA/SHA256, Thu 07 Apr 2016 06:43:33 AM EDT, Key ID 32474cf834ec9cba
Source RPM  : dnf-1.1.8-1.fc23.src.rpm
Build Date  : Thu 07 Apr 2016 03:30:55 AM EDT
Build Host  : buildvm-22.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/rpm-software-management/dnf
Summary     : Package manager forked from Yum, using libsolv as a dependency resolver
Description :
Package manager forked from Yum, using libsolv as a dependency resolver.
sh-4.3# cat /etc/redhat-release 
Fedora release 23 (Twenty Three)
sh-4.3# 



How reproducible:
Always

Steps to Reproduce:
1. dnf install -y xxa vim
2.
3.

Actual results:

No package xxa available.
Error: Unable to find a match.

Expected results:

tell me xxa is unavaiable and vim is already installed or install vim for me.

Additional info:

Comment 1 Michael Mráka 2016-04-27 07:32:24 UTC
This is default dnf behaviour.

If you want dnf to skip such package names put strict=false either to your config file or command line (dnf --setopt strict=false install -y xxa vim).


Note You need to log in before you can comment on or make changes to this bug.