python-apt
python-apt copied to clipboard
This is a Python library interface to libapt, which allows you to query and manipulat APT package repository information using the Python programming language.
Why I always get an error when installing everything? For an example python-apt ~ $ apt install python-apt Reading package lists... Done Building dependency tree... Done Reading state information... Done...
``` % sudo pip3 install -U python-apt Collecting python-apt Downloading python-apt-0.7.8.tar.bz2 (49kB) 100% |████████████████████████████████| 53kB 1.2MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "",...
``` root@ubuntu:~/source/fail2ban# pip list | grep python-apt python-apt (0.9.3.5ubuntu2) root@ubuntu:~/source/fail2ban# pip install --upgrade python-apt Collecting python-apt Using cached python-apt-0.7.8.tar.bz2 Complete output from command python setup.py egg_info: Traceback (most recent call...
When running the following code from a Python script run with sudo: import apt cache = apt.cache.Cache() cache.update() I receive the following error Traceback (most recent call last): File "sudohelper.py",...
Hello, When executing this code on Ubuntu Xenial: ``` import aptsources.distro as aptsources_distro distro = aptsources_distro.get_distro() ``` `distro.codename` evaluates to `sid` when it should be `xenial`.
It looks like when you instantiate the apt/cache.py class with rootdir="/" on my plain vanilla 17.10 system, it hangs. CPU spikes to 100%+ and just sits there. It smells like...
The [search page](https://apt.alioth.debian.org/python-apt-doc/search.html?q=debian) shows **no results** for any random keywords, such as: pkg, debian, apt and more.
Could you please update the information on [PyPI](https://pypi.python.org/pypi/apt/) to reflect the recent changes? And also I'm interested in contributing to this project.