Software & Updates application does not permit changes on the "Other Software" tab

Bug #1727908 reported by PJSingh5000 on 2017-10-27
104
This bug affects 18 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Undecided
Unassigned
software-properties (Ubuntu)
High
Unassigned

Bug Description

On the "Other Software" tab, I am unable to select "Canonical Partners".
Similarly, the other checkboxes on the "Other Software" can not be clicked.
Clicking on a checkbox has no effect, and a dialog requesting the admin password is not presented.

However, activating or deactivating checkboxes on other tabs causes an authorization dialog to be presented to the user.

I experience this bug in an an Xorg session.

sources.list and sources.list.d have the following permissions:
-rw-r--r-- 1 root root 2897 Oct 26 22:35 sources.list
drwxr-xr-x 2 root root 4096 Oct 26 21:29 sources.list.d

All files in sources.list.d have the following permissions as this example:
-rw-r--r-- 1 root root 189 Oct 25 21:50 google-chrome.list

$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10

$ apt-cache policy software-properties-gtk
software-properties-gtk:
  Installed: 0.96.24.17
  Candidate: 0.96.24.17
  Version table:
 *** 0.96.24.17 500
        500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu artful/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: software-properties-gtk 0.96.24.17
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: wl nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 26 22:45:09 2017
InstallationDate: Installed on 2017-10-26 (1 days ago)
InstallationMedia: Ubuntu 17.10.0 2017.10.25 amd64 "Custom Artful Aardvark"
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

PJSingh5000 (pjsingh5000) wrote :
PJSingh5000 (pjsingh5000) wrote :

Note, when I run software-properties-gtk from the command line, here is the output I receive whenever I click on a checkbox on the "Other Software" tab.

$ software-properties-gtk
ERROR:root:Authentication canceled, changes have not been saved

Launchpad Janitor (janitor) wrote :

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

Changed in software-properties (Ubuntu):
status: New → Confirmed
Norbert (nrbrtx) wrote :

Got the same bug in 17.10 on Ubuntu on Xorg.

Steps to reproduce:
1. Install Ubuntu 17.10
2. Login to Ubuntu on Xorg session
3. Launch software-properties-gtk from terminal
4. Open "Other Software" tab, click on checkbox near "Canonical partners"
5. Get "ERROR:root:Authentication canceled, changes have not been saved" in terminal

Seems to be a side-effect of PolicyKit and root applications modern behavior (bug 1713313).

Dan (dannyhajj) wrote :

This may be a duplicate of bug 1660100.

However, I'm also suffering from the same issue. But I'd like to add that, after trying to edit any of the entries and clicking "OK" in the dialog that shows up, the password prompts shows up. After we input the password, the ability to check/uncheck entries in the "Other Software" tab becomes possible.

PJSingh5000 (pjsingh5000) wrote :

After I click on the "Canonical Partners" on the "Other Software" tab, I do ~not~ see an OK button. Also, I am not prompted to enter a password.

PJSingh5000 (pjsingh5000) wrote :

After I click on the "Canonical Partners" on the "Other Software" tab, I do ~not~ see an OK button. Also, I am not prompted to enter a password.

Paul White (paulw2u) on 2018-05-03
tags: added: bionic
Robert Hrovat (robi-hipnos) wrote :

I have the same problem on at least 6 computers with 18.04.1 now.

jimlovell777 (jimlovell777) wrote :

Temporary work-around: Rapidly clicking the checkbox will trigger the prompt for your password and make the desired change.

Ganesh Bhat (gakubhat) wrote :

Work-around : User arrow keys and press space to select

Sebastien Bacher (seb128) wrote :

Thank you for your bug report, I can't confirm that problem neither on 18.04 nor 18.10 though, it might be specific to some configuration/theme/session. Do you use the standard ubuntu session?

Changed in software-properties (Ubuntu):
importance: Undecided → High
Paul White (paulw2u) wrote :

Sebastien, at present I can't confirm this on Xubuntu 18.04 but I still see a problem with Ubuntu 18.04 for which I have vanilla-gnome-desktop installed so using the Adwaita theme·

If I try to select or deselect anything on the "Other Software" tab I see the panel dim slightly as if the prompt for the admin password was going to appear but it doesn't. Just this tab is affected.

But *sometimes* if I first select an item on another tab, cancel the password prompt and return to the "Other Software" tab then the password prompt does appear when selecting or deselecting an item.

Unfortunately, the above is not reproducible every time and while testing before posting here (by repeatedly switching tabs and trying to select or deselect items) the application crashed and invited me to send a crash report.

I see this problem when starting Software & Updates as a stand alone application and also through GNOME Software but not through synaptic as my password has already been entered.

Sebastien Bacher (seb128) wrote :

Using GTK_THEME=Adwaita software-properties-gtk works fine as well...

Harald H. (haarektrans) wrote :

Can confirm that this is reproducible with the standard Ubuntu session in 18.04.01 and 18.10, tested both with the vanilla install with no updates and also fully updated.

However, notice a few things:
- If you repeatedly click the checkbox it will sometimes trigger the authentication window
- The issue is *only* reproducible when the user do not have the permission to apply the changes (ie. before triggering the authentication window).
It will also not be reproducible in a live session.

Doug McMahon (mc3man) wrote :

This definitely occurs in both 18.04 & 19.04 but only in a ubuntu (gnome) session
Is not an issue in wayland or unity(7) sessions

tags: added: disco gnome-session
Sebastien Bacher (seb128) wrote :

Well, I can't trigger the issue on fresh 18.04 or 18.10 Ubuntu install with the default session, could be a timing issue and specific to some configs...

Doug McMahon (mc3man) wrote :

This is what I get (fresh, updated 19.04

Dec 20 09:17:35 doug-Lenovo-IdeaPad-Y510P gnome-shell[4457]: polkitAuthenticationAgent: Failed to show modal dialog. Dismissing authentication request for action-id com.ubuntu.softwareproperties.applychanges cookie 2-31d1ccd7a01566b1680571cf9fb9578b-34-00b0dcf0e126b16d033d5395b622edd2
Dec 20 09:17:35 doug-Lenovo-IdeaPad-Y510P polkitd(authority=local)[1130]: Operator of unix-session:c4 FAILED to authenticate to gain authorization for action com.ubuntu.softwareproperties.applychanges for system-bus-name::1.592 [/usr/bin/python3 /usr/bin/software-properties-gtk] (owned by unix-user:doug)
Dec 20 09:17:35 doug-Lenovo-IdeaPad-Y510P software-properties-gtk.desktop[4457]: ERROR:root:Authentication canceled, changes have not been saved

Sebastien Bacher (seb128) wrote :

the gnome-shell error is a bit weird, maybe there is an issue on this component

Launchpad Janitor (janitor) wrote :

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

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Bjoern H. (bhsand) wrote :

I have this issue both in 18.10 and 19.04. Using arrows and space does not work, the only workaround I've found is "sudo software-properties-gtk". Would be happy to provide any details that could be useful.

I find that primary(left-clicking) up to 15 or 20+ times _eventually_
spawns the pkexec-gui box.

On Wed, Mar 20, 2019 at 9:26 AM Bjoern H. <email address hidden>
wrote:

> I have this issue both in 18.10 and 19.04. Using arrows and space does
> not work, the only workaround I've found is "sudo software-properties-
> gtk". Would be happy to provide any details that could be useful.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1727908
>
> Title:
> Software & Updates application does not permit changes on the "Other
> Software" tab
>
> Status in gnome-shell package in Ubuntu:
> Confirmed
> Status in software-properties package in Ubuntu:
> Confirmed
>
> Bug description:
>
> On the "Other Software" tab, I am unable to select "Canonical Partners".
> Similarly, the other checkboxes on the "Other Software" can not be
> clicked.
> Clicking on a checkbox has no effect, and a dialog requesting the admin
> password is not presented.
>
> However, activating or deactivating checkboxes on other tabs causes an
> authorization dialog to be presented to the user.
>
> I experience this bug in an an Xorg session.
>
> sources.list and sources.list.d have the following permissions:
> -rw-r--r-- 1 root root 2897 Oct 26 22:35 sources.list
> drwxr-xr-x 2 root root 4096 Oct 26 21:29 sources.list.d
>
> All files in sources.list.d have the following permissions as this
> example:
> -rw-r--r-- 1 root root 189 Oct 25 21:50 google-chrome.list
>
> $ lsb_release -rd
> Description: Ubuntu 17.10
> Release: 17.10
>
> $ apt-cache policy software-properties-gtk
> software-properties-gtk:
> Installed: 0.96.24.17
> Candidate: 0.96.24.17
> Version table:
> *** 0.96.24.17 500
> 500 http://us.archive.ubuntu.com/ubuntu artful/main amd64
> Packages
> 500 http://us.archive.ubuntu.com/ubuntu artful/main i386
> Packages
> 100 /var/lib/dpkg/status
>
> ProblemType: Bug
> DistroRelease: Ubuntu 17.10
> Package: software-properties-gtk 0.96.24.17
> ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
> Uname: Linux 4.13.0-16-generic x86_64
> NonfreeKernelModules: wl nvidia_uvm nvidia_drm nvidia_modeset nvidia
> ApportVersion: 2.20.7-0ubuntu3.1
> Architecture: amd64
> CurrentDesktop: GNOME
> Date: Thu Oct 26 22:45:09 2017
> InstallationDate: Installed on 2017-10-26 (1 days ago)
> InstallationMedia: Ubuntu 17.10.0 2017.10.25 amd64 "Custom Artful
> Aardvark"
> PackageArchitecture: all
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: software-properties
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1727908/+subscriptions
>

PJSingh5000 (pjsingh5000) wrote :

Interesting...

I tried that, and I noticed that 4 rapid clicks (actually taps on my touchpad) consistently brings up the pkexec password box. Less than 3 doesn't work, and more than 4 are not necessary.

Once you've been authenticated, you are able to make changes on the Other Software tab, as you would expect.

PJSingh5000 (pjsingh5000) wrote :

Oops, I meant to say, "Less than *4* doesn't work, and more than 4 are not necessary."

Norbert (nrbrtx) on 2019-04-21
tags: added: eoan
removed: amd64
PJSingh5000 (pjsingh5000) wrote :

Still present in Ubuntu 19.04, fresh install.

(Although, now, clicking twice seems to bring up the authentication dialog, and you don't have to click very rapidly).

PJSingh5000 (pjsingh5000) wrote :

Ubuntu version 19.04
GTK3 version 3.24.8-1ubuntu1
Gnome Shell Version 3.32.0

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

Other bug subscribers