Bug 1215339 - dnf aborts if there is no package available
Summary: dnf aborts if there is no package available
Keywords:
Status: CLOSED DUPLICATE of bug 1197456
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
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: 2015-04-25 15:56 UTC by Account closed by the user
Modified: 2015-04-27 10:28 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-27 10:28:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Account closed by the user 2015-04-25 15:56:03 UTC
dnf aborts if there is no package available. Yum doesn't care about it:



-------fedora-22-------
# dnf install blktrace XXXXXXXXX
Using metadata from Sat Apr 25 13:33:23 2015 (3:22:03 hours old)
No package XXXXXXXXX available.
Error: no package matched: XXXXXXXXX




-------fedora-21-------
# yum install blktrace XXXXXXXXX
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
 * fedora: ftp.cica.es
 * rpmfusion-free: mir01.syntis.net
 * rpmfusion-free-updates: mir01.syntis.net
 * rpmfusion-free-updates-testing: mir01.syntis.net
 * rpmfusion-nonfree: mir01.syntis.net
 * rpmfusion-nonfree-updates: mir01.syntis.net
 * rpmfusion-nonfree-updates-testing: mir01.syntis.net
 * updates: ftp.cica.es
 * updates-testing: ftp.cica.es
No package XXXXXXXXX available.
Resolving Dependencies
--> Running transaction check
---> Package blktrace.x86_64 0:1.1.0-1.fc21 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================
 Package     Arch      Version Repository  Size
===============================================
Installing:
 blktrace  x86_64 1.1.0-1.fc21     fedora 139 k

Transaction Summary
===============================================
Install  1 Package

Total download size: 139 k
Installed size: 302 k
Is this ok [y/d/N]:



*Very annoying bug/feature*


-thanks-

Comment 1 Radek Holy 2015-04-27 10:28:07 UTC
Hello, yes, this is a feature. The skipping feature has already be requested in the bug 1197456.

*** This bug has been marked as a duplicate of bug 1197456 ***


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