Synaptic was build with the Debian specific patches instead of the ubuntu one on i386

Bug #25746 reported by Alan Claunch
32
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

You can run "sudo synaptic" from the command line and it works fine. However, if
you run synaptic from System->Administration->Synaptic Package Manager, it calls
gksu? which requests the "Root password". If you enter your user password, there
is an error message that "/usr/sbin/synaptic must be run as root".

All the other items in System-Administration allow you to run as "sudo" (ie, you
enter your user password in the gksu window); with synaptic you either have to
set a root password or run from the command line.

I am using the latest Dapper build as of 11/14/05 and gksu is version 1.3.6

Alan

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please upgrade to:
ii gksu 1.3.6-1ubuntu1 graphical frontend to su
ii synaptic 0.57.5.1ubuntu Graphical package manager

(in dapper) and let me know if that fixes your problem?

Cheers,
 Michael

Revision history for this message
Alan Claunch (aclaunch) wrote :

Both gksu and synaptic are latest: gksu 1.3.6-1ubuntu1 and synaptic 0.57.5-1ubuntu2

Alan

Revision history for this message
Paul Coleman (pdcoleman) wrote :

The first time trying starting synaptic after upgrading it asked for the
password to the gnome key ring.

When starting synaptic with or without a cached root password(gksu) you get

Failed to run /usr/sbin/synaptic as user root:
 Wrong password.

Both gksu and synaptic are the latest.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for the additional information.

I can't reproduce the problem here, synaptic asks me for my password and starts
correctly.

Can you please let me know what the following command outputs:
$ grep Exec /usr/share/applications/synaptic.desktop

Does "gksudo synaptic" (from the commandline) work correctly?

Thanks,
 Michael

Revision history for this message
Alan Claunch (aclaunch) wrote :

aclaunch@moria:~$ grep Exec /usr/share/applications/synaptic.desktop
Exec=gksu -u root /usr/sbin/synaptic

And yes, gksudo synaptic works fine.

Alan

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

*** Bug 25782 has been marked as a duplicate of this bug. ***

Revision history for this message
Michael Vogt (mvo) wrote :

According to this buildlog:
http://people.ubuntu.com/~lamont/buildLogs/s/synaptic/0.57.5.1ubuntu2/synaptic_0.57.5.1ubuntu2_20051114-1545-i386-successful.gz

lsb_release -i -s returnd "Debian". That's why no ubuntu specific patches (like
use gksudo, icons) are applied.

It a simple matter of a recompile when lsb_release returns the correct answer :)

Cheers,
 Michael

Revision history for this message
Michael Vogt (mvo) wrote :

*** Bug 25807 has been marked as a duplicate of this bug. ***

Revision history for this message
Michael Vogt (mvo) wrote :

*** Bug 25812 has been marked as a duplicate of this bug. ***

Revision history for this message
Michael Vogt (mvo) wrote :

This problem is fixed with the upload of synaptic 0.57.5.1ubuntu3. Please reopen
if it dosn't solve that bug for you.

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.