version show program's version number and exit h, -help show this help message and exit Where directory where a Python package with a setup.py and Verify that supported Python versions are the same in setup.py, tox.ini, Install it with python3 -m pip install check-python-versions Usage $ check-python-versions -help You need Python 3.6 or newer (f-strings!) to run check-python-versions. You if they don’t match $ check-python-versions ~/projects/* The solution: check-python-versions will compare these lists and warn Keeping all these lists consistent is a pain. Python_requires=”>= 2.7, !=3.0.* …” because AFAIU PyPI classifiers are You probably also want to tell pip which versions you support by specifying Trove classifiers like “Programming Language :: Python :: 2.7” You have to tell the users which Python versions you support by specifying If you’re building manylinux wheels you need to … you get the idea If you support Windows, you need an appveyor.yml with %PYTHON% set to You need a tox.ini with envlist = py27, p圓6, p圓7, p圓8, p圓9 Unlike the original madison, it can only display informationįor the architecture for which APT has retrieved package lists (APT::Architecture).This is a tool for Python package maintainers who want to explicitly state It displays available versions of a package in a tabular format. More info on madison from the man page: madison pkg.Īpt-cache's madison command attempts to mimic the output format and a subset of the functionality of the Debian archive management tool, This is great if you use a PPA for a package and want to check the difference in versions between the PPA and the main repos. Shows a quick reference of all available versions and the repo they come from. 116-0ubuntu2 | trusty/universe amd64 Packages | trusty-security/universe amd64 PackagesĬhromium-browser |. | trusty-updates/universe amd64 PackagesĬhromium-browser |. I think you're looking for the madison command in apt-cache: apt-cache madison chromium-browser See man aptitude for the other characters. $ aptitude -w $COLUMNS search linux-image | grep '32 bit'Īn i in the first column tells you that it's already installed. You can also filter with grep using this awkward syntax to get around an aptitude bug/feature. linux-image*) is by using aptitude search. Ii lyx 2.1.0-1~trusty~ppa4 amd64 Document ProcessorĪnother way to get information about different but similarly-named packages (e.g. ||/ Name Version Architecture Description |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend $ dpkg -l lyxĭesired=Unknown/Install/Remove/Purge/Hold To show which is installed, you can use dpkg -l. They are not all versions of the one package. The problem is that the different versions of the kernel ( linux-image) are in individual packages, and named independently according to the version. $ apt-cache search linux-image | grep '^linux-image' If you want to see all the versions of linux-image-like packages, you can just do a search, e.g. $ apt-cache showpkg lyxĢ.1.0-1~trusty~ppa4 (/var/lib/apt/lists/_lyx-devel_release_ubuntu_dists_trusty_main_binary-amd64_Packages) (/var/lib/dpkg/status)įile: /var/lib/apt/lists/_lyx-devel_release_ubuntu_dists_trusty_main_binary-amd64_PackagesĢ.0.6-1build1 (/var/lib/apt/lists/_pub_ubuntu_dists_trusty_universe_binary-amd64_Packages) N: Can't select versions from package 'linux-image' as it is purely virtualĪpt-cache showpkg should work for real packages, though. You have the correct command, except linux-image isn't a real package name. This would help me simply do a downgrade or upgrade to a specific version. Loaded plugins: langpacks, refresh-packagekit Linux-image-3.13.0-24-generic 3.13.0-24.46Įxpecting similar output: $ yum list kernel-headers -showduplicates The above command lists various versions of the kernel-headers rpm available on F20/RHEL or installations.Ĭloset I can get using apt-cache showpkg, not sure if there is a better way ? $ apt-cache showpkg linux-image Is there a equivalent of this command yum list kernel-headers -showduplicates on Ubuntu with apt-get, apt-cache etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |