Unlike NixOS, Debian doesn’t have a builtin mechanism to rollback an installation to a specific point in time. However, thanks to snapshot.debian.org, a wayback machine for Debian packages, it is possible to downgrade all packages to the versions from a chosen date.
Let’s suppose we want to go back to January, 20th 2020. In
/etc/apt/sources.list.d/snapshot.list
, we add a date-specific
snapshot as a source:
deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20200120T111800Z/ unstable main contrib non-free
In /etc/apt/preferences.d/snapshot.pref
, we set the priority of all
packages from this source to 1001. This is above the default priority
of 500 and over 1000 to allow downgrade. See apt_preferences(5)
manual page for more details.
Package: * Pin: origin snapshot.debian.org Pin-Priority: 1001
After running apt update
, we can check the result with apt policy
:
$ apt policy Package files: 100 /var/lib/dpkg/status release a=now 1001 https://snapshot.debian.org/archive/debian/20200120T111800Z unstable/non-free amd64 Packages release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=amd64 origin snapshot.debian.org 1001 https://snapshot.debian.org/archive/debian/20200120T111800Z unstable/contrib amd64 Packages release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=amd64 origin snapshot.debian.org 1001 https://snapshot.debian.org/archive/debian/20200120T111800Z unstable/main amd64 Packages release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64 origin snapshot.debian.org […]
When requesting an upgrade, we Continue reading
Employer demand for IT professionals with Kubernetes experience is growing faster than candidate...
“We are rebalancing some areas of our business to align to our top growth priorities,” a VMware...
The EU won't ban or limit Huawei from participating in 5G build outs. Instead, lingering national...
The carrier will maintain the approximately $18 billion it spent on capex in 2019.
Azure revenue grew 62% during the quarter, which was down from 76% revenue growth a year ago, but...
Enterprise environments usually implement “mission-critical” applications by pushing high-availability requirements down the stack until they hit networking… and then blame the networking team when the whole house of cards collapses.
Most public cloud providers are not willing to play the same stupid blame-shifting game - they live or die by their reputation, and maintaining a stable service is their highest priority. They will do their best to implement a robust and resilient infrastructure, but will not do anything that could impact its stability or scalability… including the snake oil the virtualization and networking vendors love to sell to their gullible customers. When you deploy your application workloads into a public cloud, you become responsible for the resiliency of your own application, and there’s no magic button that could allow you to push the problems down the stack.
Read more ...SDN killed AT&T jobs; VMware lost $237M in a patent infringement lawsuit; and Windstream...
The propositions for private cellular networks in the enterprise environment are myriad and...
Your cloud is starting to look like the wild West. Accounts and subscriptions are created willy-nilly. Your devs have stitched together a networking nightmare. Nothing is named or tagged consistently. Today's Day Two Cloud episode explores how to bring some governance order to your chaos. Our guest is Steve Buchanan, Cloud Architect at Avanade. We discuss how to apply practical governance to the nebulous and ever-changing world of cloud.
The post Day Two Cloud 033: Cloud Governance – Bringing Order To Your Cloud Chaos appeared first on Packet Pushers.
My take on RFC1925.
The post EtherealMind’s Fifteen Networking Truths (Rules of Networking) appeared first on EtherealMind.