{ "info": { "author": "Sean Karlage", "author_email": "skarlage@fb.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Utilities" ], "description": "# dcrpm\n\n[![Build Status](https://travis-ci.org/facebookincubator/dcrpm.svg)](http://travis-ci.org/facebookincubator/dcrpm) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\ndcrpm (\"detect and correct rpm\") is a tool to detect and correct common issues around RPM database corruption. It attempts a query against your RPM database and runs db4's `db_recover` if it's hung or otherwise seems broken. It then kills any jobs which had the RPM db open previously since they will be stuck in infinite loops within libdb and can't recover cleanly.\n\n## Usage\nRun `dcrpm` with no option to detect and correct any outstanding issues with RPM on your host. Additional options can be used to customize logging or select specific remediations. dcrpm is meant to be run from cron regularly to keep things happy and healthy.\n\n## Requirements\ndcrpm requires Python 2.7 and above and the package psutil. It also requires `lsof` to be in `$PATH`. It should work on any Linux distribution with RPM and on Mac OS X.\n\n## Building and installing dcrpm\nThe easiest way to install dcrpm is get the source and install it using setup.py:\n\n python setup.py install\n\nThis will fetch psutil from pypi for you. dcrpm also assumes that the system will have RPM and Yum installed.\n\n\n## Building and installing for development\nIf you want to develop, the easiest way to get dcrpm is by using pip:\n\n pip install -r requirements.txt # get extra packages\n python setup.py install\n\nWhen developing it's important to make sure the tests continue to pass, and to ensure new features have the appropriate test coverage. You can run the test suite with:\n\n python setup.py test\n\nwhich will fetch mock from pypi if needed and then run the tests.\n\n## Contribute\nSee the CONTRIBUTING file for how to help out.\n\n## License\ndcrpm is GPLv2-licensed.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/facebookincubator/dcrpm", "keywords": "dcrpm,rpm,yum,db_recover,db4,bdb", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "dcrpm", "package_url": "https://pypi.org/project/dcrpm/", "platform": "", "project_url": "https://pypi.org/project/dcrpm/", "project_urls": { "Homepage": "https://github.com/facebookincubator/dcrpm" }, "release_url": "https://pypi.org/project/dcrpm/0.5.0/", "requires_dist": [ "psutil" ], "requires_python": "", "summary": "A tool to detect and correct common issues around RPM database corruption.", "version": "0.5.0" }, "last_serial": 5704410, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a31917d509b78e89a7d2419b9cdde100", "sha256": "ca2c70ae96b9058344aae2816383256bdc912f114c3c09608c223649c0616dd6" }, "downloads": -1, "filename": "dcrpm-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a31917d509b78e89a7d2419b9cdde100", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22906, "upload_time": "2018-02-07T01:21:52", "url": "https://files.pythonhosted.org/packages/f4/61/bbb05e64d26cb0857b5b8a69f10582ea6c5b168b10fb45c621b84faacb0e/dcrpm-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8fe05fb3cd1cd20b1568c6df28c30a02", "sha256": "e2ebf1c9083f8b34ace2e4c7c335d331dd8987ef31ab71d41bfa578f379f25aa" }, "downloads": -1, "filename": "dcrpm-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8fe05fb3cd1cd20b1568c6df28c30a02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23935, "upload_time": "2018-02-07T01:21:28", "url": "https://files.pythonhosted.org/packages/ee/86/a52b313e035c499c14894bf5e40551c4caa1ade0813c41598c0f72b5ee5d/dcrpm-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4d4cdf7a119ecd62127e6cc318d12a44", "sha256": "497edce8cd542882f9b585ba906a78f62b6155805776ac655a69c69e7220aecf" }, "downloads": -1, "filename": "dcrpm-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4d4cdf7a119ecd62127e6cc318d12a44", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26945, "upload_time": "2018-09-17T17:08:04", "url": "https://files.pythonhosted.org/packages/a4/8b/2e84437065cf8a62854e081974a01998c8bc8f7609b7feff5faf290c3570/dcrpm-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1ea18d3166e572ba2e48aa74b71f237", "sha256": "52679fa7a1ab5c6e8bae5695461255597300dcfd96fbe6454798749539cb57f4" }, "downloads": -1, "filename": "dcrpm-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d1ea18d3166e572ba2e48aa74b71f237", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34563, "upload_time": "2018-09-17T17:08:05", "url": "https://files.pythonhosted.org/packages/01/51/2f6f3255280425ab10956ad489de28bd3e03fdd56f6888697e7c4eb5c2a5/dcrpm-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4e6c3d5390f8d85a118463a8011af918", "sha256": "97d4a2e8905dcccd7686e10c9057fbde1df69c1e179a2ced52ad4427e123327e" }, "downloads": -1, "filename": "dcrpm-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e6c3d5390f8d85a118463a8011af918", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25640, "upload_time": "2019-01-11T21:59:09", "url": "https://files.pythonhosted.org/packages/12/18/faa21360112bb6513184e759bf38002b251bbb294a9bd658ab94f8a08652/dcrpm-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fae72e339992a7ba46c369e794734b4f", "sha256": "2f4d007a5d0e1ad8dafedc762c9b3fdad7c30eb2380bdf8c8738c5c2beaa0f0e" }, "downloads": -1, "filename": "dcrpm-0.3.0.tar.gz", "has_sig": false, "md5_digest": "fae72e339992a7ba46c369e794734b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34018, "upload_time": "2019-01-11T21:59:11", "url": "https://files.pythonhosted.org/packages/a4/bf/fe9a25f93926671ba6a28b491585b72fbcffd4c577cf4097e548c8e24211/dcrpm-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "9a987cc70e77eeed2c982fece813d87f", "sha256": "4ebd47e8fa99f9dcf6dd88a41c5dd36355c3985598e72ae19fd1a43248c90365" }, "downloads": -1, "filename": "dcrpm-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9a987cc70e77eeed2c982fece813d87f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25637, "upload_time": "2019-01-14T19:14:06", "url": "https://files.pythonhosted.org/packages/3e/d2/3b45fd4b1071584c726f6b56edd3f47a1c863648d333edb6189c6f97970b/dcrpm-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dabbf3b6b6309e21d1c0d5dce5e17eb4", "sha256": "1bf7344f9bd923deab467fb7b0d80dcda5e84b5409109057dec1e825552c4dcc" }, "downloads": -1, "filename": "dcrpm-0.3.1.tar.gz", "has_sig": false, "md5_digest": "dabbf3b6b6309e21d1c0d5dce5e17eb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53612630, "upload_time": "2019-01-14T19:14:13", "url": "https://files.pythonhosted.org/packages/61/85/ca73b61135b5e608515e171ea49477c04a45b2c55f9d5762e2749837350c/dcrpm-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d0e7dc7f22be94cbeffd9f25e24c9b63", "sha256": "fa6136e31352bd67bf291637df4ee2d62cddd28fcce256844ab2529474aadb3d" }, "downloads": -1, "filename": "dcrpm-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d0e7dc7f22be94cbeffd9f25e24c9b63", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26097, "upload_time": "2019-02-21T01:38:25", "url": "https://files.pythonhosted.org/packages/87/85/b45b4ceeeadcad79f7bb3e3d17b6420d16ea2a1259526c8dba5a1cce4a6f/dcrpm-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a32a2c4231ecb2ea4f37d36576a5a295", "sha256": "b94ec9349ad67f51cde0250963924ac33423049eb4a1d0c5dcf753980176344a" }, "downloads": -1, "filename": "dcrpm-0.4.0.tar.gz", "has_sig": false, "md5_digest": "a32a2c4231ecb2ea4f37d36576a5a295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53613304, "upload_time": "2019-02-21T01:43:28", "url": "https://files.pythonhosted.org/packages/81/d1/bd3c04b83083955fba9533b3547c999ff0dc4b86d2ae74ad7f852423f16a/dcrpm-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "90e279cf06f894272c4b1dd81cf4fe3e", "sha256": "8ac4aa8ff5e1602b9832f9625aaecb1049b7b09d797c4396c123b1d62490854d" }, "downloads": -1, "filename": "dcrpm-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90e279cf06f894272c4b1dd81cf4fe3e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29024, "upload_time": "2019-08-20T16:41:38", "url": "https://files.pythonhosted.org/packages/a2/f2/b23911bde9760afcbb8d2f60a2010082dd3838e9502706cf94000d2e1f15/dcrpm-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de76779c2a107071b6a0b3b95f4270a0", "sha256": "1b9ddb4b901d519acb9b13d170adb5e27a3993fa561f669bdf3661859d6a6d11" }, "downloads": -1, "filename": "dcrpm-0.5.0.tar.gz", "has_sig": false, "md5_digest": "de76779c2a107071b6a0b3b95f4270a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53616283, "upload_time": "2019-08-20T16:41:45", "url": "https://files.pythonhosted.org/packages/43/b3/b5bea523883251d532b97e288303b0394ec69efa5bc80753bace8cf67489/dcrpm-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90e279cf06f894272c4b1dd81cf4fe3e", "sha256": "8ac4aa8ff5e1602b9832f9625aaecb1049b7b09d797c4396c123b1d62490854d" }, "downloads": -1, "filename": "dcrpm-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90e279cf06f894272c4b1dd81cf4fe3e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29024, "upload_time": "2019-08-20T16:41:38", "url": "https://files.pythonhosted.org/packages/a2/f2/b23911bde9760afcbb8d2f60a2010082dd3838e9502706cf94000d2e1f15/dcrpm-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de76779c2a107071b6a0b3b95f4270a0", "sha256": "1b9ddb4b901d519acb9b13d170adb5e27a3993fa561f669bdf3661859d6a6d11" }, "downloads": -1, "filename": "dcrpm-0.5.0.tar.gz", "has_sig": false, "md5_digest": "de76779c2a107071b6a0b3b95f4270a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53616283, "upload_time": "2019-08-20T16:41:45", "url": "https://files.pythonhosted.org/packages/43/b3/b5bea523883251d532b97e288303b0394ec69efa5bc80753bace8cf67489/dcrpm-0.5.0.tar.gz" } ] }