--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-apt: FTBFS: SystemError: E:List of files can't be created as '/xxx/' is not a directory
- From: Jakub Wilk <jwilk@debian.org>
- Date: Tue, 23 Aug 2011 00:46:05 +0200
- Message-id: <20110822224604.GA2032@jwilk.net>
Source: python-apt
Version: 0.8.0
Severity: serious
Justification: fails to build from source
python-apt FTBFS in unstable:
| [tests] Running on 2.7.2+ (default, Aug 16 2011, 07:03:08) [GCC 4.6.1]
| ======================================================================
| ERROR: test_apt_update (test_apt_cache.TestAptCache)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/tests/test_apt_cache.py", line 139, in test_apt_update
| cache = apt.Cache()
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 93, in __init__
| self.open(progress)
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 136, in open
| self._cache = apt_pkg.Cache(progress)
| SystemError: E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:The package lists or status file could not be parsed or opened.
|
| ======================================================================
| ERROR: test_dpkg_journal_dirty (test_apt_cache.TestAptCache)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/tests/test_apt_cache.py", line 95, in test_dpkg_journal_dirty
| cache = apt.Cache()
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 93, in __init__
| self.open(progress)
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 136, in open
| self._cache = apt_pkg.Cache(progress)
| SystemError: E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:The package lists or status file could not be parsed or opened.
|
| ======================================================================
| ERROR: test_get_provided_packages (test_apt_cache.TestAptCache)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/tests/test_apt_cache.py", line 56, in test_get_provided_packages
| cache = apt.Cache()
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 93, in __init__
| self.open(progress)
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 136, in open
| self._cache = apt_pkg.Cache(progress)
| SystemError: E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:The package lists or status file could not be parsed or opened.
|
| ======================================================================
| ERROR: test_low_level_pkg_provides (test_apt_cache.TestAptCache)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/tests/test_apt_cache.py", line 73, in test_low_level_pkg_provides
| cache = apt_pkg.Cache(progress=None)
| SystemError: E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:List of files can't be created as '/etc/apt/xxx/' is not a directory, E:The package lists or status file could not be parsed or opened.
|
| ======================================================================
| ERROR: test_acquire_progress (test_progress.TestProgress)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/tests/test_progress.py", line 43, in test_acquire_progress
| cache = apt.Cache()
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 93, in __init__
| self.open(progress)
| File "/build/python-apt-qx2Eas/python-apt-0.8.0/build/lib.linux-i686-2.7/apt/cache.py", line 136, in open
| self._cache = apt_pkg.Cache(progress)
| SystemError: E:List of files can't be created as '/xxx/' is not a directory, E:List of files can't be created as '/xxx/' is not a directory, E:The package lists or status file could not be parsed or opened.
|
| ----------------------------------------------------------------------
| Ran 40 tests in 8.672s
|
| FAILED (errors=5)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
--
Jakub Wilk
--- End Message ---