I understand that the following format is better for patching: diff -u
old-file newfile

-----
ubuntu@ubuntu:/etc/apt/apt.conf.d$ for i in *;do diff -u orig/$i .;done
--- orig/10periodic     2016-05-24 16:48:53.000000000 +0000
+++ ./10periodic        2016-09-01 16:56:26.303618989 +0000
@@ -1,3 +1,4 @@
 APT::Periodic::Update-Package-Lists "1";
 APT::Periodic::Download-Upgradeable-Packages "0";
 APT::Periodic::AutocleanInterval "0";
+APT::Periodic::Unattended-Upgrade "0";
--- orig/20auto-upgrades        2016-02-18 22:19:18.000000000 +0000
+++ ./20auto-upgrades   2016-09-01 16:56:26.303618989 +0000
@@ -1,2 +1,4 @@
 APT::Periodic::Update-Package-Lists "1";
-APT::Periodic::Unattended-Upgrade "1";
+APT::Periodic::Download-Upgradeable-Packages "0";
+APT::Periodic::AutocleanInterval "0";
+APT::Periodic::Unattended-Upgrade "0";
diff: orig/orig: No such file or directory
ubuntu@ubuntu:/etc/apt/apt.conf.d$
-----

So this should be better in order to create a real patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619188

Title:
  Unattended upgrades can break persistent live media

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1619188/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to