News for hackers. Stuff that matters.
Re:Architecture Variants in Ubuntu by amelius on Friday October 31, 2025 @01:11PM (#45774315)
Can we please have an "apt rollback" function?
Re:Architecture Variants in Ubuntu by julian-klode on Friday October 31, 2025 @02:47PM (#45775339)
Yes sure

apt (3.1.7) unstable; urgency=medium . [ Julian Andres Klode ] * test-history: Adjust for as-installed testing . [ Simon Johnsson ] * Add history undo, redo, and rollback features

Re:Architecture Variants in Ubuntu by dima55 on Saturday November 01, 2025 @12:59AM (#45779369)
Exciting. I just looked for docs about these new features, and can't find anything. Can you point us to these? Thanks!
Re:Architecture Variants in Ubuntu by riskable on Friday October 31, 2025 @01:32PM (#45774532)
If you're using btrfs, you do get that feature: https://moritzmolch.com/blog/2506.html
Re:Architecture Variants in Ubuntu by o11c on Friday October 31, 2025 @01:36PM (#45774568)
That fundamentally requires a snapshot-capable filesystem, so you need to use a distro designed around such.
Re:Architecture Variants in Ubuntu by amelius on Friday October 31, 2025 @01:39PM (#45774599)
Not necessarily. You can use the ptrace() system call to trace a process and store what it reads/writes into a journal, etc.

https://man7.org/linux/man-pages/man2/ptrace.2.html