Ask Your Question

Can dnf history undo several transactions in one step?

asked 2015-06-25 13:09:55 -0500

gusrub gravatar image

Just wondering if there is any way to use the dnf history undo command passing several transaction ID's so several package installs can be uninstalled without running the command again, something like:

dnf history undo 10:13

Say that I'd want to undo the operations from transaction 10 to 13.

I read the docs here, but found nothing. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-27 17:25:35 -0500

Rabin gravatar image

I doubt it, but you can do it your self.

for i in {x..y} do dnf history undo ${i} -y ; done
edit flag offensive delete link more


Not necessarily what I was looking for, but helpful nonetheless. Thanks!

gusrub gravatar imagegusrub ( 2015-08-07 00:49:56 -0500 )edit

Question Tools

1 follower


Asked: 2015-06-25 13:09:55 -0500

Seen: 2,581 times

Last updated: Jun 27 '15