RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1879626 - repo --includepkgs does not exclude other packages not specified
Summary: repo --includepkgs does not exclude other packages not specified
Keywords:
Status: CLOSED DUPLICATE of bug 2014103
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 16:34 UTC by jcastran
Modified: 2023-12-15 19:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-02 12:00:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description jcastran 2020-09-16 16:34:03 UTC
Description of problem:
When using --includepkgs, all other packages should be excluded from that repository. This is not working in RHEL 8.

Targeting a repo with centos-release in it, while using --includepkgs to target a few packages (not centos-release), we still see centos-release get pulled in.


How reproducible:
Everytime

Steps to Reproduce:
1. use repo to add 3rd party repository and use --includepkgs syntax
2. do not include centos-release in the includepkgs option
3. minimal install only 

##Will post kickstart internally

Actual results:
centos-release gets installed

Expected results:
centos-release does not get installed as it's not in the includepkgs list.

Additional info:

Comment 2 Brian Lane 2020-09-16 17:16:59 UTC
pykickstart only defines the format and processing of the kickstart file, anaconda is the implementation, moving to anaconda.

Comment 4 Alex Iribarren 2020-09-17 08:56:15 UTC
I can confirm that this happens with no package group defined (ie. @core) and with the minimal install (@minimal-environment), but it does not happen with the base package group.

@base has 156 packages not included in @minimal-environment, the full list is included below in case it points to something interesting.


---
abattis-cantarell-fonts-0.0.25-4.el8.noarch
adcli-0.8.2-5.el8.x86_64
at-3.1.20-11.el8.x86_64
attr-2.4.48-3.el8.x86_64
avahi-libs-0.7-19.el8.x86_64
bash-completion-1:2.7-5.el8.noarch
bc-1.07.1-5.el8.x86_64
bind-libs-32:9.11.13-3.el8.x86_64
bind-libs-lite-32:9.11.13-3.el8.x86_64
bind-license-32:9.11.13-3.el8.noarch
bind-utils-32:9.11.13-3.el8.x86_64
binutils-2.30-73.el8.x86_64
blktrace-1.2.0-10.el8.x86_64
bpftool-4.18.0-193.el8.x86_64
bzip2-1.0.6-26.el8.x86_64
cairo-1.15.12-3.el8.x86_64
cairo-gobject-1.15.12-3.el8.x86_64
checkpolicy-2.9-1.el8.x86_64
cockpit-211.3-1.el8.x86_64
cockpit-bridge-211.3-1.el8.x86_64
cockpit-packagekit-211.3-1.el8.noarch
cockpit-system-211.3-1.el8.noarch
cockpit-ws-211.3-1.el8.x86_64
cryptsetup-2.2.2-1.el8.x86_64
cups-libs-1:2.2.6-33.el8.x86_64
cyrus-sasl-gssapi-2.1.27-1.el8.x86_64
cyrus-sasl-plain-2.1.27-1.el8.x86_64
desktop-file-utils-0.23-8.el8.x86_64
dos2unix-7.4.0-3.el8.x86_64
dosfstools-4.1-6.el8.x86_64
ed-1.14.2-4.el8.x86_64
emacs-filesystem-1:26.1-5.el8.noarch
fontconfig-2.13.1-3.el8.x86_64
fontpackages-filesystem-1.44-22.el8.noarch
fprintd-1.90.0-0.20191121gitf022902.el8.x86_64
fprintd-pam-1.90.0-0.20191121gitf022902.el8.x86_64
gdk-pixbuf2-2.36.12-5.el8.x86_64
glib-networking-2.56.1-1.1.el8.x86_64
gpm-libs-1.20.7-15.el8.x86_64
gsettings-desktop-schemas-3.32.0-4.el8.x86_64
insights-client-3.0.13-1.el8.noarch
iptstate-2.2.6-6.el8.x86_64
kmod-kvdo-6.2.2.117-65.el8.x86_64
kpatch-0.6.1-6.el8.noarch
ledmon-0.93-1.el8.x86_64
libappstream-glib-0.7.14-3.el8.x86_64
libconfig-1.5-9.el8.x86_64
libfprint-1.90.0-4.el8.x86_64
libgusb-0.3.0-1.el8.x86_64
libipa_hbac-2.2.3-20.el8.x86_64
libmodman-2.0.1-17.el8.x86_64
libpkgconf-1.4.2-1.el8.x86_64
libproxy-0.4.15-5.2.el8.x86_64
librelp-1.2.16-1.el8.x86_64
libsmbclient-4.11.2-13.el8.x86_64
libsoup-2.62.3-1.el8.x86_64
libstemmer-0-10.585svn.el8.x86_64
libstoragemgmt-1.8.3-1.el8.x86_64
libwbclient-4.11.2-13.el8.x86_64
libX11-1.6.8-3.el8.x86_64
libX11-common-1.6.8-3.el8.noarch
libXau-1.0.8-13.el8.x86_64
libxcb-1.13.1-1.el8.x86_64
libXext-1.3.3-9.el8.x86_64
libXrender-0.9.10-7.el8.x86_64
lsof-4.91-2.el8.x86_64
mailcap-2.1.48-3.el8.noarch
man-pages-4.15-6.el8.x86_64
man-pages-overrides-8.2.0.2-1.el8.noarch
mcelog-3:165-0.el8.x86_64
mdadm-4.1-13.el8.x86_64
mlocate-0.26-20.el8.x86_64
mtr-2:0.92-3.el8.x86_64
nano-2.9.8-1.el8.x86_64
net-tools-2.0-0.51.20160912git.el8.x86_64
nmap-ncat-2:7.70-5.el8.x86_64
nspr-4.21.0-2.el8_0.x86_64
nss-3.44.0-15.el8.x86_64
nss-softokn-3.44.0-15.el8.x86_64
nss-softokn-freebl-3.44.0-15.el8.x86_64
nss-sysinit-3.44.0-15.el8.x86_64
nss-util-3.44.0-15.el8.x86_64
PackageKit-1.1.12-4.el8.x86_64
PackageKit-glib-1.1.12-4.el8.x86_64
pciutils-3.5.6-4.el8.x86_64
pinfo-0.6.10-18.el8.x86_64
pixman-0.38.4-1.el8.x86_64
pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch
pkgconf-pkg-config-1.4.2-1.el8.x86_64
policycoreutils-python-utils-2.9-9.el8.noarch
psacct-6.6.3-4.el8.x86_64
python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64
python3-bind-32:9.11.13-3.el8.noarch
python3-cairo-1.16.3-6.el8.x86_64
python3-chardet-3.0.4-7.el8.noarch
python3-gobject-3.28.3-1.el8.x86_64
python3-libsemanage-2.9-2.el8.x86_64
python3-libstoragemgmt-1.8.3-1.el8.noarch
python3-libstoragemgmt-clibs-1.8.3-1.el8.x86_64
python3-magic-5.33-13.el8.noarch
python3-policycoreutils-2.9-9.el8.noarch
python3-pysocks-1.6.8-3.el8.noarch
python3-pyyaml-3.12-12.el8.x86_64
python3-requests-2.20.0-2.1.el8_1.noarch
python3-setools-4.2.2-2.el8.x86_64
python3-sssdconfig-2.2.3-20.el8.noarch
python3-systemd-234-8.el8.x86_64
python3-urllib3-1.24.2-4.el8.noarch
quota-1:4.04-10.el8.x86_64
quota-nls-1:4.04-10.el8.noarch
realmd-0.16.3-18.el8.x86_64
redhat-logos-81.1-1.el8.x86_64
redhat-release-8.2-1.0.el8.x86_64
redhat-release-eula-8.2-1.0.el8.x86_64
rhsm-icons-1.26.16-1.el8.noarch
rsync-3.1.3-7.el8.x86_64
rsyslog-gnutls-8.1911.0-3.el8.x86_64
rsyslog-gssapi-8.1911.0-3.el8.x86_64
rsyslog-relp-8.1911.0-3.el8.x86_64
samba-client-libs-4.11.2-13.el8.x86_64
samba-common-4.11.2-13.el8.noarch
samba-common-libs-4.11.2-13.el8.x86_64
setroubleshoot-plugins-3.3.11-2.el8.noarch
setroubleshoot-server-3.3.22-2.el8.x86_64
smartmontools-1:6.6-3.el8.x86_64
sos-3.8-2.el8.noarch
sqlite-3.26.0-6.el8.x86_64
sscg-2.3.3-14.el8.x86_64
sssd-2.2.3-20.el8.x86_64
sssd-ad-2.2.3-20.el8.x86_64
sssd-common-pac-2.2.3-20.el8.x86_64
sssd-ipa-2.2.3-20.el8.x86_64
sssd-krb5-2.2.3-20.el8.x86_64
sssd-krb5-common-2.2.3-20.el8.x86_64
sssd-ldap-2.2.3-20.el8.x86_64
sssd-proxy-2.2.3-20.el8.x86_64
strace-4.24-9.el8.x86_64
subscription-manager-cockpit-1.26.16-1.el8.noarch
symlinks-1.4-19.el8.x86_64
tar-2:1.30-4.el8.x86_64
tcpdump-14:4.9.2-6.el8.x86_64
time-1.9-3.el8.x86_64
tree-1.7.0-15.el8.x86_64
unzip-6.0-43.el8.x86_64
usbutils-010-3.el8.x86_64
util-linux-user-2.32.1-22.el8.x86_64
vdo-6.2.2.117-13.el8.x86_64
vim-common-2:8.0.1763-13.el8.x86_64
vim-enhanced-2:8.0.1763-13.el8.x86_64
vim-filesystem-2:8.0.1763-13.el8.noarch
wget-1.19.5-8.el8_1.1.x86_64
words-3.0-28.el8.noarch
xdg-utils-1.1.2-5.el8.noarch
xfsdump-3.1.8-2.el8.x86_64
zip-3.0-23.el8.x86_64

Comment 7 Jan Stodola 2023-02-02 12:00:55 UTC
This problem will be fixed in RHEL-8.8 via bug 2014103. I'm marking this bug as a duplicate.

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


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