{ "info": { "author": "Xie Wei", "author_email": "xw.master@live.cn", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "# \u7528\u4e8e\u4fee\u6539apt\u8f6f\u4ef6\u4ed3\u5e93\u7684\u5de5\u5177\u96c6\n\n\u5b89\u88c5\uff1a\n===\n\u63a8\u8350:\n\n python setup.py sdist\n sudo pip install dist/* \u6216 pip install --user dist/*\n\n\u4e0d\u63a8\u8350:\n\n sudo python setup.py install --record install.log\n\n\u5378\u8f7d\uff1a\n===\n\u5982\u679c\u662fpip\u5b89\u88c5\uff1a\n\n pip uninstall apt-tools-xiewei\n\n\u5982\u679c\u662fsetup.py\u5b89\u88c5\uff1a\n\n cat install.log | xargs sudo rm -rf\n\n\u4e34\u65f6\u4f7f\u7528\uff1a\n===\n\u76f4\u63a5\u8fd0\u884c archive-man.py\n\n\u67e5\u770b\u547d\u4ee4\u884c\u5e2e\u52a9\n===\n\n archive-man --help\n\n\u4f9d\u8d56\uff1a\n===\npython-2.7\n\napt-utils\n\nreprepro\n\ngnupg\n\n\u666e\u901a\u8f6f\u4ef6\u6e90\u64cd\u4f5c\uff1a\n===\n\n\u6709\u4e00\u5806deb\u5305\uff0c\u60f3\u8981\u53d1\u5e03\u6210\u4e00\u4e2aapt\u6e90\n---\n\u521b\u5efa\u6e90\u6587\u4ef6\u5939a\uff08\u540d\u5b57\u53ef\u4ee5\u968f\u610f\uff0c\u4f46\u4e0d\u8981\u7528\u4e2d\u6587\uff09\uff0c\u5728\u91cc\u9762\u521b\u5efa\u4e00\u4e2apool\u7684\u5b50\u6587\u4ef6\u5939\n\n mkdir -p a/pool\n\n\u628adeb\u5305\u653e\u5230pool\u76ee\u5f55\u91cc\n\n cp /path-to-my-package/*.deb a/pool/\n\n\u6267\u884c\u53d1\u5e03\u547d\u4ee4\n\n archive-man publish a -s stable -a arm64\n\n- -s \u6307\u5b9a\u7248\u672c\u4ee3\u53f7\n\n- -a \u53ef\u4ee5\u6307\u5b9a\u591a\u6b21\uff0c\u5982\u679c\u60f3\u8981\u7528\u540c\u4e00\u4e2a\u76ee\u5f55\u63d0\u4f9b\u591a\u4e2a\u4f53\u7cfb\u7ed3\u6784\u7684\u8f6f\u4ef6\u6e90\n\n\u53d1\u5e03\u5b8c\u540e\u4f1a\u63d0\u793asource.list\u7684\u5199\u6cd5\u3002\n\n\u590d\u5236\u4e00\u4e2a\u8fdc\u7a0b\u8f6f\u4ef6\u6e90\n---\n\u53ef\u4ee5\u590d\u5236\u67d0\u4e2a\u8f6f\u4ef6\u6e90\u7684\u4e00\u90e8\u5206\uff08\u6307\u5b9a\u9700\u8981\u7684\u7cfb\u5217\uff0c\u6307\u5b9a\u9700\u8981\u7684\u4f53\u7cfb\u7ed3\u6784\uff0c\u6307\u5b9a\u9700\u8981\u7684component\uff09\n\n archive-man copy http://archive.ubuntu.com/ubuntu /local-path -s xenial -a amd64 -a i386 -c main -c universe\n\n- -s \u6307\u5b9a\u7248\u672c\u4ee3\u53f7\n- -a \u6307\u5b9a\u4f53\u7cfb\u7ed3\u6784\uff0c\u53ef\u4ee5\u6307\u5b9a\u591a\u6b21\n- -c \u6307\u5b9a\u8f6f\u4ef6\u6e90component\uff0c\u53ef\u4ee5\u6307\u5b9a\u591a\u6b21\n\nAll Functions\n===\n key\n ---\n import PGP key for signing\n\n sign\n ---\n sign Release file with imported PGP key\n\n copy\n ---\n copy archive (only one suite) to a local directory\n\n local-copy\n ---\n just like cp, but files in pool/ will be a hardlink to source\n\n publish\n ---\n publish a customized archive form a package pool\n\n merge\n ---\n merge 2 or more suites into a new suite in the same archive\n\n strip\n ---\n remove unnecessary files from pool/ if local archive\n\n diff\n ---\n compare the package list of two dists\n\n check\n ---\n check missing or unnecessary debian packages in archive\n\n checkdep\n ---\n check dependencies of packages in an archive\n\n rename\n ---\n change filename of package in the archive indexes", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sir-xw/apt-archive-tools", "keywords": "", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "apt-archive-tools", "package_url": "https://pypi.org/project/apt-archive-tools/", "platform": "", "project_url": "https://pypi.org/project/apt-archive-tools/", "project_urls": { "Homepage": "https://github.com/sir-xw/apt-archive-tools" }, "release_url": "https://pypi.org/project/apt-archive-tools/1.1.0.dev5/", "requires_dist": null, "requires_python": "", "summary": "Apt archive toolkit", "version": "1.1.0.dev5" }, "last_serial": 5081647, "releases": { "1.1.0.dev1": [ { "comment_text": "", "digests": { "md5": "5de1248ab5e2f33626cf66f203605d61", "sha256": "33fe3db793534b0d5d422bdab8bab5d3bd337a06e1edd0a8ee457de0aff1cd89" }, "downloads": -1, "filename": "apt-archive-tools-1.1.0.dev1.tar.gz", "has_sig": false, "md5_digest": "5de1248ab5e2f33626cf66f203605d61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38487, "upload_time": "2019-02-15T07:32:49", "url": "https://files.pythonhosted.org/packages/77/d5/f6d6e66921103082fdc84ea02090ae6853729fc686e508caf2f2a050bcc9/apt-archive-tools-1.1.0.dev1.tar.gz" } ], "1.1.0.dev2": [ { "comment_text": "", "digests": { "md5": "32b24e9dd855e1aa0ef757c490a13ee4", "sha256": "e2a9ad374cc63c66bfcdc1e8a5b1028377d2806f74a03ad746feaa5dd58b3388" }, "downloads": -1, "filename": "apt-archive-tools-1.1.0.dev2.tar.gz", "has_sig": false, "md5_digest": "32b24e9dd855e1aa0ef757c490a13ee4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38794, "upload_time": "2019-02-15T09:12:16", "url": "https://files.pythonhosted.org/packages/fb/ab/5bc222216f7efc35378febd9d1daed13fd6f8b7a9924688c9a6550de572d/apt-archive-tools-1.1.0.dev2.tar.gz" } ], "1.1.0.dev3": [ { "comment_text": "", "digests": { "md5": "b9e0e164f540f601dbc4e861560f43f8", "sha256": "633b8e56aafff04cff1012129c88dce683780673ac2dc0adaf4213c3028d0172" }, "downloads": -1, "filename": "apt-archive-tools-1.1.0.dev3.tar.gz", "has_sig": false, "md5_digest": "b9e0e164f540f601dbc4e861560f43f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38780, "upload_time": "2019-03-06T06:11:09", "url": "https://files.pythonhosted.org/packages/b7/02/1bf53d1cb4ddb1ca9e99ad3ed0cb033924290a7dc764259acac503a29e4c/apt-archive-tools-1.1.0.dev3.tar.gz" } ], "1.1.0.dev5": [ { "comment_text": "", "digests": { "md5": "cbe03c53bb7442953e72903208bb5204", "sha256": "92de2d5d674b8af6d60b822605f2642da8603fe2b3dd3533590e0cebf304f333" }, "downloads": -1, "filename": "apt-archive-tools-1.1.0.dev5.tar.gz", "has_sig": false, "md5_digest": "cbe03c53bb7442953e72903208bb5204", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38869, "upload_time": "2019-04-03T01:01:43", "url": "https://files.pythonhosted.org/packages/e1/49/1412f692ebe805f50fc98da9916d30218edeef154b772bb12c93bd043495/apt-archive-tools-1.1.0.dev5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cbe03c53bb7442953e72903208bb5204", "sha256": "92de2d5d674b8af6d60b822605f2642da8603fe2b3dd3533590e0cebf304f333" }, "downloads": -1, "filename": "apt-archive-tools-1.1.0.dev5.tar.gz", "has_sig": false, "md5_digest": "cbe03c53bb7442953e72903208bb5204", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38869, "upload_time": "2019-04-03T01:01:43", "url": "https://files.pythonhosted.org/packages/e1/49/1412f692ebe805f50fc98da9916d30218edeef154b772bb12c93bd043495/apt-archive-tools-1.1.0.dev5.tar.gz" } ] }