I'd liek to use the interactive Lua console, however, it doesn't seem to be
very... interactive.
```
$ rpm --eval "%{lua:rpm.interactive()}"
RPM Interactive Lua 5.3 Interpreter
>
```
So far so good...
```
> print"a"
>
```
Nothing...
```
> print"a"
> print"a"
> print"a"
> print"a"
>
```
Not
How would you expect to use that "key" argument? For installed packages, this
is handled in the transaction callback but there are no callbacks for erased
packages, partly because there's no associated key, because it's unclear as to
what to put there for automatically created erasure elements (
Sorry but I don't understand this bug report any more than the referenced
bugzilla item.
Surely you're not suggesting the demonstrated rpm cli behavior is buggy? So
what exactly is the problem here? Python addErase() on a non-existent header id
not returning error, or something else? Rpm certai
The behaviour is inconsistent with commandline behaviour when removal of
removed package returns an error. Ignoring of erase step makes inconsistency
between rpm transaction and transaction in DNF.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1815327
```
$rpm -q acpi
package acpi is not
It will unify interface with other function like ts.addReinstall(hdr, data). It
also will help to DNF to pair RPM transaction item with DNF DB item.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1825162
--
You are receiving this because you are subscribed to this thread.
Reply to this e