Package: packagekit
Version: 1.3.2-1
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
* What led up to the situation?
I tried to update my distribution using packagekit, but I faced proxy issues.
I faced the same issue with pkcon.
Note that:
- The proxy was disabled in /etc/apt/apt.conf.d/* files.
- No *_proxy environment variables were set.
- The proxy was disabled in systemsettings.
* What exactly did you do (or not do) that was effective (or
ineffective)?
For each the following step, pkcon refresh was still using proxy settings
(which was unexpected!)
- clear proxy settings from ~/.config/kioslaverc (see
https://discuss.kde.org/t/pkcon-trying-to-get-update-from-proxy-but-proxy-is-down/26764/2)
- clear the proxy table from /var/lib/PackageKit/transactions.db (see
https://discuss.kde.org/t/i-setup-a-proxy-ip-failed-to-setup-and-now-discover-is-giving-errors-when-trying-to-update-for-some-ppas/4627/5)
- remove the /var/lib/PackageKit/transactions.db file (see
https://discuss.kde.org/t/pkcon-trying-to-get-update-from-proxy-but-proxy-is-down/26764/3)
Finally, packagekit stopped using the proxy settings after all these operations
and restarting its service:
sudo systemctl restart packagekit.service
(see https://forum.kde.org/viewtopic.php%3Ff=309&t=161739.html)
* What was the outcome of this action?
I solved the problem by applying the above steps.
Restarting packagekit.service was required.
* What outcome did you expect instead?
pkcon (and packagekit) shouldn't use a possibly outdated data (from
~/.config/kioslaverc or /var/lib/PackageKit/transactions.db).
Alternatively, these settings should mirror the proxy settings defined in
systemsettings.
I possible workaround would probably consist in making packagekit.service
monitor these files.
Best regards
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages packagekit depends on:
ii init-system-helpers 1.69
ii libappstream5 1.1.1-1
ii libapt-pkg7.0 3.1.11
ii libc6 2.41-12
ii libgcc-s1 15.2.0-4
ii libglib2.0-0t64 2.86.1-1
ii libglib2.0-bin 2.86.1-1
ii libgstreamer1.0-0 1.26.7-1
ii libpackagekit-glib2-18 1.3.2-1
ii libpolkit-gobject-1-0 126-2
ii libsqlite3-0 3.46.1-8
ii libstdc++6 15.2.0-4
ii libsystemd0 258.1-2
ii polkitd 126-2
Versions of packages packagekit recommends:
ii appstream 1.1.1-1
ii packagekit-tools 1.3.2-1
ii systemd 258.1-2
packagekit suggests no packages.
-- no debconf information