samba package failed to install

Bug #1996420 reported by ogjz591p
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdenetwork-filesharing
Fix Released
High
kdenetwork-filesharing (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The install samba button doesn't work
the only piece of log that i found and think are relevant to this bug being

PackageKit[2311]: resolve transaction /323_eebdbcbb from uid 1000 finished with success after 393ms
PackageKit[2311]: uid 1000 is trying to obtain org.freedesktop.packagekit.package-install auth (only_trusted:1)
PackageKit[2311]: uid 1000 failed to obtain auth

System information:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-52-generic (64-bit)
Graphics Platform: X11
Processors: 2 × AMD Athlon Silver 3050U with Radeon Graphics
Memory: 5.7 GiB of RAM
Graphics Processor: AMD RAVEN2

Package Version:
4:21.12.3-0ubuntu1

Revision history for this message
In , Rik Mills (rikmills) wrote :

STEPS TO REPRODUCE
1. Install kdenetwork-filesharing
2. In dolphin right click a folder you wish to share, and click properties.
2. Select the 'Share' tab in the properties window.
3. Click the button to install the distro samba package.

OBSERVED RESULT

An expected polkit dialog to authorise packagekit to install the distro samba package does not appear.
The message "The samba package failed to install" is displayed instead.

EXPECTED RESULT

A polkit auth diagog should appear, and upon successful admin password entry the distro samba package should be installed and the sharing options enabled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 22.04 and Kubuntu 23.04
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0/5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

System log records simply that packagekit failed to gain authorisation.

Revision history for this message
In , Rik Mills (rikmills) wrote :

Created attachment 160230
Samba install failure

Rik Mills (rikmills)
Changed in kdenetwork-filesharing (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Aleix Pol (aleixpol-kde) wrote :

Can you check if pkcon does the right thing there?

Have you tried running it from a terminal? It might give some further insight of what is happening.

Changed in kdenetwork-filesharing:
importance: Unknown → High
status: Unknown → New
Revision history for this message
In , Nate-b (nate-b) wrote :

.

Revision history for this message
In , Rik Mills (rikmills) wrote :
Download full text (6.1 KiB)

Verbose log from packagekit:

Jul 11 21:47:51 ##### packagekitd[369413]: 21:47:51 PackageKit idle is 10
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit CreateTransaction method called
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit job count now 3435
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit trying to open database '/var/lib/PackageKit/transactions.db'
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit job count is now at 3434
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit transaction now new
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit setting sender to :1.6089
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit adding transaction 0x564cdc9d9be0
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit sending object path: '/3435_accecaad'
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit notify::connected
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit SetHints method called: supports-plural-signals=true
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit Client has set supports-plural-signals=true
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit Resolve method called: 262144, samba
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit transaction now ready
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit changing transaction to exclusive mode
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit 1 transactions in list, 1 committed but not finished
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit transaction now running
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit install uid now 1000
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit install cmdline now PackageKit: resolve
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit setting role for /3435_accecaad to resolve
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit emit package available, samba;2:4.17.7+dfsg-1ubuntu1;amd64;ubuntu-lunar-main, SMB/CIFS file, print, and login server for Unix
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit backend was running for 386 ms
Jul 11 21:47:52 ##### PackageKit[369413]: resolve transaction /3435_accecaad from uid 1000 finished with success after 386ms
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit emitting finished 'success', 386
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit transaction now finished
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit 1 transactions in list, 0 committed but not finished
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit CreateTransaction method called
Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit job c...

Read more...

Revision history for this message
In , Rik Mills (rikmills) wrote :

(In reply to Aleix Pol from comment #2)
> Can you check if pkcon does the right thing there?

'pkcon intall samba' in konsole results in a polkit dialog and a successful install

Revision history for this message
In , Rik Mills (rikmills) wrote :

Still the same bug in 23.10 with kdenetwork-filesharing 23.08

Revision history for this message
In , Bug-janitor (bug-janitor) wrote :
Revision history for this message
In , Harald Sitter (apachelogger) wrote :

Git commit 6de8426f33ff6dc09ca236717799a4d90ef87b00 by Harald Sitter.
Committed on 21/11/2023 at 00:45.
Pushed by sitter into branch 'master'.

packagekit: allow interactive auth dialogs

without this newer versions of pk don't show any auth dialog

M +2 -0 samba/filepropertiesplugin/sambainstaller.cpp

https://invent.kde.org/network/kdenetwork-filesharing/-/commit/6de8426f33ff6dc09ca236717799a4d90ef87b00

Revision history for this message
In , Harald Sitter (apachelogger) wrote :

Git commit 6cbdd2bd71b3d6f030f0611497874eeee3414d4f by Harald Sitter.
Committed on 21/11/2023 at 00:46.
Pushed by sitter into branch 'release/23.08'.

packagekit: allow interactive auth dialogs

without this newer versions of pk don't show any auth dialog

(cherry picked from commit 6de8426f33ff6dc09ca236717799a4d90ef87b00)

M +2 -0 samba/filepropertiesplugin/sambainstaller.cpp

https://invent.kde.org/network/kdenetwork-filesharing/-/commit/6cbdd2bd71b3d6f030f0611497874eeee3414d4f

Changed in kdenetwork-filesharing:
status: New → Fix Released
Rik Mills (rikmills)
Changed in kdenetwork-filesharing (Ubuntu):
status: Confirmed → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdenetwork-filesharing - 4:23.08.3-1ubuntu2

---------------
kdenetwork-filesharing (4:23.08.3-1ubuntu2) noble; urgency=medium

  * Add upstream_fix-polkit-auth-dialog.patch (LP: #1996420)

 -- Rik Mills <email address hidden> Sun, 03 Dec 2023 08:11:26 +0000

Changed in kdenetwork-filesharing (Ubuntu):
status: Fix Committed → Fix Released
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.