ubuntu-bug fails just after installing apt update has never been done

Bug #1899628 reported by Marco Trevisan (Treviño)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Low
Unassigned

Bug Description

Doing the ISO testing in a machine, that I did it staying offline.

After installing, I connected and noticed a bug I wanted to report in ubuntu-drivers-common, but doing `ubuntu-bug` on it failed:

This does not seem to be an official Ubuntu Package. Please retry after updating the indexes of available packages...

https://i.imgur.com/fnDz6vf.png

This is true as per:

$ apt-cache policy ubuntu-drivers-common
ubuntu-drivers-common:
  Installed: 1:0.8.5.4
  Candidate: 1:0.8.5.4
  Version table:
 *** 1:0.8.5.4 100
        100 /var/lib/dpkg/status

However, apport should probably trigger an apt-update in such case first instead of failing, or adding a button to do this easily and then proceed with the report.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: apport 2.20.11-0ubuntu49
ProcVersionSignature: Ubuntu 5.8.0-22.23-generic 5.8.14
Uname: Linux 5.8.0-22-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu49
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 13 14:19:30 2020
InstallationDate: Installed on 2020-10-13 (0 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Beta amd64 (20201013.1)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1899628

tags: added: iso-testing
Revision history for this message
Brian Murray (brian-murray) wrote :

This error message was actually recently changed and now recommends updating your apt indexes. I gather you'd like to to do more and update the indexes for you?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Yeah, or at least to have a button to start updating, so that it allows then to proceed.

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.