Bug#1034464: apper: Administrator password input dialog does not display and installation fails

2023-06-14 Thread Frédéric Mesplède
Package: apper
Version: 1.0.0-4
Followup-For: Bug #1034464
X-Debbugs-Cc: fredericmespl...@gmail.com

Dear Maintainer,

Apper doesn't ask for sudo privileges to install packages and therefore it
fails.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I tried to install a package thanks to Apper.
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apper depends on:
ii  apper-data  1.0.0-4
ii  kio 5.103.0-1
ii  libappstreamqt2 0.16.1-2
ii  libc6   2.36-9
ii  libkf5completion5   5.103.0-1
ii  libkf5configcore5   5.103.0-2
ii  libkf5coreaddons5   5.103.0-1
ii  libkf5dbusaddons5   5.103.0-1
ii  libkf5i18n5 5.103.0-1
ii  libkf5iconthemes5   5.103.0-1
ii  libkf5itemviews55.103.0-1
ii  libkf5jobwidgets5   5.103.0-1
ii  libkf5kiocore5  5.103.0-1
ii  libkf5kiowidgets5   5.103.0-1
ii  libkf5notifications55.103.0-1
ii  libkf5service-bin   5.103.0-1
ii  libkf5service5  5.103.0-1
ii  libkf5solid55.103.0-1
ii  libkf5widgetsaddons55.103.0-1
ii  libkf5xmlgui5   5.103.0-1
ii  libkworkspace5-54:5.27.5-2
ii  libpackagekitqt5-1  1.1.1-1
ii  libqt5core5a5.15.8+dfsg-11
ii  libqt5dbus5 5.15.8+dfsg-11
ii  libqt5gui5  5.15.8+dfsg-11
ii  libqt5widgets5  5.15.8+dfsg-11
ii  libqt5xmlpatterns5  5.15.8-2
ii  libstdc++6  12.2.0-14
ii  packagekit  1.2.6-5
ii  polkit-kde-agent-1  4:5.27.5-2
ii  software-properties-qt  0.99.30-4

Versions of packages apper recommends:
ii  appstream   0.16.1-2
ii  apt-config-icons0.16.1-2
ii  debconf-kde-helper  1.1.0-1

apper suggests no packages.

-- no debconf information



Bug#1034464: apper: Administrator password input dialog does not display and installation fails

2023-04-15 Thread Jun Nogata
Package: apper
Version: 1.0.0-4
Severity: important
X-Debbugs-Cc: noga...@gmail.com

Dear Maintainer,

I do not create root during Debian installation and grant the user 
administrator privileges with sudo.

* What led up to the situation?

I tried to install a package from the apper.


* What was the outcome of this action?

The dialog for entering the administrator password does not display and an 
error dialog is displayed and the package fails to install. The message in the 
error dialog is as follows

> You have failed to provide correct authentication. Please check any passwords 
> or accounts settings.
>
> Detail
>
> Failed to obtain authentication.

The terminal displayed the following message

---
$ apper
QSocketNotifier: Can only be used with threads started with QThread
libEGL warning: egl: failed to create dri2 screen
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
QCommandLineParser: option not defined: "install-provide-file"
apper:
apper:
void PackageModel::clear()
void PackageModel::finished() PackageKit::Transaction(0x562c2bea73d0) 
PackageKit::Transaction(0x562c2bea73d0)
apper.lib: PackageKit::Transaction::StatusUnknown 
PackageKit::Transaction::RoleInstallPackages
kf.kwidgetsaddons: Invalid pixmap specified.
kf.kwidgetsaddons: Invalid pixmap specified.
kf.kwidgetsaddons: Invalid pixmap specified.
kf.kwidgetsaddons: Invalid pixmap specified.
apper.lib: PackageKit::Transaction::ExitSuccess 
PackageKit::Transaction::RoleInstallPackages
void PackageModel::finished() QObject(0x0) QObject(0x0)
kf.kwidgetsaddons: Invalid pixmap specified.
apper.lib: errorCode:  PackageKit::Transaction::ErrorNotAuthorized "Failed to 
obtain authentication."
apper.lib: PackageKit::Transaction::ExitFailed 
PackageKit::Transaction::RoleInstallPackages
kf.kwidgetsaddons: Invalid pixmap specified.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
apper.lib: 1
void PackageModel::clear()
void PackageModel::finished() PackageKit::Transaction(0x562c2d453030) 
PackageKit::Transaction(0x562c2d453030)
---


* What outcome did you expect instead?

A dialog box for entering the administrator password appears and the password 
is entered. The package is then installed.


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apper depends on:
ii  apper-data  1.0.0-4
ii  kio 5.103.0-1
ii  libappstreamqt2 0.16.1-1
ii  libc6   2.36-8
ii  libkf5completion5   5.103.0-1
ii  libkf5configcore5   5.103.0-1
ii  libkf5coreaddons5   5.103.0-1
ii  libkf5dbusaddons5   5.103.0-1
ii  libkf5i18n5 5.103.0-1
ii  libkf5iconthemes5   5.103.0-1
ii  libkf5itemviews55.103.0-1
ii  libkf5jobwidgets5   5.103.0-1
ii  libkf5kiocore5  5.103.0-1
ii  libkf5kiowidgets5   5.103.0-1
ii  libkf5notifications55.103.0-1
ii  libkf5service-bin   5.103.0-1
ii  libkf5service5  5.103.0-1
ii  libkf5solid55.103.0-1
ii  libkf5widgetsaddons55.103.0-1
ii  libkf5xmlgui5   5.103.0-1
ii  libkworkspace5-54:5.27.2-1
ii  libpackagekitqt5-1  1.1.1-1
ii  libqt5core5a5.15.8+dfsg-3
ii  libqt5dbus5 5.15.8+dfsg-3
ii  libqt5gui5  5.15.8+dfsg-3
ii  libqt5widgets5  5.15.8+dfsg-3
ii  libqt5xmlpatterns5  5.15.8-2
ii  libstdc++6  12.2.0-14
ii  packagekit  1.2.6-3
ii  polkit-kde-agent-1  4:5.27.2-1
ii  software-properties-qt  0.99.30-4

Versions of packages apper recommends:
ii  appstream   0.16.1-1
ii  apt-config-icons0.16.1-1
ii  debconf-kde-helper  1.1.0-1

apper suggests no packages.

-- no debconf information