Ask Your Question
1

Can dnf history undo several transactions in one step?

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

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
1

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

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

Comments

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

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

Question Tools

1 follower

Stats

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

Seen: 2,576 times

Last updated: Jun 27 '15