Ubuntu 18.04 install failing at "/usr/lib/python3/dist-packages/apt/cache.py", line 185, in open: /plugininstall.py: self._cache = apt_pkg.Cache(progress)

Bug #1768721 reported by Chris Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Originally was trying to dual boot, finally wiped the drive in attempts to do a clean install. Install is still failing after setting display to 100%.

Installing on MBP 12,1

Any help would be great!

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.14
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CasperVersion: 1.394
Date: Wed May 2 21:30:44 2018
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Jensen (crjensen) wrote :
summary: - Ubuntu 18.04 install still failing after set display to 100%
+ Ubuntu 18.04 install failing at "/usr/lib/python3/dist-
+ packages/apt/cache.py", line 185, in open: /plugininstall.py:
+ self._cache = apt_pkg.Cache(progress)
Revision history for this message
Phillip Susi (psusi) wrote :

apt_pkg.Error: W:Unable to read /target/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory), W:Unable to read /target/etc/apt/sources.list - RealFileExists (2: No such file or directory), E:flAbsPath on /target/var/lib/dpkg/status failed - realpath (2: No such file or directory), E:Could not open file - open (2: No such file or directory), E:Problem opening , E:The package lists or status file could not be parsed or opened.

It looks like your target system is missing /etc/apt/sources.list, but how can that be when it was just put there by the installer? Very strange.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.