Cannot file an ubiquity bug using apport after performing offline installation

Bug #1050569 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Triaged
Low
Unassigned
ubiquity (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

After performing an offline installation, I am unable to run apport via ubuntu-bug to file a bug against ubiquity until I first run an apt-get update to update the archive. When an installation is offline, it seems like this list is missing. Apport gives the following error:

dpkg-query: no packages found matching ubiquity

After running the update, everything went fine, and obviously, network access is required to file a bug. However, this interaction is confusing, and if possible should be fixed. Could ubiquity generate the list during an offline install? Could apport run an update if it doesn't find the package in the current list before giving the error? This might just be a 'won't fix'.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.5.0-14.16-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Thu Sep 13 15:07:51 2012
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120913.3)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Right, as Ubiquity is not installed in the target system, it cannot determine the package status/files/version/etc. I'm not keen on running apt-get update in apport, as that can take a long time (or not work at all if you are offline), and feels wrong to me. However, we could teach it to special-case ubiquity to send log files etc. even when ubiquity is not installed any more.

I don't think we want to try and forge the apt lists in Ubiquity; creating them should be apt's job the first time the computer is online in my opinion, so I tentatively set the ubiquity task to wont fix.

Changed in ubiquity (Ubuntu):
status: New → Won't Fix
summary: - Cannot file a bug using apport after performing offline installation
+ Cannot file an ubiquity bug using apport after performing offline
+ installation
affects: apport → apport (Ubuntu)
Changed in apport (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

I tested this with an Ubuntu 17.10 install with no-network and the results were the same.

tags: added: artful
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.