#680330 apt: Should more prominently show when installing a non-free package

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Samuel Thibault
Date:
2015-08-14 12:03:06 UTC
Severity:
wishlist
#680330#5
Date:
2012-07-05 02:53:55 UTC
From:
To:
Hello,

For instance:

$ apt-cache search -i speech | grep -i french
cicero - French and English Text-To-Speech for MBROLA

Great! Let's install it

$ sudo apt-get install cicero
...
The following NEW packages will be installed:
  cicero mbrola-fr4
...
Get:1 http://ftp.br.debian.org/debian/ stable/non-free mbrola-fr4 all 0.0.19990521-2 [5621 kB]
Get:2 http://ftp.br.debian.org/debian/ testing/contrib cicero all 0.7.2-2 [94.4 kB]

Oops! This is non-free stuff, I might actually reconsider! But almost no
time to ^C that.

Keeping the non-free source is useful to get upgrades of the non-free
stuff, but brings results in apt-cache which are not flagged as being
non-free.

I would say that apt-get install should warn about installation of new
non-free packages, for instance:

"
The following packages:

mbrola-fr4

come from the non-free section. Are you sure you want to install them?
(y/N)
"

in order to avoid by default any unexpected installation of a
new non-free package, even with the non-free section enabled in
sources.list.

Call me a zealot, but that story actually happened to me and I was not
happy about it.

Samuel

#680330#10
Date:
2015-08-14 12:01:49 UTC
From:
To:
Control: forcemerge -1 274219
Control: severity -1 wishlist

I'm merging a similar bug into this. Not sure if we ever get around
to it, maybe if we have some sort of pattern matching, so people can
define all sorts of patterns APT should warn about in their config
files.