On Tue, Mar 10, 2020 at 08:36:25AM -0400, The Wanderer wrote: > On 2020-03-10 at 06:58, Julian Andres Klode wrote: > > > On Sat, Mar 07, 2020 at 09:41:44PM +0100, Julian Andres Klode wrote: > > > >> ### Incompatibilities > >> > >> * The apt(8) command no longer accepts regular expressions or wildcards as > >> package arguments, use patterns (see New Features). > > > > Correction - regular expressions starting in ^ or ending in $ (that is, > > anchored) are still being accepted. We know there are multiple scripts > > out there using those, and they are safe to handle. > > > > After evaluating feedback, we'll soon be reinstating wildcards using > > * as well, but no other special characters from glob(7), as most of those > > seem pointless in our context, and limiting our exposure to * makes it > > easier to reason about. > > > > So syntax overview for package arguments: > > > > ^foo Regular expression > > foo$ Regular expression > > foo* Wildcard (* may appear anywhere, and multiple times) > > ~foo Pattern > > ?foo Pattern > > task^ Task > > Just for completeness / clarity, as with when this was announced > previously as upcoming: > > What about inline install/remove markers, of the form > > foo+ > foo- > > , which modify install/remove behavior on a per-package basis in > 'install', 'remove', and (I think) 'upgrade' classes of invocation? > > My understanding from before is that while these still result in > ambiguity depending on what package names exist in the available > repositories, they are not being affected by the current change. Is that > (still) correct?
This is correct. > > Are there any known plans for changes regarding this inline > install/remove syntax in the currently foreseeable future? No concrete plans. I do think we need to move to prefix, as a prefix is safe, but - does not work there, so maybe we should do: apt install _toremove +toinstall Suggestions welcome. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
signature.asc
Description: PGP signature