Summary: | Install samba feature/button fails to install samba via packagelkit | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdenetwork-filesharing | Reporter: | Rik Mills <rikmills> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aleixpol, nate, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/kdenetwork-filesharing/-/commit/6cbdd2bd71b3d6f030f0611497874eeee3414d4f | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Samba install failure |
Description
Rik Mills
2023-07-10 22:37:07 UTC
Created attachment 160230 [details]
Samba install failure
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. . 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 count now 3436 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 3435 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 0x564cdca12750 Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit sending object path: '/3436_dacebced' 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 InstallPackages method called: samba;2:4.17.7+dfsg-1ubuntu1;amd64;ubuntu-lunar-main (transaction_flags: only-trusted) 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 transaction now waiting-for-auth Jul 11 21:47:52 ##### PackageKit[369413]: uid 1000 is trying to obtain org.freedesktop.packagekit.package-install auth (only_trusted:1) Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit authorizing action org.freedesktop.packagekit.package-install Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit emitting error-code not-authorized, 'Failed to obtain authentication.' Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit emitting finished 'failed', 0 Jul 11 21:47:52 ##### packagekitd[369413]: *** Jul 11 21:47:52 ##### packagekitd[369413]: 21:47:52 PackageKit internal error: failed, but no error code: unknown Jul 11 21:47:52 ##### packagekitd[369413]: *** 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 2 transactions in list, 0 committed but not finished Jul 11 21:47:52 ##### PackageKit[369413]: uid 1000 failed to obtain auth Jul 11 21:47:56 ##### packagekitd[369413]: 21:47:56 PackageKit engine idle zero as 2 transactions in progress Jul 11 21:47:56 ##### packagekitd[369413]: 21:47:56 PackageKit idle is 0 Jul 11 21:47:58 ##### packagekitd[369413]: 21:47:58 PackageKit transaction /3435_accecaad completed, removing Jul 11 21:47:58 ##### packagekitd[369413]: 21:47:58 PackageKit emitting destroy /3435_accecaad Jul 11 21:47:58 ##### packagekitd[369413]: 21:47:58 PackageKit transaction /3436_dacebced completed, removing Jul 11 21:47:58 ##### packagekitd[369413]: 21:47:58 PackageKit emitting destroy /3436_dacebced (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 Still the same bug in 23.10 with kdenetwork-filesharing 23.08 A possibly relevant merge request was started @ https://invent.kde.org/network/kdenetwork-filesharing/-/merge_requests/47 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 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 |