Bug 1222220 - [RFE] Optionally don't install packages during update
Summary: [RFE] Optionally don't install packages during update
Keywords:
Status: CLOSED DUPLICATE of bug 1260242
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-16 15:49 UTC by Vít Ondruch
Modified: 2016-07-21 13:52 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-21 13:52:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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