[Bug 2040014] Re: Installing then uninstalling gnome-software somehow killed apport

Andi McClure 2040014 at bugs.launchpad.net
Fri Oct 20 19:19:07 UTC 2023


I typed in the box to attach this to package "apt" but somehow it wound
up attached to "ubiquity". I don't believe that's the right component.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2040014

Title:
  Installing then uninstalling gnome-software somehow killed apport

Status in ubiquity package in Ubuntu:
  Invalid

Bug description:
  About 48 hours ago I installed a new 23.10 on a new partition. Within
  24 hours of install, I was successfully able to run ubuntu-bug.
  Another 24 hours later, I ran ubuntu-bug and it was gone. The
  executable was missing, and the "apport" (and "apport-gtk") packages
  were removed/uninstalled. I did not do anything that "should" have
  removed apport. I can identify in the logs the single autoremove that
  uninstalled apport, but it seems like it "shouldn't" have.

  DETAIL

  I don't know exactly what information to include. However, here is the output of history | perl -ne 'print if ((/apt/ and /install|remove/ and not /uninstall/) or (/apport-bug/ or /ubuntu-bug/))'
  (Sorry it's long)

      1  sudo apt-get remove thunderbird
      2  sudo apt-get autoremove
      3  sudo apt-get install gnome-tweaks
      5  sudo apt-get install gnome-browser-connector
     27  sudo apt install rofi
     33  sudo apt remove rofi
     50  ubuntu-bug linux
     77  sudo apt-get install gnome-firmware
     82  sudo apt-get install gnome-software
     87  sudo apt remove gnome-software
     89  sudo apt-get install systemd-coredump
     90  sudo apt autoremove
     92  sudo apt remove gnome-tweaks
    157  sudo apt install python3-pdm
    159  sudo apt install git
    185  sudo apt install pkg-config
    187  sudo apt install alsa
    201  sudo apt install libasound2-dev libudev-dev
    206  sudo apt install curl
    226  sudo     apt install mercurial python3-dulwich
    314  sudo apt install clang
    321  sudo apt install python3-pip
    372  ubuntu-bug nautilus
    374  ubuntu-bug nautilus
    379  sudo apt install apport
    380  ubuntu-bug nautilus
    381  ubuntu-bug gdm3
    391  apport-bug /var/crash/_usr_bin_nautilus.1000.crash 
    396  ubuntu-bug /var/crash/_usr_bin_nautilus.1000.crash 
    397  history | grep "apt remove"
    398  history | grep "apt autoremove"
    399  apt list --installed ubuntu-desktop
    405  history | grep apt | grep remove
    407  sudo apt install ubuntu-desktop
    408  sudo apt install ubuntu-desktop^
    411  ubuntu-bug  

  The "50" invocation of ubuntu-bug worked. The "380" invocation did
  not. The only removal that happened between 50 and 380 is removing
  gnome-software (which I installed myself after 50), then autoremoving,
  then removing gnome-tweaks (which I installed myself before 50) in
  that order.

  My /var/log/apt/history.log (attached) says that apport was installed
  by the initial system install (not the install of gnome-tweaks or
  gnome-software), and removed by the autoremove immediately after
  uninstalling gnome-software.

  Because I ran an autoremove after removing thunderbird, it seems like
  the problem was *not* the state of my dependency tree at initial
  bootup, or after removing thunderbird. It appears that installing
  gnome-software, then removing gnome-software, was the culprit. (The
  other possibility is rofi, which was also installed then removed
  between the two autoremoves, but before "50".)

  EXPECTED BEHAVIOR

  Installing then uninstalling an optional package, then running
  autoremove, should be a no-op (assuming the dependency tree is
  autoremove-pruned, which in this case it was or close-enough was).

  If apport and apport-pkg are properly in the dependency tree (and
  therefore protected from autoremove) before installing and
  uninstalling gnome-software (or whatever I did above that was to
  blame), it should continue to be properly in the dependency tree
  afterward.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
  Uname: Linux 6.5.0-9-generic x86_64
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 20 14:29:00 2023
  InstallCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-9-generic root=UUID=ecb1730b-cbe1-457c-a4f8-23e2eaf89020 ro quiet splash vt.handoff=7
  InstallationDate: Installed on 2023-10-18 (3 days ago)
  InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: ubiquity
  Symptom: installation
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2040014/+subscriptions




More information about the foundations-bugs mailing list