coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
860 stars 195 forks source link

exludepkgs is ignored in repo configuration #1447

Closed deuscapturus closed 1 year ago

deuscapturus commented 6 years ago

Host system details

rpm-ostree:
 Version: 2018.5
 Git: ac21b217f86e9d22f11490a6c913139fefb360d8
 Features:
  - compose

This is unrelated, but the status command is broken as well.

[root@theo-laptop site-packages]# rpm-ostree status
error: Failed to activate service 'org.projectatomic.rpmostree1': timed out (service_start_timeout=25000ms)

Expected vs actual behavior

In the example below all salt packages are being excluded from the fedora repos with excludepkgs=salt*. But rpm-ostree installs them anyway from these sources.

Steps to reproduce it

Repo File:

[fedora-28]
name=Fedora 28 - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch
enabled=1
#metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch
skip_if_unavailable=False
excludepkgs=salt*

[fedora-28-updates]
name=Fedora 28 - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/28/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f28&arch=$basearch
enabled=1
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch
skip_if_unavailable=False
excludepkgs=salt*

[fedora-28-updates-testing]
name=Fedora 28 - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/28/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f28&arch=$basearch
enabled=1
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch
skip_if_unavailable=False
excludepkgs=salt*

[saltstack-2017.7.2]
name=SaltStack repo for RHEL/CentOS $releasever
baseurl=https://repo.saltstack.com/yum/redhat/7/x86_64/archive/2017.7.2
enabled=1
gpgcheck=1
gpgkey=https://repo.saltstack.com/yum/redhat/7/$basearch/latest/SALTSTACK-GPG-KEY.pub

My tree file ~/saltstack-fedora-atomic-host.json:

{
    "ref": "fedora/28/${basearch}/atomic-host",
    "repos": ["fedora-28", "fedora-28-updates", "saltstack-2017.7.2"],
    "include": "fedora-atomic-host-base.json",
    "postprocess-script": "treecompose-post.sh",
    "packages": [
        "salt-master",
        "salt-minion",
        "salt-api"
    ]
}

My results :

[root@theo-laptop fedora-atomic]# rpm-ostree compose install --repo=/var/www/html/saltstack-ostree ~/saltstack-fedora-atomic-host.json /var/tmp/rpm-ostree
No previous commit for fedora/28/x86_64/atomic-host
Enabled rpm-md repositories: saltstack-2017.7.2 fedora-28 fedora-28-updates
Updating metadata for 'saltstack-2017.7.2': [=============] 100%
rpm-md repo 'saltstack-2017.7.2'; generated: 2017-10-10 21:12:31
Updating metadata for 'fedora-28': [=============] 100%
rpm-md repo 'fedora-28'; generated: 2018-04-25 04:27:32
Updating metadata for 'fedora-28-updates': [=============] 100%
rpm-md repo 'fedora-28-updates'; generated: 2018-07-05 15:48:40
Importing metadata [=============] 100%
Resolving dependencies... done
Installing 510 packages:
  GeoIP-1.6.12-3.fc28.x86_64 (fedora-28)
  GeoIP-GeoLite-data-2018.06-1.fc28.noarch (fedora-28-updates)
  NetworkManager-1:1.10.10-1.fc28.x86_64 (fedora-28-updates)
  NetworkManager-libnm-1:1.10.10-1.fc28.x86_64 (fedora-28-updates)
  NetworkManager-team-1:1.10.10-1.fc28.x86_64 (fedora-28-updates)
  acl-2.2.52-20.fc28.x86_64 (fedora-28)
  atomic-1.22.1-2.fc28.x86_64 (fedora-28)
  atomic-devmode-0.3.7-4.fc28.noarch (fedora-28)
  atomic-registries-1.22.1-2.fc28.x86_64 (fedora-28)
  attr-2.4.47-23.fc28.x86_64 (fedora-28)
  audit-2.8.4-1.fc28.x86_64 (fedora-28-updates)
  audit-libs-2.8.4-1.fc28.x86_64 (fedora-28-updates)
  authconfig-7.0.1-5.fc28.x86_64 (fedora-28)
  basesystem-11-5.fc28.noarch (fedora-28)
  bash-4.4.23-1.fc28.x86_64 (fedora-28-updates)
  bash-completion-1:2.8-1.fc28.noarch (fedora-28-updates)
  bind-export-libs-32:9.11.3-12.fc28.x86_64 (fedora-28-updates)
  bridge-utils-1.6-1.fc28.x86_64 (fedora-28)
  btrfs-progs-4.15.1-1.fc28.x86_64 (fedora-28)
  bubblewrap-0.2.1-1.fc28.x86_64 (fedora-28-updates)
  bzip2-1.0.6-26.fc28.x86_64 (fedora-28)
  bzip2-libs-1.0.6-26.fc28.x86_64 (fedora-28)
  ca-certificates-2018.2.24-1.0.fc28.noarch (fedora-28-updates)
  ceph-common-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  checkpolicy-2.8-1.fc28.x86_64 (fedora-28-updates)
  chkconfig-1.10-4.fc28.x86_64 (fedora-28)
  chrony-3.3-1.fc28.x86_64 (fedora-28)
  cloud-init-17.1-5.fc28.noarch (fedora-28)
  cloud-utils-growpart-0.30-2.fc28.noarch (fedora-28)
  cockpit-bridge-171-1.fc28.x86_64 (fedora-28-updates)
  cockpit-docker-171-1.fc28.x86_64 (fedora-28-updates)
  cockpit-networkmanager-171-1.fc28.noarch (fedora-28-updates)
  cockpit-ostree-171-1.fc28.noarch (fedora-28-updates)
  cockpit-system-171-1.fc28.noarch (fedora-28-updates)
  container-selinux-2:2.65-1.gitbf5b26b.fc28.noarch (fedora-28-updates)
  container-storage-setup-0.11.0-1.git42c9d9c.fc28.noarch (fedora-28-updates)
  containernetworking-cni-0.6.0-4.fc28.x86_64 (fedora-28)
  containers-common-0.1.31-5.git0144aa8.fc28.x86_64 (fedora-28-updates)
  coreutils-8.29-7.fc28.x86_64 (fedora-28-updates)
  coreutils-common-8.29-7.fc28.x86_64 (fedora-28-updates)
  cpio-2.12-7.fc28.x86_64 (fedora-28)
  cracklib-2.9.6-13.fc28.x86_64 (fedora-28)
  cracklib-dicts-2.9.6-13.fc28.x86_64 (fedora-28)
  criu-3.9-1.fc28.x86_64 (fedora-28-updates)
  crypto-policies-20180425-5.git6ad4018.fc28.noarch (fedora-28-updates)
  cryptsetup-2.0.3-4.fc28.x86_64 (fedora-28-updates)
  cryptsetup-libs-2.0.3-4.fc28.x86_64 (fedora-28-updates)
  curl-7.59.0-4.fc28.x86_64 (fedora-28-updates)
  cyrus-sasl-lib-2.1.27-0.2rc7.fc28.x86_64 (fedora-28-updates)
  dbus-1:1.12.8-1.fc28.x86_64 (fedora-28-updates)
  dbus-glib-0.110-2.fc28.x86_64 (fedora-28)
  dbus-libs-1:1.12.8-1.fc28.x86_64 (fedora-28-updates)
  dbxtool-8-5.fc28.x86_64 (fedora-28)
  deltarpm-3.6-25.fc28.x86_64 (fedora-28)
  device-mapper-1.02.146-5.fc28.x86_64 (fedora-28-updates)
  device-mapper-event-1.02.146-5.fc28.x86_64 (fedora-28-updates)
  device-mapper-event-libs-1.02.146-5.fc28.x86_64 (fedora-28-updates)
  device-mapper-libs-1.02.146-5.fc28.x86_64 (fedora-28-updates)
  device-mapper-persistent-data-0.7.5-3.fc28.x86_64 (fedora-28)
  dhcp-client-12:4.3.6-20.fc28.x86_64 (fedora-28-updates)
  dhcp-common-12:4.3.6-20.fc28.noarch (fedora-28-updates)
  dhcp-libs-12:4.3.6-20.fc28.x86_64 (fedora-28-updates)
  diffutils-3.6-4.fc28.x86_64 (fedora-28)
  dnf-2.7.5-12.fc28.noarch (fedora-28)
  dnf-conf-2.7.5-12.fc28.noarch (fedora-28)
  dnf-plugins-core-2.1.5-4.fc28.noarch (fedora-28)
  dnf-utils-2.1.5-4.fc28.noarch (fedora-28)
  dnsmasq-2.79-3.fc28.x86_64 (fedora-28-updates)
  docker-2:1.13.1-59.gitaf6b32b.fc28.x86_64 (fedora-28-updates)
  docker-common-2:1.13.1-59.gitaf6b32b.fc28.x86_64 (fedora-28-updates)
  docker-rhel-push-plugin-2:1.13.1-59.gitaf6b32b.fc28.x86_64 (fedora-28-updates)
  dracut-047-8.git20180305.fc28.x86_64 (fedora-28)
  dracut-config-generic-047-8.git20180305.fc28.x86_64 (fedora-28)
  dracut-network-047-8.git20180305.fc28.x86_64 (fedora-28)
  e2fsprogs-1.43.8-2.fc28.x86_64 (fedora-28)
  e2fsprogs-libs-1.43.8-2.fc28.x86_64 (fedora-28)
  ebtables-2.0.10-25.fc28.x86_64 (fedora-28)
  efibootmgr-16-2.fc28.x86_64 (fedora-28-updates)
  efivar-35-1.fc28.x86_64 (fedora-28-updates)
  efivar-libs-35-1.fc28.x86_64 (fedora-28-updates)
  elfutils-default-yama-scope-0.173-1.fc28.noarch (fedora-28-updates)
  elfutils-libelf-0.173-1.fc28.x86_64 (fedora-28-updates)
  elfutils-libs-0.173-1.fc28.x86_64 (fedora-28-updates)
  expat-2.2.5-3.fc28.x86_64 (fedora-28)
  fedora-gpg-keys-28-3.noarch (fedora-28-updates)
  fedora-release-28-2.noarch (fedora-28-updates)
  fedora-release-atomichost-28-2.noarch (fedora-28-updates)
  fedora-repos-28-3.noarch (fedora-28-updates)
  file-5.33-6.fc28.x86_64 (fedora-28-updates)
  file-libs-5.33-6.fc28.x86_64 (fedora-28-updates)
  filesystem-3.8-2.fc28.x86_64 (fedora-28)
  findutils-1:4.6.0-19.fc28.x86_64 (fedora-28-updates)
  fipscheck-1.5.0-4.fc28.x86_64 (fedora-28)
  fipscheck-lib-1.5.0-4.fc28.x86_64 (fedora-28)
  firewalld-0.5.2-2.fc28.noarch (fedora-28)
  firewalld-filesystem-0.5.2-2.fc28.noarch (fedora-28)
  freetype-2.8-10.fc28.x86_64 (fedora-28)
  fuse-2.9.7-11.fc28.x86_64 (fedora-28)
  fuse-common-3.2.1-11.fc28.x86_64 (fedora-28)
  fuse-libs-2.9.7-11.fc28.x86_64 (fedora-28)
  gawk-4.2.1-1.fc28.x86_64 (fedora-28)
  gdbm-1:1.14.1-4.fc28.x86_64 (fedora-28)
  gdbm-libs-1:1.14.1-4.fc28.x86_64 (fedora-28)
  gettext-0.19.8.1-14.fc28.x86_64 (fedora-28)
  gettext-libs-0.19.8.1-14.fc28.x86_64 (fedora-28)
  glib-networking-2.56.1-1.fc28.x86_64 (fedora-28-updates)
  glib2-2.56.1-4.fc28.x86_64 (fedora-28-updates)
  glibc-2.27-19.fc28.x86_64 (fedora-28-updates)
  glibc-all-langpacks-2.27-19.fc28.x86_64 (fedora-28-updates)
  glibc-common-2.27-19.fc28.x86_64 (fedora-28-updates)
  glusterfs-4.1.1-1.fc28.x86_64 (fedora-28-updates)
  glusterfs-client-xlators-4.1.1-1.fc28.x86_64 (fedora-28-updates)
  glusterfs-fuse-4.1.1-1.fc28.x86_64 (fedora-28-updates)
  glusterfs-libs-4.1.1-1.fc28.x86_64 (fedora-28-updates)
  gmp-1:6.1.2-7.fc28.x86_64 (fedora-28)
  gnupg-1.4.23-1.fc28.x86_64 (fedora-28-updates)
  gnupg2-2.2.8-1.fc28.x86_64 (fedora-28-updates)
  gnupg2-smime-2.2.8-1.fc28.x86_64 (fedora-28-updates)
  gnutls-3.6.2-3.fc28.x86_64 (fedora-28-updates)
  gobject-introspection-1.56.1-1.fc28.x86_64 (fedora-28)
  gomtree-0.4.0-2.fc28.x86_64 (fedora-28)
  gperftools-libs-2.6.3-2.fc28.x86_64 (fedora-28)
  gpgme-1.10.0-4.fc28.x86_64 (fedora-28)
  grep-3.1-5.fc28.x86_64 (fedora-28)
  grub2-common-1:2.02-34.fc28.noarch (fedora-28)
  grub2-efi-x64-1:2.02-34.fc28.x86_64 (fedora-28)
  grub2-pc-1:2.02-34.fc28.x86_64 (fedora-28)
  grub2-pc-modules-1:2.02-34.fc28.noarch (fedora-28)
  grub2-tools-1:2.02-34.fc28.x86_64 (fedora-28)
  grub2-tools-extra-1:2.02-34.fc28.x86_64 (fedora-28)
  grub2-tools-minimal-1:2.02-34.fc28.x86_64 (fedora-28)
  grubby-8.40-11.fc28.x86_64 (fedora-28)
  gsettings-desktop-schemas-3.28.0-1.fc28.x86_64 (fedora-28)
  gssproxy-0.8.0-4.fc28.x86_64 (fedora-28)
  gzip-1.9-3.fc28.x86_64 (fedora-28)
  hardlink-1:1.3-6.fc28.x86_64 (fedora-28)
  hostname-3.20-3.fc28.x86_64 (fedora-28)
  hwdata-0.312-1.fc28.noarch (fedora-28-updates)
  ima-evm-utils-1.1-2.fc28.x86_64 (fedora-28)
  info-6.5-4.fc28.x86_64 (fedora-28-updates)
  initscripts-9.80-1.fc28.x86_64 (fedora-28-updates)
  ipcalc-0.2.3-1.fc28.x86_64 (fedora-28-updates)
  iproute-4.16.0-1.fc28.x86_64 (fedora-28-updates)
  iproute-tc-4.16.0-1.fc28.x86_64 (fedora-28-updates)
  ipset-6.35-3.fc28.x86_64 (fedora-28)
  ipset-libs-6.35-3.fc28.x86_64 (fedora-28)
  iptables-1.6.2-3.fc28.x86_64 (fedora-28-updates)
  iptables-libs-1.6.2-3.fc28.x86_64 (fedora-28-updates)
  iptables-services-1.6.2-3.fc28.x86_64 (fedora-28-updates)
  iputils-20161105-9.fc28.x86_64 (fedora-28)
  iscsi-initiator-utils-6.2.0.874-9.git86e8892.fc28.x86_64 (fedora-28)
  iscsi-initiator-utils-iscsiuio-6.2.0.874-9.git86e8892.fc28.x86_64 (fedora-28)
  isns-utils-libs-0.97-6.fc28.x86_64 (fedora-28)
  jansson-2.11-1.fc28.x86_64 (fedora-28)
  js-jquery-3.2.1-3.fc28.noarch (fedora-28)
  json-c-0.13.1-2.fc28.x86_64 (fedora-28-updates)
  json-glib-1.4.2-3.fc28.x86_64 (fedora-28)
  kbd-2.0.4-5.fc28.x86_64 (fedora-28)
  kbd-legacy-2.0.4-5.fc28.noarch (fedora-28)
  kbd-misc-2.0.4-5.fc28.noarch (fedora-28)
  kernel-4.17.3-200.fc28.x86_64 (fedora-28-updates)
  kernel-core-4.17.3-200.fc28.x86_64 (fedora-28-updates)
  kernel-modules-4.17.3-200.fc28.x86_64 (fedora-28-updates)
  keyutils-1.5.10-6.fc28.x86_64 (fedora-28)
  keyutils-libs-1.5.10-6.fc28.x86_64 (fedora-28)
  kmod-25-2.fc28.x86_64 (fedora-28)
  kmod-libs-25-2.fc28.x86_64 (fedora-28)
  kpartx-0.7.4-2.git07e7bd5.fc28.x86_64 (fedora-28)
  krb5-libs-1.16.1-7.fc28.x86_64 (fedora-28-updates)
  less-530-1.fc28.x86_64 (fedora-28)
  leveldb-1.20-1.fc28.x86_64 (fedora-28)
  libacl-2.2.52-20.fc28.x86_64 (fedora-28)
  libaio-0.3.110-11.fc28.x86_64 (fedora-28)
  libarchive-3.3.1-4.fc28.x86_64 (fedora-28)
  libargon2-20161029-5.fc28.x86_64 (fedora-28)
  libassuan-2.5.1-3.fc28.x86_64 (fedora-28)
  libattr-2.4.47-23.fc28.x86_64 (fedora-28)
  libbabeltrace-1.5.4-2.fc28.x86_64 (fedora-28)
  libbasicobjects-0.1.1-38.fc28.x86_64 (fedora-28)
  libblkid-2.32-2.fc28.x86_64 (fedora-28)
  libcap-2.25-9.fc28.x86_64 (fedora-28)
  libcap-ng-0.7.9-1.fc28.x86_64 (fedora-28)
  libcephfs2-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  libcgroup-0.41-17.fc28.x86_64 (fedora-28-updates)
  libcollection-0.7.0-38.fc28.x86_64 (fedora-28)
  libcom_err-1.43.8-2.fc28.x86_64 (fedora-28)
  libcomps-0.1.8-11.fc28.x86_64 (fedora-28)
  libcroco-0.6.12-4.fc28.x86_64 (fedora-28)
  libcurl-7.59.0-4.fc28.x86_64 (fedora-28-updates)
  libdaemon-0.14-15.fc28.x86_64 (fedora-28)
  libdb-5.3.28-30.fc28.x86_64 (fedora-28)
  libdb-utils-5.3.28-30.fc28.x86_64 (fedora-28)
  libdnf-0.11.1-3.fc28.x86_64 (fedora-28)
  libedit-3.1-23.20170329cvs.fc28.x86_64 (fedora-28)
  libev-4.24-6.fc28.x86_64 (fedora-28)
  libevent-2.1.8-2.fc28.x86_64 (fedora-28)
  libfdisk-2.32-2.fc28.x86_64 (fedora-28)
  libffi-3.1-16.fc28.x86_64 (fedora-28)
  libgcc-8.1.1-1.fc28.x86_64 (fedora-28-updates)
  libgcrypt-1.8.3-1.fc28.x86_64 (fedora-28-updates)
  libgomp-8.1.1-1.fc28.x86_64 (fedora-28-updates)
  libgpg-error-1.31-1.fc28.x86_64 (fedora-28-updates)
  libidn2-2.0.5-1.fc28.x86_64 (fedora-28-updates)
  libini_config-1.3.1-38.fc28.x86_64 (fedora-28)
  libksba-1.3.5-7.fc28.x86_64 (fedora-28)
  libmetalink-0.1.3-6.fc28.x86_64 (fedora-28)
  libmnl-1.0.4-6.fc28.x86_64 (fedora-28)
  libmodman-2.0.1-17.fc28.x86_64 (fedora-28)
  libmodulemd-1.5.2-1.fc28.x86_64 (fedora-28-updates)
  libmount-2.32-2.fc28.x86_64 (fedora-28)
  libndp-1.6-5.fc28.x86_64 (fedora-28)
  libnet-1.1.6-15.fc28.x86_64 (fedora-28)
  libnetfilter_conntrack-1.0.6-5.fc28.x86_64 (fedora-28)
  libnfnetlink-1.0.1-13.fc28.x86_64 (fedora-28)
  libnfsidmap-1:2.3.2-0.fc28.x86_64 (fedora-28-updates)
  libnghttp2-1.32.0-1.fc28.x86_64 (fedora-28-updates)
  libnl3-3.4.0-3.fc28.x86_64 (fedora-28)
  libnl3-cli-3.4.0-3.fc28.x86_64 (fedora-28)
  libnsl2-1.2.0-2.20180605git4a062cf.fc28.x86_64 (fedora-28-updates)
  libpath_utils-0.2.1-38.fc28.x86_64 (fedora-28)
  libpcap-14:1.8.1-10.fc28.x86_64 (fedora-28-updates)
  libpkgconf-1.4.2-1.fc28.x86_64 (fedora-28)
  libpng-2:1.6.34-3.fc28.x86_64 (fedora-28)
  libproxy-0.4.15-6.fc28.x86_64 (fedora-28-updates)
  libpsl-0.20.2-2.fc28.x86_64 (fedora-28-updates)
  libpwquality-1.4.0-7.fc28.x86_64 (fedora-28)
  librados2-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  libradosstriper1-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  librbd1-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  libref_array-0.1.5-38.fc28.x86_64 (fedora-28)
  librepo-1.8.1-7.fc28.x86_64 (fedora-28)
  libreport-filesystem-2.9.5-1.fc28.x86_64 (fedora-28-updates)
  librgw2-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  libseccomp-2.3.3-2.fc28.x86_64 (fedora-28)
  libsecret-0.18.6-1.fc28.x86_64 (fedora-28)
  libselinux-2.8-1.fc28.x86_64 (fedora-28-updates)
  libselinux-utils-2.8-1.fc28.x86_64 (fedora-28-updates)
  libsemanage-2.8-2.fc28.x86_64 (fedora-28-updates)
  libsepol-2.8-1.fc28.x86_64 (fedora-28-updates)
  libsigsegv-2.11-5.fc28.x86_64 (fedora-28)
  libsmartcols-2.32-2.fc28.x86_64 (fedora-28)
  libsolv-0.6.34-3.fc28.x86_64 (fedora-28-updates)
  libss-1.43.8-2.fc28.x86_64 (fedora-28)
  libssh-0.7.5-7.fc28.x86_64 (fedora-28)
  libsss_idmap-1.16.2-1.fc28.x86_64 (fedora-28-updates)
  libsss_nss_idmap-1.16.2-1.fc28.x86_64 (fedora-28-updates)
  libsss_sudo-1.16.2-1.fc28.x86_64 (fedora-28-updates)
  libstdc++-8.1.1-1.fc28.x86_64 (fedora-28-updates)
  libtasn1-4.13-2.fc28.x86_64 (fedora-28)
  libteam-1.27-6.fc28.x86_64 (fedora-28)
  libtirpc-1.0.3-1.rc1.fc28.x86_64 (fedora-28-updates)
  libtomcrypt-1.18.1-3.fc28.x86_64 (fedora-28)
  libtommath-1.0.1-4.fc28.x86_64 (fedora-28)
  libunistring-0.9.10-1.fc28.x86_64 (fedora-28-updates)
  libunwind-1.2.1-5.fc28.x86_64 (fedora-28)
  libusb-1:0.1.5-12.fc28.x86_64 (fedora-28)
  libusbx-1.0.21-6.fc28.x86_64 (fedora-28)
  libuser-0.62-13.fc28.x86_64 (fedora-28)
  libutempter-1.1.6-14.fc28.x86_64 (fedora-28)
  libuuid-2.32-2.fc28.x86_64 (fedora-28)
  libverto-0.3.0-5.fc28.x86_64 (fedora-28)
  libverto-libev-0.3.0-5.fc28.x86_64 (fedora-28)
  libxcrypt-4.0.1-3.fc28.x86_64 (fedora-28-updates)
  libxkbcommon-0.8.0-2.fc28.x86_64 (fedora-28)
  libxml2-2.9.7-4.fc28.x86_64 (fedora-28)
  libyaml-0.1.7-5.fc28.x86_64 (fedora-28)
  libzstd-1.3.4-1.fc28.x86_64 (fedora-28)
  linux-atm-libs-2.5.1-20.fc28.x86_64 (fedora-28)
  linux-firmware-20180525-85.git7518922b.fc28.noarch (fedora-28-updates)
  lsof-4.89-8.fc28.x86_64 (fedora-28)
  lttng-ust-2.10.1-2.fc28.x86_64 (fedora-28)
  lua-libs-5.3.4-10.fc28.x86_64 (fedora-28)
  lvm2-2.02.177-5.fc28.x86_64 (fedora-28-updates)
  lvm2-libs-2.02.177-5.fc28.x86_64 (fedora-28-updates)
  lz4-libs-1.8.1.2-4.fc28.x86_64 (fedora-28)
  lzo-2.08-12.fc28.x86_64 (fedora-28)
  mdadm-4.0-5.fc27.x86_64 (fedora-28)
  microcode_ctl-2:2.1-23.fc28.x86_64 (fedora-28-updates)
  mokutil-1:0.3.0-8.fc28.x86_64 (fedora-28)
  mozjs52-52.8.0-1.fc28.x86_64 (fedora-28-updates)
  mpfr-3.1.6-1.fc28.x86_64 (fedora-28)
  ncurses-6.1-5.20180224.fc28.x86_64 (fedora-28-updates)
  ncurses-base-6.1-5.20180224.fc28.noarch (fedora-28-updates)
  ncurses-libs-6.1-5.20180224.fc28.x86_64 (fedora-28-updates)
  net-tools-2.0-0.50.20160912git.fc28.x86_64 (fedora-28-updates)
  nettle-3.4-2.fc28.x86_64 (fedora-28)
  nfs-utils-1:2.3.2-0.fc28.x86_64 (fedora-28-updates)
  nmap-ncat-2:7.60-12.fc28.x86_64 (fedora-28)
  npth-1.5-4.fc28.x86_64 (fedora-28)
  nspr-4.19.0-1.fc28.x86_64 (fedora-28)
  nss-3.37.3-1.1.fc28.x86_64 (fedora-28-updates)
  nss-altfiles-2.18.1-10.fc27.x86_64 (fedora-28)
  nss-softokn-3.37.3-1.1.fc28.x86_64 (fedora-28-updates)
  nss-softokn-freebl-3.37.3-1.1.fc28.x86_64 (fedora-28-updates)
  nss-sysinit-3.37.3-1.1.fc28.x86_64 (fedora-28-updates)
  nss-tools-3.37.3-1.1.fc28.x86_64 (fedora-28-updates)
  nss-util-3.37.3-1.0.fc28.x86_64 (fedora-28-updates)
  oci-systemd-hook-1:0.1.17-1.git87fb61e.fc28.x86_64 (fedora-28-updates)
  oci-umount-2:2.3.4-1.git87f9237.fc28.x86_64 (fedora-28)
  oddjob-0.34.4-4.fc28.x86_64 (fedora-28)
  oddjob-mkhomedir-0.34.4-4.fc28.x86_64 (fedora-28)
  openldap-2.4.46-1.fc28.x86_64 (fedora-28)
  openpgm-5.2.122-11.fc28.x86_64 (fedora-28)
  openssh-7.7p1-4.fc28.x86_64 (fedora-28-updates)
  openssh-clients-7.7p1-4.fc28.x86_64 (fedora-28-updates)
  openssh-server-7.7p1-4.fc28.x86_64 (fedora-28-updates)
  openssl-1:1.1.0h-3.fc28.x86_64 (fedora-28)
  openssl-libs-1:1.1.0h-3.fc28.x86_64 (fedora-28)
  openssl-pkcs11-0.4.7-7.fc28.x86_64 (fedora-28-updates)
  os-prober-1.74-6.fc28.x86_64 (fedora-28)
  ostree-2018.6-3.fc28.x86_64 (fedora-28-updates)
  ostree-grub2-2018.6-3.fc28.x86_64 (fedora-28-updates)
  ostree-libs-2018.6-3.fc28.x86_64 (fedora-28-updates)
  p11-kit-0.23.12-1.fc28.x86_64 (fedora-28-updates)
  p11-kit-trust-0.23.12-1.fc28.x86_64 (fedora-28-updates)
  pam-1.3.1-1.fc28.x86_64 (fedora-28-updates)
  parted-3.2-31.fc28.x86_64 (fedora-28)
  passwd-0.80-2.fc28.x86_64 (fedora-28)
  pciutils-3.5.6-3.fc28.x86_64 (fedora-28)
  pciutils-libs-3.5.6-3.fc28.x86_64 (fedora-28)
  pcre-8.42-1.fc28.x86_64 (fedora-28)
  pcre2-10.31-4.fc28.x86_64 (fedora-28)
  pigz-2.4-2.fc28.x86_64 (fedora-28)
  pinentry-1.1.0-2.fc28.x86_64 (fedora-28)
  pkgconf-1.4.2-1.fc28.x86_64 (fedora-28)
  pkgconf-m4-1.4.2-1.fc28.noarch (fedora-28)
  pkgconf-pkg-config-1.4.2-1.fc28.x86_64 (fedora-28)
  podman-0.6.4-1.gitd5beb2f.fc28.x86_64 (fedora-28-updates)
  policycoreutils-2.8-1.fc28.x86_64 (fedora-28-updates)
  policycoreutils-python-utils-2.8-1.fc28.noarch (fedora-28-updates)
  polkit-0.114-1.fc28.x86_64 (fedora-28)
  polkit-libs-0.114-1.fc28.x86_64 (fedora-28)
  polkit-pkla-compat-0.1-12.fc28.x86_64 (fedora-28)
  popt-1.16-14.fc28.x86_64 (fedora-28)
  procps-ng-3.3.12-3.fc28.x86_64 (fedora-28-updates)
  protobuf-c-1.3.0-4.fc28.x86_64 (fedora-28)
  psmisc-23.1-3.fc28.x86_64 (fedora-28)
  publicsuffix-list-dafsa-20180514-1.fc28.noarch (fedora-28-updates)
  python-cephfs-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  python-cherrypy-5.6.0-2.el7.noarch (saltstack-2017.7.2)
  python-rados-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  python-rbd-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  python-rgw-1:12.2.5-1.fc28.x86_64 (fedora-28-updates)
  python-systemd-doc-234-5.fc28.x86_64 (fedora-28)
  python2-2.7.15-2.fc28.x86_64 (fedora-28-updates)
  python2-IPy-0.81-21.fc28.noarch (fedora-28)
  python2-asn1crypto-0.24.0-1.fc28.noarch (fedora-28)
  python2-audit-2.8.4-1.fc28.x86_64 (fedora-28-updates)
  python2-babel-2.5.3-1.fc28.noarch (fedora-28-updates)
  python2-backports-1.0-13.fc28.x86_64 (fedora-28)
  python2-backports-ssl_match_hostname-3.5.0.1-8.fc28.noarch (fedora-28)
  python2-backports_abc-0.5-5.fc28.noarch (fedora-28)
  python2-cffi-1.11.5-3.fc28.x86_64 (fedora-28-updates)
  python2-chardet-3.0.4-5.fc28.noarch (fedora-28)
  python2-crypto-2.6.1-22.fc28.x86_64 (fedora-28)
  python2-cryptography-2.2.1-1.fc28.x86_64 (fedora-28)
  python2-docker-3.2.1-1.fc28.noarch (fedora-28)
  python2-docker-pycreds-0.2.2-2.fc28.noarch (fedora-28)
  python2-enum34-1.1.6-4.fc28.noarch (fedora-28)
  python2-futures-3.1.1-3.fc28.noarch (fedora-28)
  python2-idna-2.5-4.fc28.noarch (fedora-28)
  python2-ipaddress-1.0.18-4.fc28.noarch (fedora-28)
  python2-jinja2-2.10-2.fc28.noarch (fedora-28)
  python2-libs-2.7.15-2.fc28.x86_64 (fedora-28-updates)
  python2-libselinux-2.8-1.fc28.x86_64 (fedora-28-updates)
  python2-libsemanage-2.8-2.fc28.x86_64 (fedora-28-updates)
  python2-markupsafe-0.23-17.fc28.x86_64 (fedora-28)
  python2-msgpack-0.5.6-1.fc28.x86_64 (fedora-28-updates)
  python2-pip-9.0.3-2.fc28.noarch (fedora-28-updates)
  python2-ply-3.9-6.fc28.noarch (fedora-28)
  python2-policycoreutils-2.8-1.fc28.noarch (fedora-28-updates)
  python2-prettytable-0.7.2-13.fc28.noarch (fedora-28)
  python2-psutil-5.4.3-4.fc28.x86_64 (fedora-28)
  python2-pyOpenSSL-17.3.0-3.fc28.noarch (fedora-28)
  python2-pycparser-2.14-13.fc28.noarch (fedora-28)
  python2-pycurl-7.43.0-17.fc28.x86_64 (fedora-28-updates)
  python2-pysocks-1.6.8-2.fc28.noarch (fedora-28)
  python2-pytz-2017.2-7.fc28.noarch (fedora-28)
  python2-pyyaml-3.12-10.fc28.x86_64 (fedora-28)
  python2-requests-2.18.4-4.fc28.noarch (fedora-28-updates)
  python2-setools-4.1.1-6.fc28.x86_64 (fedora-28)
  python2-setuptools-39.2.0-1.fc28.noarch (fedora-28-updates)
  python2-singledispatch-3.4.0.3-11.fc28.noarch (fedora-28)
  python2-six-1.11.0-3.fc28.noarch (fedora-28)
  python2-systemd-234-5.fc28.x86_64 (fedora-28)
  python2-tornado-4.5.2-2.fc28.x86_64 (fedora-28)
  python2-urllib3-1.22-9.fc28.noarch (fedora-28-updates)
  python2-websocket-client-0.47.0-1.fc28.noarch (fedora-28)
  python2-zmq-17.0.0-1.fc28.x86_64 (fedora-28-updates)
  python3-3.6.5-1.fc28.x86_64 (fedora-28)
  python3-IPy-0.81-21.fc28.noarch (fedora-28)
  python3-PyYAML-3.12-10.fc28.x86_64 (fedora-28)
  python3-asn1crypto-0.24.0-1.fc28.noarch (fedora-28)
  python3-audit-2.8.4-1.fc28.x86_64 (fedora-28-updates)
  python3-babel-2.5.3-1.fc28.noarch (fedora-28-updates)
  python3-cffi-1.11.5-3.fc28.x86_64 (fedora-28-updates)
  python3-chardet-3.0.4-5.fc28.noarch (fedora-28)
  python3-configobj-5.0.6-10.fc28.noarch (fedora-28)
  python3-cryptography-2.2.1-1.fc28.x86_64 (fedora-28)
  python3-dateutil-1:2.6.1-3.fc28.noarch (fedora-28)
  python3-dbus-1.2.4-13.fc28.x86_64 (fedora-28)
  python3-decorator-4.2.1-1.fc28.noarch (fedora-28)
  python3-dnf-2.7.5-12.fc28.noarch (fedora-28)
  python3-dnf-plugins-core-2.1.5-4.fc28.noarch (fedora-28)
  python3-docker-3.2.1-1.fc28.noarch (fedora-28)
  python3-docker-pycreds-0.2.2-2.fc28.noarch (fedora-28)
  python3-firewall-0.5.2-2.fc28.noarch (fedora-28)
  python3-gobject-base-3.28.3-1.fc28.x86_64 (fedora-28-updates)
  python3-gpg-1.10.0-4.fc28.x86_64 (fedora-28)
  python3-hawkey-0.11.1-3.fc28.x86_64 (fedora-28)
  python3-idna-2.5-4.fc28.noarch (fedora-28)
  python3-iniparse-0.4-30.fc28.noarch (fedora-28)
  python3-jinja2-2.10-2.fc28.noarch (fedora-28)
  python3-jsonpatch-1.21-2.fc28.noarch (fedora-28)
  python3-jsonpointer-1.10-11.fc28.noarch (fedora-28)
  python3-jsonschema-2.6.0-3.fc28.noarch (fedora-28)
  python3-jwt-1.6.1-1.fc28.noarch (fedora-28)
  python3-libcomps-0.1.8-11.fc28.x86_64 (fedora-28)
  python3-librepo-1.8.1-7.fc28.x86_64 (fedora-28)
  python3-libs-3.6.5-1.fc28.x86_64 (fedora-28)
  python3-libselinux-2.8-1.fc28.x86_64 (fedora-28-updates)
  python3-libsemanage-2.8-2.fc28.x86_64 (fedora-28-updates)
  python3-libxml2-2.9.7-4.fc28.x86_64 (fedora-28)
  python3-markupsafe-0.23-17.fc28.x86_64 (fedora-28)
  python3-oauthlib-2.0.1-6.fc28.noarch (fedora-28)
  python3-pip-9.0.3-2.fc28.noarch (fedora-28-updates)
  python3-ply-3.9-6.fc28.noarch (fedora-28)
  python3-policycoreutils-2.8-1.fc28.noarch (fedora-28-updates)
  python3-prettytable-0.7.2-13.fc28.noarch (fedora-28)
  python3-pyOpenSSL-17.3.0-3.fc28.noarch (fedora-28)
  python3-pycparser-2.14-13.fc28.noarch (fedora-28)
  python3-pyserial-3.1.1-6.fc28.noarch (fedora-28)
  python3-pysocks-1.6.8-2.fc28.noarch (fedora-28)
  python3-pytoml-0.1.16-1.fc28.noarch (fedora-28-updates)
  python3-pytz-2017.2-7.fc28.noarch (fedora-28)
  python3-requests-2.18.4-4.fc28.noarch (fedora-28-updates)
  python3-rpm-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  python3-setools-4.1.1-6.fc28.x86_64 (fedora-28)
  python3-setuptools-39.2.0-1.fc28.noarch (fedora-28-updates)
  python3-six-1.11.0-3.fc28.noarch (fedora-28)
  python3-slip-0.6.4-10.fc28.noarch (fedora-28)
  python3-slip-dbus-0.6.4-10.fc28.noarch (fedora-28)
  python3-smartcols-0.3.0-2.fc28.x86_64 (fedora-28)
  python3-sssdconfig-1.16.2-1.fc28.noarch (fedora-28-updates)
  python3-urllib3-1.22-9.fc28.noarch (fedora-28-updates)
  python3-websocket-client-0.47.0-1.fc28.noarch (fedora-28)
  qrencode-libs-3.4.4-5.fc28.x86_64 (fedora-28)
  quota-1:4.04-7.fc28.x86_64 (fedora-28-updates)
  quota-nls-1:4.04-7.fc28.noarch (fedora-28-updates)
  readline-7.0-11.fc28.x86_64 (fedora-28-updates)
  rootfiles-8.1-22.fc28.noarch (fedora-28)
  rpcbind-0.2.4-10.rc3.fc28.x86_64 (fedora-28)
  rpm-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rpm-build-libs-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rpm-libs-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rpm-ostree-2018.6-2.fc28.x86_64 (fedora-28-updates)
  rpm-ostree-libs-2018.6-2.fc28.x86_64 (fedora-28-updates)
  rpm-plugin-selinux-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rpm-plugin-systemd-inhibit-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rpm-sign-libs-4.14.1-9.fc28.x86_64 (fedora-28-updates)
  rsync-3.1.3-3.fc28.x86_64 (fedora-28)
  runc-2:1.0.0-36.gitad0f525.fc28.x86_64 (fedora-28-updates)
  salt-2018.3.2-1.fc28.noarch (fedora-28-updates)
  salt-api-2018.3.2-1.fc28.noarch (fedora-28-updates)
  salt-master-2018.3.2-1.fc28.noarch (fedora-28-updates)
  salt-minion-2018.3.2-1.fc28.noarch (fedora-28-updates)
  screen-4.6.2-3.fc28.x86_64 (fedora-28)
  sed-4.5-1.fc28.x86_64 (fedora-28)
  selinux-policy-3.14.1-32.fc28.noarch (fedora-28-updates)
  selinux-policy-targeted-3.14.1-32.fc28.noarch (fedora-28-updates)
  setools-console-4.1.1-6.fc28.x86_64 (fedora-28)
  setup-2.11.4-1.fc28.noarch (fedora-28-updates)
  shadow-utils-2:4.6-1.fc28.x86_64 (fedora-28-updates)
  shared-mime-info-1.10-1.fc28.x86_64 (fedora-28-updates)
  shim-x64-15-2.x86_64 (fedora-28-updates)
  skopeo-0.1.31-5.git0144aa8.fc28.x86_64 (fedora-28-updates)
  snappy-1.1.7-5.fc28.x86_64 (fedora-28)
  sos-3.6-2.fc28.noarch (fedora-28-updates)
  sqlite-3.22.0-4.fc28.x86_64 (fedora-28)
  sqlite-libs-3.22.0-4.fc28.x86_64 (fedora-28)
  sssd-client-1.16.2-1.fc28.x86_64 (fedora-28-updates)
  strace-4.23-1.fc28.x86_64 (fedora-28-updates)
  subscription-manager-rhsm-certificates-1.21.5-1.fc28.x86_64 (fedora-28-updates)
  sudo-1.8.23-1.fc28.x86_64 (fedora-28-updates)
  systemd-238-8.git0e0aa59.fc28.x86_64 (fedora-28-updates)
  systemd-bootchart-233-1.fc28.x86_64 (fedora-28)
  systemd-container-238-8.git0e0aa59.fc28.x86_64 (fedora-28-updates)
  systemd-libs-238-8.git0e0aa59.fc28.x86_64 (fedora-28-updates)
  systemd-pam-238-8.git0e0aa59.fc28.x86_64 (fedora-28-updates)
  systemd-udev-238-8.git0e0aa59.fc28.x86_64 (fedora-28-updates)
  tar-2:1.30-3.fc28.x86_64 (fedora-28)
  tcpdump-14:4.9.2-4.fc28.x86_64 (fedora-28-updates)
  teamd-1.27-6.fc28.x86_64 (fedora-28)
  timedatex-0.5-3.fc28.x86_64 (fedora-28)
  tmux-2.7-1.fc28.x86_64 (fedora-28-updates)
  trousers-0.3.13-10.fc28.x86_64 (fedora-28)
  trousers-lib-0.3.13-10.fc28.x86_64 (fedora-28)
  tzdata-2018e-1.fc28.noarch (fedora-28-updates)
  userspace-rcu-0.10.1-3.fc28.x86_64 (fedora-28-updates)
  util-linux-2.32-2.fc28.x86_64 (fedora-28)
  vim-minimal-2:8.1.119-1.fc28.x86_64 (fedora-28-updates)
  web-assets-filesystem-5-7.fc28.noarch (fedora-28)
  which-2.21-8.fc28.x86_64 (fedora-28)
  xfsprogs-4.15.1-1.fc28.x86_64 (fedora-28)
  xkeyboard-config-2.24-2.fc28.noarch (fedora-28-updates)
  xz-5.2.4-2.fc28.x86_64 (fedora-28-updates)
  xz-libs-5.2.4-2.fc28.x86_64 (fedora-28-updates)
  yajl-2.1.0-10.fc28.x86_64 (fedora-28)
  zeromq-4.1.6-7.fc28.x86_64 (fedora-28)
  zlib-1.2.11-8.fc28.x86_64 (fedora-28-updates)
Will download: 510 packages (427.6 MB)
  Downloading from saltstack-2017.7.2: [=============] 100%
  Downloading from fedora-28: [=============] 100%
  Downloading from fedora-28-updates: [=============] 100%

Would you like to work on the issue?

I can't resolve this issue. I don't do C.

jlebon commented 6 years ago

Try using exclude= instead. But also note globby patterns aren't supported. So you'd need to do e.g.:

exclude=salt salt-api salt-master salt-minion

This will be fixed properly once we use the latest libdnf (#1404).

jlebon commented 6 years ago

This is unrelated, but the status command is broken as well.

Can you post the backtrace from rpm-ostreed in the journal if there is one?

dustymabe commented 5 years ago

Try using exclude= instead.

where's the documentation for exclude= ? I only see excludepkgs and includepkgs at https://dnf.readthedocs.io/en/latest/conf_ref.html. I'm hitting an issue where I'm trying to only pull certain packages from a repo and rpm-ostree doesn't seem to be honoring those directives.

jlebon commented 5 years ago

It's in the yum documentation, so it was likely added for backwards compatibility: http://man7.org/linux/man-pages/man5/yum.conf.5.html.

dustymabe commented 5 years ago

This will be fixed properly once we use the latest libdnf (#1404).

can we close this now since it should be fixed in the next release?

jlebon commented 5 years ago

Hmm, no seems like this is still an issue.

To be more precise, excludepkgs is a dnf-only feature right now. It seems like some of this logic still needs to be lowered into libdnf proper: https://github.com/rpm-software-management/libdnf/issues/303.

LukeShortCloud commented 1 year ago

I can confirm that this is no longer an issue and that the DNF exludepkgs list works on rpm-ostree distributions. Tested on Fedora Silverblue 38. The libdnf issue was addressed 2.5 years ago.

cgwalters commented 1 year ago

@LukeShortCloud Thanks for checking!