Installing/Updating language support failed with "org.freedesktop.DBus.Error.NoReply" message

Bug #1500216 reported by N1ck 7h0m4d4k15
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Invalid
High
Unassigned

Bug Description

Trying to add another language as the default in the system, indicates the message that "Language support is not installed completely" [screenshot1].
That's an ordinary message.

When I'm clicking the "Install" button I get an error [screenshot2].

From this point and after, I cannot call back the Language Support menu. It does not open at all.

It will open if I restart the session and it will fail again with the same error message.

$ sudo service lightdm restart

The "workaround" to alter the system language is to click the "Remind me later" button instead of "Install".

How to reproduce.

1) Open the Language Support
2) Where the message window indicates that "Language support is not installed completely" [screenshot1] hit the "Install" button.

This bug has been filled manually, as I cannot find any crash report in /var/crash/ folder.

Regards
NickTh

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: unity-control-center 15.04.0+15.10.20150923-0ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-11.13-generic 4.2.1
Uname: Linux 4.2.0-11-generic x86_64
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Sep 27 17:37:15 2015
InstallationDate: Installed on 2015-09-09 (18 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150908)
SourcePackage: unity-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report, Nick.

I wasn't able to reproduce the problem on a newly installed and updated Ubuntu wily amd64. Can you please start Language Support from a terminal window (command: gnome-language-selector) and let us know the terminal output from a failed attempt to install the missing packages.

affects: unity-control-center (Ubuntu) → language-selector (Ubuntu)
Changed in language-selector (Ubuntu):
status: New → Incomplete
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

Unfortunately terminal had zero output during the execution of command (gnome-language-selector) , despite that the error message appeared.

See attached screenshot3

I had some output in keyboard interrupt (Ctrl+C) but I'm not sure if it's relevant with the error message.

Traceback (most recent call last):
  File "/usr/bin/gnome-language-selector", line 22, in on_activate
    options=options)
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 246, in __init__
    self.verifyInstalledLangPacks()
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 697, in verifyInstalledLangPacks
    self.commit(missing, [])
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 633, in commit_aptdaemon
    self._wait_for_aptdaemon_finish()
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 599, in _wait_for_aptdaemon_finish
    time.sleep(0.02)
KeyboardInterrupt

I have also tried

$ unity-control-center -v

but no helpful output neither (I guess)

unity-control-center -v
** (unity-control-center:8377): DEBUG: Enabling debugging
(gnome-language-selector:8384): Gtk-DEBUG: Connecting to session manager

I have the proposed repositories enabled (always in development branches) and the system is up-to-date.

Regards
NickTh

Changed in language-selector (Ubuntu):
status: Incomplete → New
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I think that traceback info may we useful for the right person.

I have learned that -proposed should normally *not* be enabled on development installs, but rather enabled temporarily when you know what you are doing. Possibly an explanation...

@Sebastien: Any chance that you can take a closer look at this?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

I have searched and found bug #619363 .

I think we need a duplicate check, but I need help to identify.

Regards
NickTh

tags: added: need-duplicate-check
tags: removed: need-duplicate-check
tags: added: likely-dup
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you give the output of "dpkg -l | packagekit"?

there was a buggy/incompatible version in wily-proposed, which didn't migrate to wily and got deleted, but if you are using wily-proposed you maybe got it...

(you shouldn't use proposed on devel version, it's not an user archive it's made for packages to be tested and transition only if there are no issues)

Changed in language-selector (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

Output of command is

ii gir1.2-packagekitglib-1.0 0.9.5-0ubuntu1
ii libpackagekit-glib2-16:amd64 0.9.5-0ubuntu1

(Thanks for the advice about proposed repositories.
I'm using them in purpose. That's a testing system in order to report bugs, translation mistakes ..etc.
https://wiki.ubuntu.com/Testing/EnableProposed)

Further testing showed that is the aptd causing this problem. Imeddiately after the error Dbus message window, apport (this time) reacted with a crash report (thankfully) .

Attached here.

So, maybe this is a dup of bug #1494891 ?

Changed in language-selector (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you "sudo apt-get install libpackagekit-glib2-16/wily gir1.2-packagekitglib-1.0/wily" and see if that resolves it

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

@Sebastien, you were right !

I have downgraded from proposed , several packages have been downgraded including the following

(maybe related on what you said)

warning: downgrading gir1.2-packagekitglib-1.0 from 0.9.5-0ubuntu1 to 0.8.17-4ubuntu6~gcc5.2
Preparing to unpack .../gir1.2-packagekitglib-1.0_0.8.17-4ubuntu6~gcc5.2_amd64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (0.8.17-4ubuntu6~gcc5.2) over (0.9.5-0ubuntu1) ...
dpkg: warning: downgrading libpackagekit-glib2-16:amd64 from 0.9.5-0ubuntu1 to 0.8.17-4ubuntu6~gcc5.2
Preparing to unpack .../libpackagekit-glib2-16_0.8.17-4ubuntu6~gcc5.2_amd64.deb ..
Unpacking libpackagekit-glib2-16:amd64 (0.8.17-4ubuntu6~gcc5.2) over (0.9.5-0ubuntu1)

and now the problem has been resolved. The system works OK, particularly and in general.

I think I'll get off the 'proposed' train.

Marking this bug as invalid ? (I guess).

tags: removed: likely-dup
Changed in language-selector (Ubuntu):
status: New → Invalid
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.