Intrepid alpha-2: adept-notifier fails to launch adept-updater

Bug #248727 reported by Tore Anderson
8
Affects Status Importance Assigned to Milestone
kdesudo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: adept-notifier

I've just installed alpha-2 of Kubuntu Intrepid, and I've found that the package updates system doesn't work properly.

The first problem was that whenever I clicked the icon notifying me that pending packages are available, no window appeared (for a split second a button for a new window showed on the task bar, though). Looking in xsession-errors I found the following message being printed every time I clicked the icon «Could not find 'kdesu' executable». Well, okay, so I installed the "kdesudo" package and the message went away. So there's a missing dependency here.

Now what is printed to .xsession-errors is this:

/usr/bin/xauth: (argv):1: couldn't query Security extension on display ":0.0"
No protocol specified
adept_updater: cannot connect to X server :0.0

QObject: Do not delete object, 'unnamed', during its event handler!

These lines are repeated every time I click the system tray icon. The updater does not appear. The same lines except the last one are printed to stdout/err if I do "kdesu adept_updater", too.

Tore

Tags: iso-testing
Revision history for this message
Duncan Sands (baldrick-free) wrote :

I get the same behaviour (clicking the icon saying that updated packages
are available causes a window to turn up in the task bar for a split second
before disappearing). In xsession-errors I get this line for every click:
Could not find 'kdesu' executable.
This is with an up-to-date intrepid.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This is a kdesudo problem that should be fixed by now. ;)

Changed in adept:
status: New → Fix Released
Revision history for this message
Tore Anderson (toreanderson) wrote :

It's still not working for me. I've got kdesudo 3.2-0ubuntu3 installed, and that's the latest one available at http://archive.ubuntu.com/.

Whenever I click the icon I get the message «Could not find 'kdesu' executable.» in ~/.xsession-errors. There's a /usr/bin/kdesudo binary shipped which works okay (I tested «kdesudo xclock»), as well as a /usr/lib/kde4/libexec/kdesu which is a symlink to /usr/bin/kdesudo. However adept_{updater,notifier} doesn't appear to look for "kdesu" in /usr/lib/kde4/libexec, nor does it appear interested in using "kdesudo" instead. So it still doesn't work. If I make a symlink from /usr/bin/kdesu to /usr/bin/kdesudo, then it works okay - the adept_updater window appears at least (it goes on to crash, but that's a separate bug I guess).

So in order for this to work either the adept_{notifier,updater} needs to be changed to use either "kdesudo" instead of "kdesu", or look for the latter in /usr/lib/kde4/libexec/, or kdesudo needs to ship a "kdesu" executable/symlink in /usr/bin/. Since neither of this has happened, I'm reopening the bug.

Tore

Changed in kdesudo:
status: Fix Released → Confirmed
Revision history for this message
kiev1 (sys-sys-admin) wrote :

Heelp!!!
KCrash: Application 'adept_manager' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
ubuntu 8.10

Revision history for this message
Duncan Sands (baldrick-free) wrote :

> This is a kdesudo problem that should be fixed by now. ;)

I'm still seeing the same problem: clicking the icon saying that updated packages
are available causes a window to turn up in the task bar for a split second
before disappearing; .xsession-errors says "Could not find 'kdesu' executable."

This is with up-to-date intrepid with kubuntu-desktop installed.

$ adept_notifier -version
Qt: 3.3.8b
KDE: 3.5.10
Adept Notifier: 2.1 Cruiser
$ kdesudo -version
Qt: 4.4.1
KDE: 4.1.1 (KDE 4.1.1)
KdeSudo: 3.1

This is on x86-64.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Your Adept isn't up to date. The latest version of Adept is 3.0~beta1.
the update removes most of the adept binaries because Adept manager, updater, and installer all live in a single binary. adept_notifier has been replaced with the update-notifier-kde package.

Changed in kdesudo:
status: Confirmed → Fix Released
Revision history for this message
Duncan Sands (baldrick-free) wrote : Re: [Bug 248727] Re: Intrepid alpha-2: adept-notifier fails to launch adept-updater

> Your Adept isn't up to date. The latest version of Adept is 3.0~beta1.
> the update removes most of the adept binaries because Adept manager, updater, and installer all live in a single binary. adept_notifier has been replaced with the update-notifier-kde package.

You are correct: there seems to be a new adept available.
"apt-get dist-upgrade" gives:
  The following packages have been kept back:
    adept gwenview

However doing "apt-get install adept" does install the new
version, removing a bunch of individual adept packages. I
don't understand why dist-upgrade didn't do this though.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I think dist-upgrade may only handle the installation of new packages, not the removal them.

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.