Bug 1222220

Summary: [RFE] Optionally don't install packages during update
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: ignatenko, jsilhan, jzeleny, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame, vondruch
Target Milestone: ---Keywords: FutureFeature, Triaged, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-21 13:52:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2015-05-16 15:49:15 UTC
Description of problem:
Would it be possible to disable installation of new packages due to update?

Since I am using Rawhide, there are quite commonly introduced new dependencies, which should not be there. It is pretty annoying that if I want to avoid installation of newly introduced packages, I have to specify them one by one. It would be nice to disable the installation by single switch and later check these new dependencies and install them one by one if needed.

Version-Release number of selected component (if applicable):
$ rpm -q dnf
dnf-0.6.5-1.fc23.noarch


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Install   26 Packages
Upgrade  514 Packages
Remove     4 Packages


Expected results:
Onlye the packages without new dependencies are installable.

Additional info:
The main annoyance is that I have to scroll 500 lines up to select the newly installed packages to disable them on command line one by one ... each time scroll, select, writhe -x and paste ...

Comment 1 Vít Ondruch 2015-05-16 15:53:14 UTC
Just FTR, this is the amount of upgraded packages, when I disable the newly installed packages one by one:

Upgrade  479 Packages

i.e. 514 + 26 + 4 - 479 = 65 packages will remain for then next installation iteration, this is much easier to handle.

Comment 2 Honza Silhan 2015-05-18 14:23:41 UTC
Hi, I am not sure how popular will this be for other users. We don't want to introduce new and new options without huge demand. Would you be satisfied with just `dnf update --setopt=exclude="$(dnf list recent -q)"`?

Comment 3 Vít Ondruch 2015-05-23 07:58:15 UTC
Not sure what the command does. Why the recently added should not be installed? Nevertheless it does not work at all for me:

# dnf update --setopt=exclude="$(dnf list recent -q)"
-bash: /bin/dnf: Argument list too long

Comment 4 Fedora Admin XMLRPC Client 2016-07-08 09:25:17 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Igor Gnatenko 2016-07-21 13:52:01 UTC

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