Problem:
Hi,
I want to know how to remove specific content/RPM package from pulp repository/content.
FYI :
[pulp@pulpcore ~]$ pulp rpm repository list
{
“pulp_href”: “/pulp/api/v3/repositories/rpm/rpm/018c4405-f505-7b1a-b5b6-ade858be107c/”,
“pulp_created”: “2023-12-07T11:24:50.310805Z”,
“versions_href”: “/pulp/api/v3/repositories/rpm/rpm/018c4405-f505-7b1a-b5b6-ade858be107c/versions/”,
“pulp_labels”: {},
“latest_version_href”: “/pulp/api/v3/repositories/rpm/rpm/018c4405-f505-7b1a-b5b6-ade858be107c/versions/6/”,
“name”: “boomi-rhel8”,
“description”: null,
“retain_repo_versions”: null,
“remote”: null,
“autopublish”: false,
“metadata_signing_service”: null,
“retain_package_versions”: 0,
“metadata_checksum_type”: null,
“package_checksum_type”: null,
“gpgcheck”: 0,
“repo_gpgcheck”: 0,
“sqlite_metadata”: false
}
Expected Outcome
for example: I should be able to remove this specific package
[pulp@pulpcore ~]$ pulp rpm content list --name mysql-community-server
[
{
“pulp_href”: “/pulp/api/v3/content/rpm/packages/018c4481-9ce1-713a-8876-7a16e1a36c1a/”,
“pulp_created”: “2023-12-07T13:40:34.441742Z”,
“md5”: null,
“sha1”: null,
“sha224”: “dc00f8bc300f90ca23047c0def6f55fc6dfd857a4715d1c73b7df4e3”,
“sha256”: “8f8a4eac8e9d085ab639ba6f65779a0a658163da9c0e3dc7cf9e7673d8c577c7”,
“sha384”: “08f764c1fb34fd038904a1094014de6d5358daec3b4c1a89dba283cdedd8cfd29a64742a2794097c8414edfc4ede2886”,
“sha512”: “703604e9e09b38ad3143fb2db1a4a6cc5a2a0ca05947cd919593e5c6de81620311e9574f6f52a4b6ebc35ce6da29178611abb893db56dba053cfcf0522a0e345”,
“artifact”: “/pulp/api/v3/artifacts/018c4481-c709-7068-8b1c-0327c85d4772/”,
“name”: “mysql-community-server”,
“epoch”: “0”,
“version”: “8.0.35”,
“release”: “1.el8”,
“arch”: “x86_64”,
“pkgId”: “8f8a4eac8e9d085ab639ba6f65779a0a658163da9c0e3dc7cf9e7673d8c577c7”,
“checksum_type”: “sha256”,
“summary”: “A very fast and reliable SQL database server”,
“description”: “The MySQL™ software delivers a very fast, multi-threaded, multi-user,\nand robust SQL (Structured Query Language) database server. MySQL Server\nis intended for mission-critical, heavy-load production systems as well\nas for embedding into mass-deployed software. MySQL is a trademark of\nOracle and/or its affiliates\n\nThe MySQL software has Dual Licensing, which means you can use the MySQL\nsoftware free of charge under the GNU General Public License\n(Licenses - GNU Project - Free Software Foundation). You can also purchase commercial MySQL\nlicenses from Oracle and/or its affiliates if you do not wish to be bound by theterms of\nthe GPL. See the chapter “Licensing and Support” in the manual for\nfurther info.\n\nThe MySQL web site (http://www.mysql.com/) provides the latest news and\ninformation about the MySQL software. Also please see the documentation\nand the manual for more information.\n\nThis package includes the MySQL server binary as well as related utilities\nto run and administer a MySQL server.”,
“url”: “http://www.mysql.com/”,
Pulpcore version:
pulpcore==3.31.0
Pulp plugins installed and their versions:
pulp-rpm==3.22.3
pulp-certguard==1.6.5
pulp-certguard-client==1.6.5
pulp-cli==0.21.2
Operating system - distribution and version:
RHEL 8.8
Please let me know if you need any other information.
Thank You!