Bug 681016
| Summary: | Not able to add/remove errata if the packages in the errata are removed first | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | Sprint 21 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 13:58:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 641987 | ||
|
Description
Preethi Thomas
2011-02-28 19:46:35 UTC
fixed!
$ sudo pulp-admin repo add_errata -e FEDORA-2010-9419 --id=foo --source=f13-updates
Following dependencies are suggested. [u'perl-Software-License-0.101410-1.fc13.noarch.rpm', u'perl-5.10.1-120.fc13.x86_64.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully added Errata ['FEDORA-2010-9419'] to repo [foo].
[pkilambi@prad pulp{master}]$ sudo pulp-admin repo content --id=foo
+------------------------------------------+
Contents of foo
+------------------------------------------+
Packages in foo:
perl-Software-License-0.101410-1.fc13.noarch.rpm
perl-5.10.1-120.fc13.x86_64.rpm
Errata in foo:
FEDORA-2010-9419
Files in foo:
none
[pkilambi@prad pulp{master}]$ sudo pulp-admin repo remove_package --id=foo -p perl-Software-License-0.101410-1.fc13.noarch.rpm -p perl-5.10.1-120.fc13.x86_64.rpm
Following dependencies are suggested. [u'perl-5.10.1-120.fc13.x86_64.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully removed package [u'perl-Software-License-0.101410-1.fc13.noarch.rpm', u'perl-5.10.1-120.fc13.x86_64.rpm'] from repo [foo].
[pkilambi@prad pulp{master}]$ sudo pulp-admin repo remove_errata -e FEDORA-2010-9419 --id=foo
No dependencies to process..
Successfully removed Errata ['FEDORA-2010-9419'] from repo [foo].
Build: 0.144 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.144-1.fc14.noarch
[root@preethi ~]# pulp-admin repo add_errata -e FEDORA-2011-0432 --id=errata-upload1 --source=f14-update -r
Following dependencies are suggested. ['glibc-2.13-1.x86_64.rpm', 'pam-1.1.1-6.fc14.x86_64.rpm', 'pam-1.1.1-6.fc14.i686.rpm', 'libblkid-2.18-4.8.fc14.i686.rpm', 'libblkid-2.18-4.8.fc14.x86_64.rpm', 'libuuid-2.18-4.8.fc14.x86_64.rpm', 'info-4.13a-13.fc14.x86_64.rpm', 'libmount-2.18-4.8.fc14.x86_64.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm', 'libmount-2.18-4.8.fc14.i686.rpm', 'glibc-2.13-1.i686.rpm', 'ncurses-libs-5.7-9.20100703.fc14.x86_64.rpm', 'libuuid-2.18-4.8.fc14.i686.rpm', 'libselinux-2.0.96-6.fc14.1.x86_64.rpm', 'util-linux-ng-2.18-4.8.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.x86_64.rpm', 'krb5-libs-1.8.2-8.fc14.x86_64.rpm', 'openldap-2.4.23-4.fc14.x86_64.rpm', 'openssh-5.5p1-24.fc14.2.x86_64.rpm', 'openssl-1.0.0d-1.fc14.x86_64.rpm', 'openssh-clients-5.5p1-24.fc14.2.x86_64.rpm', 'perl-5.12.3-141.fc14.x86_64.rpm', 'nss-softokn-freebl-3.12.9-2.fc14.x86_64.rpm', 'libselinux-2.0.96-6.fc14.1.i686.rpm', 'perl-threads-shared-1.32-141.fc14.x86_64.rpm', 'gdbm-1.8.3-8.fc14.x86_64.rpm', 'perl-libs-5.12.3-141.fc14.x86_64.rpm', 'perl-libs-5.12.3-141.fc14.i686.rpm', 'perl-Pod-Simple-3.13-141.fc14.noarch.rpm', 'perl-threads-1.75-141.fc14.x86_64.rpm', 'perl-Module-Pluggable-3.90-141.fc14.noarch.rpm', 'nss-3.12.9-1.fc14.x86_64.rpm', 'nss-util-3.12.9-1.fc14.x86_64.rpm', 'nspr-4.8.7-1.fc14.x86_64.rpm', 'ncurses-libs-5.7-9.20100703.fc14.i686.rpm', 'nspr-4.8.7-1.fc14.i686.rpm', 'nss-3.12.9-1.fc14.i686.rpm', 'nss-util-3.12.9-1.fc14.i686.rpm', 'nss-softokn-3.12.9-2.fc14.i686.rpm', 'nss-sysinit-3.12.9-1.fc14.x86_64.rpm', 'perl-App-Nopaste-0.25-1.fc14.noarch.rpm', 'perl-Try-Tiny-0.07-1.fc14.noarch.rpm', 'perl-Class-MOP-1.08-1.fc14.x86_64.rpm', 'perl-Pod-Escapes-1.04-141.fc14.noarch.rpm', 'glibc-common-2.13-1.x86_64.rpm', 'tzdata-2010o-1.fc14.noarch.rpm', 'nss-softokn-3.12.9-2.fc14.x86_64.rpm', 'perl-Moose-1.12-2.fc14.x86_64.rpm', 'libattr-2.4.44-6.fc14.x86_64.rpm', 'ncurses-base-5.7-9.20100703.fc14.x86_64.rpm', 'libattr-2.4.44-6.fc14.i686.rpm', 'nss-softokn-freebl-3.12.9-2.fc14.i686.rpm', 'coreutils-libs-8.5-7.fc14.x86_64.rpm', 'ncurses-5.7-9.20100703.fc14.x86_64.rpm']
Would you like us to add these?(Y/N/Q):^C[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]# pulp-admin repo add_errata -e FEDORA-2011-0432 --id=errata-upload1 --source=f14-update
Following dependencies are suggested. ['perl-5.12.3-141.fc14.x86_64.rpm', 'openssh-clients-5.5p1-24.fc14.2.x86_64.rpm', 'perl-Module-Pluggable-3.90-141.fc14.noarch.rpm', 'perl-App-Nopaste-0.25-1.fc14.noarch.rpm', 'perl-Moose-1.12-2.fc14.x86_64.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully added Errata ['FEDORA-2011-0432'] to repo [errata-upload1].
[root@preethi ~]# pulp-admin repo remove_package -p perl-5.12.3-141.fc14.x86_64.rpm -p openssh-clients-5.5p1-24.fc14.2.x86_64.rpm --id=errata-upload1
Following dependencies are suggested. ['glibc-2.13-1.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.x86_64.rpm', 'krb5-libs-1.8.2-8.fc14.x86_64.rpm', 'openldap-2.4.23-4.fc14.x86_64.rpm', 'openssh-5.5p1-24.fc14.2.x86_64.rpm', 'glibc-2.13-1.i686.rpm', 'ncurses-libs-5.7-9.20100703.fc14.x86_64.rpm', 'openssl-1.0.0d-1.fc14.x86_64.rpm', 'libselinux-2.0.96-6.fc14.1.x86_64.rpm', 'perl-libs-5.12.3-141.fc14.x86_64.rpm', 'gdbm-1.8.3-8.fc14.x86_64.rpm', 'perl-libs-5.12.3-141.fc14.i686.rpm', 'perl-threads-shared-1.32-141.fc14.x86_64.rpm', 'perl-Pod-Simple-3.13-141.fc14.noarch.rpm', 'perl-Module-Pluggable-3.90-141.fc14.noarch.rpm', 'perl-threads-1.75-141.fc14.x86_64.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully removed package ['libselinux-2.0.96-6.fc14.1.x86_64.rpm', 'perl-Module-Pluggable-3.90-141.fc14.noarch.rpm', 'perl-Pod-Simple-3.13-141.fc14.noarch.rpm', 'perl-libs-5.12.3-141.fc14.x86_64.rpm', 'perl-libs-5.12.3-141.fc14.i686.rpm', 'glibc-2.13-1.i686.rpm', 'gdbm-1.8.3-8.fc14.x86_64.rpm', 'perl-threads-shared-1.32-141.fc14.x86_64.rpm', 'krb5-libs-1.8.2-8.fc14.x86_64.rpm', 'perl-threads-1.75-141.fc14.x86_64.rpm', 'ncurses-libs-5.7-9.20100703.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.x86_64.rpm', 'openssh-clients-5.5p1-24.fc14.2.x86_64.rpm', 'openldap-2.4.23-4.fc14.x86_64.rpm', 'openssh-5.5p1-24.fc14.2.x86_64.rpm', 'glibc-2.13-1.x86_64.rpm', 'openssl-1.0.0d-1.fc14.x86_64.rpm', 'perl-5.12.3-141.fc14.x86_64.rpm'] from repo [errata-upload1].
[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]# pulp-admin repo content --id=errata-upload1
+------------------------------------------+
Contents of errata-upload1
+------------------------------------------+
Packages in errata-upload1:
libcurl-7.21.0-6.fc14.x86_64.rpm
krb5-libs-1.8.2-8.fc14.i686.rpm
nopaste-0.25-1.fc14.noarch.rpm
perl-App-Nopaste-0.25-1.fc14.noarch.rpm
shadow-utils-4.1.4.2-11.fc14.x86_64.rpm
perl-Moose-1.12-2.fc14.x86_64.rpm
setup-2.8.28-1.fc14.noarch.rpm
openldap-2.4.23-4.fc14.i686.rpm
openssl-1.0.0d-1.fc14.i686.rpm
coreutils-8.5-7.fc14.x86_64.rpm
tar-1.23-7.fc14.x86_64.rpm
libcom_err-1.41.12-6.fc14.i686.rpm
mailx-12.5-1.fc14.x86_64.rpm
amanda-3.1.3-2.fc14.x86_64.rpm
Errata in errata-upload1:
FEDORA-2011-0432
Files in errata-upload1:
none
[root@preethi ~]# pulp-admin repo remove_package -p amanda-3.1.3-2.fc14.x86_64.rpm -pmailx-12.5-1.fc14.x86_64.rpm -plibcom_err-1.41.12-6.fc14.i686.rpm -p tar-1.23-7.fc14.x86_64.rpm --id=errata-upload1
Following dependencies are suggested. ['glibc-2.13-1.i686.rpm', 'glibc-2.13-1.x86_64.rpm', 'nss-3.12.9-1.fc14.x86_64.rpm', 'krb5-libs-1.8.2-8.fc14.x86_64.rpm', 'nspr-4.8.7-1.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.x86_64.rpm', 'perl-5.12.3-141.fc14.x86_64.rpm', 'mailx-12.5-1.fc14.x86_64.rpm', 'tar-1.23-7.fc14.x86_64.rpm', 'shadow-utils-4.1.4.2-11.fc14.x86_64.rpm', 'libcurl-7.21.0-6.fc14.x86_64.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm', 'openssl-1.0.0d-1.fc14.x86_64.rpm', 'info-4.13a-13.fc14.x86_64.rpm', 'libselinux-2.0.96-6.fc14.1.x86_64.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully removed package ['libselinux-2.0.96-6.fc14.1.x86_64.rpm', 'libcurl-7.21.0-6.fc14.x86_64.rpm', 'mailx-12.5-1.fc14.x86_64.rpm', 'amanda-3.1.3-2.fc14.x86_64.rpm', 'shadow-utils-4.1.4.2-11.fc14.x86_64.rpm', 'glibc-2.13-1.i686.rpm', 'info-4.13a-13.fc14.x86_64.rpm', 'nspr-4.8.7-1.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.i686.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.x86_64.rpm', 'nss-3.12.9-1.fc14.x86_64.rpm', 'tar-1.23-7.fc14.x86_64.rpm', 'krb5-libs-1.8.2-8.fc14.x86_64.rpm', 'glibc-2.13-1.x86_64.rpm', 'openssl-1.0.0d-1.fc14.x86_64.rpm', 'perl-5.12.3-141.fc14.x86_64.rpm'] from repo [errata-upload1].
[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]#
[root@preethi ~]# pulp-admin repo content --id=errata-upload1+------------------------------------------+
Contents of errata-upload1
+------------------------------------------+
Packages in errata-upload1:
krb5-libs-1.8.2-8.fc14.i686.rpm
nopaste-0.25-1.fc14.noarch.rpm
perl-App-Nopaste-0.25-1.fc14.noarch.rpm
perl-Moose-1.12-2.fc14.x86_64.rpm
setup-2.8.28-1.fc14.noarch.rpm
openldap-2.4.23-4.fc14.i686.rpm
openssl-1.0.0d-1.fc14.i686.rpm
Errata in errata-upload1:
FEDORA-2011-0432
Files in errata-upload1:
none
[root@preethi ~]# pulp-admin repo remove_package -p krb5-libs-1.8.2-8.fc14.i686.rpm -p nopaste-0.25-1.fc14.noarch.rpm --id=errata-upload1
Following dependencies are suggested. ['perl-5.12.3-141.fc14.x86_64.rpm', 'perl-App-Nopaste-0.25-1.fc14.noarch.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm', 'glibc-2.13-1.i686.rpm', 'glibc-2.13-1.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.i686.rpm', 'libselinux-2.0.96-6.fc14.1.i686.rpm']
Would you like us to add these?(Y/N/Q):y
Successfully removed package ['libselinux-2.0.96-6.fc14.1.i686.rpm', 'perl-App-Nopaste-0.25-1.fc14.noarch.rpm', 'glibc-2.13-1.i686.rpm', 'glibc-2.13-1.x86_64.rpm', 'coreutils-8.5-7.fc14.x86_64.rpm', 'nopaste-0.25-1.fc14.noarch.rpm', 'perl-5.12.3-141.fc14.x86_64.rpm', 'libcom_err-1.41.12-6.fc14.i686.rpm', 'krb5-libs-1.8.2-8.fc14.i686.rpm'] from repo [errata-upload1].
[root@preethi ~]# pulp-admin repo content --id=errata-upload1+------------------------------------------+
Contents of errata-upload1
+------------------------------------------+
Packages in errata-upload1:
perl-Moose-1.12-2.fc14.x86_64.rpm
setup-2.8.28-1.fc14.noarch.rpm
openldap-2.4.23-4.fc14.i686.rpm
openssl-1.0.0d-1.fc14.i686.rpm
Errata in errata-upload1:
FEDORA-2011-0432
Files in errata-upload1:
none
Closing with Community Release 15 pulp-0.0.223-4. |