package_hook crashed with FileNotFoundError in makedirs(): [Errno 2] No such file or directory: '//var/cache/apt/archives/partial'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/usr/share/
pr.
File "/usr/lib/
version = packaging.
File "/usr/lib/
pkg = self._apt_
File "/usr/lib/
return self._cache(
File "/usr/lib/
self._apt_cache = apt.Cache(progress, rootdir='/')
File "/usr/lib/
self.
File "/usr/lib/
os.
File "/usr/lib/
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: '//var/
ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: apport 2.20.10-0ubuntu9
ProcVersionSign
Uname: Linux 4.17.0-9-generic x86_64
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CrashReports:
600:0:
640:0:
600:0:
640:1000:
Date: Thu Aug 30 21:37:17 2018
ExecutablePath: /usr/share/
InstallationDate: Installed on 2018-04-28 (125 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
InterpreterPath: /usr/bin/python3.6
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/share/
ProcEnviron:
TERM=screen.
SHELL=/bin/bash
LANG=en_IN
PATH=(custom, user)
Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.6-1
PythonArgs: ['/usr/
PythonDetails: N/A
SourcePackage: apport
Title: package_hook crashed with FileNotFoundError in makedirs(): [Errno 2] No such file or directory: '//var/
UpgradeStatus: Upgraded to cosmic on 2018-08-30 (0 days ago)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in apport (Ubuntu): | |
importance: | Undecided → Medium |
Apport calls: apt.Cache(progress, rootdir='/')
This call should not crash that way. The library is provided by python3-apt. Therefore reassigning to it.