package vanilla-gnome-default-settings 18.10.1 failed to install/upgrade: installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2

Bug #1868914 reported by Guillaume Pothier
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
ubuntu-gnome-default-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I got this error when attempting to install vanilla-gnome-desktop on a system just upgraded to 20.04. I don't know if it is related to #1761014.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: vanilla-gnome-default-settings 18.10.1
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
Uname: Linux 5.4.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
Date: Wed Mar 25 01:12:09 2020
ErrorMessage: installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2018-12-14 (466 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 2.0.0
SourcePackage: ubuntu-gnome-default-settings
Title: package vanilla-gnome-default-settings 18.10.1 failed to install/upgrade: installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to focal on 2020-03-25 (0 days ago)

Revision history for this message
Guillaume Pothier (gpothier-caligrafix) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-gnome-default-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Broadhead (pjbroad) wrote :

This issue also caused an update to 20.04 to fail for a system that had vanilla-gnome-default-settings already installed. I had to manually edit the install scripts for vanilla-gnome-default-settings to enable the update to complete.

Revision history for this message
Tim Lunn (darkxst) wrote :

Thanks for your bug report.

I am working on update to this package that includes a fix for this issue.

You can test from my ppa for now ppa:darkxst/ppa, will upload to the main archives after a bit more testing.

Revision history for this message
Caleb McKay (caleb-9) wrote :

Once installed, you cannot remove vanilla-gnome-default-settings.

(Reading database ... 147624 files and directories currently installed.)
Removing vanilla-gnome-default-settings (18.10.1) ...
update-alternatives: error: no alternatives for gdm3.css
dpkg: error processing package vanilla-gnome-default-settings (--remove):
 installed vanilla-gnome-default-settings package pre-removal script subprocess
returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
 vanilla-gnome-default-settings
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

I noticed that running...

update-alternatives: error: no alternatives for gdm3.css

... to get the standard gdm login screen is broken as well on a clean install.

Revision history for this message
Tim Lunn (darkxst) wrote :

Caleb, try the package from my PPA, that is the archive version you are removing which is known to be broken currently. That should resolve install/removal issues.

There are still issues with gdm3 using ubuntu theme and plymouth boot logo is missing (probably will remove the old ubuntu gnome boot theme and just use the ubuntu one

Revision history for this message
jnns (jnns) wrote :

Thank you, Tim. Using the package from your PPA fixed the problem for me.

Revision history for this message
Caleb McKay (caleb-9) wrote :

Thanks Tim, but as I was just testing I simply reverted to a previous snapshot. I was just reporting because there are a lot of us who like Ubuntu but find the default color scheme...less than optimal. I can live with a lot of things, but not a bright purple screen blasting my eyes when I try to log in before I have had my coffee. My main concern was just that it was broken. I think the plymouth boot logo frankly should just be deprecated at this point. I am just really hoping there is still an easy way to revert gdm3 to a vanilla color scheme.

Revision history for this message
Tim Lunn (darkxst) wrote :

~focal4 update on ppa should fix gdm3 theme

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-gnome-default-settings - 20.04.0

---------------
ubuntu-gnome-default-settings (20.04.0) focal; urgency=medium

  * debian/vanilla-gnome-default-settings.gsettings-override
    - Override Ubuntu theme settings for GDM
    - Switch backgrounds to upstream defaults
    - Drop keybinding overrides originally inherited from Unity (LP: #1860382)
    - Apply overrides to GNOME session only where relevant and drop
      some overrides no longer required
    - Use default Ubuntu logo on login screen
  * debian/control
    - Build-depend on debhelper-compat (= 12) and drop debian/compat.
    - Bump standards version
  * d/vanilla-gnome-default-settings.{preinst,postinst,prerm}:
    - Don't set gdm3.css anymore, instead set gdm3-theme.gresource
      by gnome-shell) (LP: #1868914)

 -- Tim Lunn <email address hidden> Sat, 21 Mar 2020 13:43:56 +1100

Changed in ubuntu-gnome-default-settings (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Paul Broadhead (pjbroad) wrote :

Late I know, but I can confirm the PPA versions fix the package issues. Thanks for your work Tim.

Revision history for this message
Reece (kupoinyourwindow) wrote :

Can confirm this is fixed in official Ubuntu repos now, no need for a ppa anymore. Thank you for the prompt fix.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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