On 01/20/2012 10:49 AM, Matthias Klumpp wrote:
Hi!
I don't think this is a bug :) First of all: You don't need to execute
pkcon using sudo, just running pkcon is enough. PolicyKit will ask you
for your password. Also, pkcon never asks you to confirm an
installation, if it only wants to install the package you specified on
the command-line. Pkcon will ask you to confirm stuff, if it has
additional changes, e.g. package removal or additional packages which
have to be installed. If you execute pkcon a second time, installing
"network-manager-gnome", all additional packages are aleady installed,
so pkcon does not ask anything. Please do a autoremove (sudo apt-get
--purge autoremove) and execute pkcon install again, I bet you will be
asked for confirmation :)
Cheers,
Matthias
2012/1/20 Anthony<salineli...@gmail.com>:
On 01/19/2012 08:40 AM, Matthias Klumpp wrote:
Hi!
The pkcon tool does definitely not save this option... Are you sure it
is applied to every pkcon command?
Regards,
Matthias
2012/1/13 Anthony<salineli...@gmail.com>:
Package: packagekit
Version: 0.7.1-2
Severity: normal
Dear Maintainer,
Running pkcon -y or --noninteractive will cause all future pkcon
operations
to be run in noninteractive mode. Far as I can tell there is no way to
revert
to the standard prompts for confirmation.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages packagekit depends on:
ii libarchive1 2.8.5-5
ii libc6 2.13-24
ii libdbus-1-3 1.4.16-1
ii libdbus-glib-1-2 0.98-1
ii libglib2.0-0 2.30.2-4
ii libpackagekit-glib2-14 0.7.1-2
ii libpolkit-backend-1-0 0.103-1
ii libpolkit-gobject-1-0 0.103-1
ii libsqlite3-0 3.7.9-2
ii packagekit-backend-aptcc 0.7.1-2
packagekit recommends no packages.
Versions of packages packagekit suggests:
pn packagekit-backend-smart<none>
-- no debconf information
After looking into this some more I have realized that my initial bug report
is incorrect. This seems to not be related to the -y switch at all, but if I
accept the simulation for installing a package once it always assumes I want
to accept it in the future. And, sometimes I am not asked for a confirmation
for removal of a package at all, this lead me to believe running -y caused
this. See this terminal session where I install a package I never installed
or removed in the past (In this case network-manager-gnome on a Xfce install
that ships WICD) http://paste.debian.net/hidden/7fc7d5cf
Expected behavior is to always be asked before installing or removing a
package unless -y is specified. If my assumption that pkcon is meant to
always ask is incorrect, there should at least be an option listed in pkcon
--help to force this confirmation.
You are correct that sudo apt-get --purge autoremove does bring back the
confirmation. I still find the default a bit uncomfortable. It might be
because pkcon isn't apt :-\ Having the ability to set various options
like forcing confirmations on all operations in a config file and/or
forcing them through a command line option would be nice. This would be
best filed as a feature request to upstream, which I will handle
myself. Please close this bug and thank you for your time and the
explanation of what pkcon is doing.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org