[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442383

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.23.0  |5.23

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-27 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=442383

Antonio Rojas  changed:

   What|Removed |Added

   Version Fixed In||5.23.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-27 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=442383

Antonio Rojas  changed:

   What|Removed |Added

 CC||barinov...@gmail.com

--- Comment #10 from Antonio Rojas  ---
*** Bug 443001 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-26 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=442383

Aleix Pol  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/56013c2a |ma/discover/commit/c829aa67
   |fffd369cc59c8f616fa6d832841 |fa0b218ee282c52dfe6fb3a6808
   |3a189   |89f77

--- Comment #9 from Aleix Pol  ---
Git commit c829aa67fa0b218ee282c52dfe6fb3a680889f77 by Aleix Pol Gonzalez, on
behalf of Antonio Rojas.
Committed on 26/09/2021 at 23:25.
Pushed by apol into branch 'Plasma/5.23'.

Explicitly set the interactive flag for PackageKit transactions

Since PackageKit commit 86f4a2fbf5fcb1230c68a57c4a7bc066aa3f7ef4 the polkit
authentication dialog is only shown if the transaction is flagged as
interactive


(cherry picked from commit 56013c2afffd369cc59c8f616fa6d8328413a189)

M  +2-1libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

https://invent.kde.org/plasma/discover/commit/c829aa67fa0b218ee282c52dfe6fb3a680889f77

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=442383

natalie_clar...@yahoo.de changed:

   What|Removed |Added

 CC||natalie_clar...@yahoo.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-25 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=442383

Antonio Rojas  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 CC||aro...@archlinux.org
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #8 from Antonio Rojas  ---
Ugh that was just a pull request, not merged yet

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-25 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=442383

Antonio Rojas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/discover/commit/56013c2a
   ||fffd369cc59c8f616fa6d832841
   ||3a189

--- Comment #7 from Antonio Rojas  ---
Git commit 56013c2afffd369cc59c8f616fa6d8328413a189 by Antonio Rojas.
Committed on 25/09/2021 at 09:56.
Pushed by arojas into branch 'bug-442383'.

Explicitly set the interactive flag for PackageKit transactions

Since PackageKit commit 86f4a2fbf5fcb1230c68a57c4a7bc066aa3f7ef4 the polkit
authentication dialog is only shown if the transaction is flagged as
interactive

M  +2-1libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

https://invent.kde.org/plasma/discover/commit/56013c2afffd369cc59c8f616fa6d8328413a189

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-20 Thread Matt Chapman
https://bugs.kde.org/show_bug.cgi?id=442383

Matt Chapman  changed:

   What|Removed |Added

 CC||m...@matthewchapman.co.uk

--- Comment #6 from Matt Chapman  ---
I am experiencing the same issue on Fedora 34.

Operating System: Fedora 34
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.16-200.fc34.x86_64 (64-bit)

Journal reports the following:

```
Sep 20 10:15:38 SHODANv4 packagekitd[4950]: WARNING: Repomd xml parser: Unknown
element "revision"
Sep 20 10:15:38 SHODANv4 packagekitd[4950]: WARNING: Repomd xml parser: Unknown
element "revision"
Sep 20 10:15:38 SHODANv4 packagekitd[4950]: WARNING: Repomd xml parser: Unknown
element "revision"
Sep 20 10:15:38 SHODANv4 PackageKit[4950]: resolve transaction /1974_adda
from uid 1000 finished with success after 1092ms
Sep 20 10:15:38 SHODANv4 PackageKit[4950]: resolve transaction /1975_dcdccbab
from uid 1000 finished with success after 2ms
Sep 20 10:15:39 SHODANv4 plasma-discover[17284]:
qrc:/qml/ApplicationsListPage.qml:16:1: QML ApplicationsListPage: Binding loop
detected for property "implicitHeight"
Sep 20 10:15:40 SHODANv4 PackageKit[4950]: resolve transaction /1976_ceac
from uid 1000 finished with success after 15ms
Sep 20 10:15:40 SHODANv4 PackageKit[4950]: resolve transaction /1977_baccdade
from uid 1000 finished with success after 12ms
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 PackageKit[4950]: new remove-packages transaction
/1978_eedccbdb scheduled from uid 1000
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 PackageKit[4950]: in /1978_eedccbdb for
remove-packages package gnome-disk-utility;40.2-1.fc34;x86_64;installed:updates
was removing for uid 1000
Sep 20 10:15:41 SHODANv4 PackageKit[4950]: remove-packages transaction
/1978_eedccbdb from uid 1000 finished with success after 223ms
Sep 20 10:15:41 SHODANv4 PackageKit[4950]: uid 1000 is trying to obtain
org.freedesktop.packagekit.package-remove auth (only_trusted:1)
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: percentage cannot be
calculated
Sep 20 10:15:41 SHODANv4 PackageKit[4950]: uid 1000 failed to obtain auth
Sep 20 10:15:41 SHODANv4 plasma-discover[17284]: PackageKit error:
PackageKit::Transaction::ErrorNotAuthorized "You have no authorisation to
execute this operation" "Failed to obtain authentication."

Removing the package via `dnf` or `pkcon remove` works as expected, which
suggests to me that polkit and packagekit are correctly functioning.

Please let me know if there is any more information I can provide.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442383

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|DOWNSTREAM  |---

--- Comment #5 from Nate Graham  ---
OK, thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-17 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=442383

--- Comment #4 from Antonio Rojas  ---
I don't think this is a packagekit problem. pkcon remove and gnome-software
both show the polkit prompt as expected. This only happens in discover.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442383

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DOWNSTREAM

--- Comment #3 from Nate Graham  ---
Then it seems like a bug in Arch's PackageKit configuration, PackageKit plugin,
or PolKit configuration. Can you follow up with them?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-16 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=442383

--- Comment #2 from Patrick Silva  ---
No. Discover remove apps from neon unstable repos as expected.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442383

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
Works for me in Fedora. Is it broken for you in Neon too?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 442383] Discover is unable to remove apps from distro repos: "You have no authorization to execute this operation"

2021-09-13 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=442383

Patrick Silva  changed:

   What|Removed |Added

Summary|Discover is unable to   |Discover is unable to
   |remove apps from distro |remove apps from distro
   |repos   |repos: "You have no
   ||authorization to execute
   ||this operation"

-- 
You are receiving this mail because:
You are watching all bug changes.