Skip to content

Instantly share code, notes, and snippets.

@zunda
Created April 21, 2019 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zunda/9eb4e51ce7d763fa3379135d860287fd to your computer and use it in GitHub Desktop.
Save zunda/9eb4e51ce7d763fa3379135d860287fd to your computer and use it in GitHub Desktop.
14.04からdo-release-upgradeで16.04にする途中で止めた時の/etc/aptの変化
$ diff -ur apt apt-190420
diff -ur apt/apt.conf.d/01autoremove-kernels apt-190420/apt.conf.d/01autoremove-kernels
--- apt/apt.conf.d/01autoremove-kernels 2019-04-05 15:01:41.411360535 +0900
+++ apt-190420/apt.conf.d/01autoremove-kernels 2019-04-21 14:55:50.790500697 +0900
@@ -1,26 +1,26 @@
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
APT::NeverAutoRemove
{
- "^linux-image-3\.13\.0-167-generic$";
+ "^linux-image-3\.13\.0-165-generic$";
"^linux-image-3\.13\.0-168-generic$";
- "^linux-headers-3\.13\.0-167-generic$";
+ "^linux-headers-3\.13\.0-165-generic$";
"^linux-headers-3\.13\.0-168-generic$";
- "^linux-image-extra-3\.13\.0-167-generic$";
+ "^linux-image-extra-3\.13\.0-165-generic$";
"^linux-image-extra-3\.13\.0-168-generic$";
- "^linux-signed-image-3\.13\.0-167-generic$";
+ "^linux-signed-image-3\.13\.0-165-generic$";
"^linux-signed-image-3\.13\.0-168-generic$";
- "^kfreebsd-image-3\.13\.0-167-generic$";
+ "^kfreebsd-image-3\.13\.0-165-generic$";
"^kfreebsd-image-3\.13\.0-168-generic$";
- "^kfreebsd-headers-3\.13\.0-167-generic$";
+ "^kfreebsd-headers-3\.13\.0-165-generic$";
"^kfreebsd-headers-3\.13\.0-168-generic$";
- "^gnumach-image-3\.13\.0-167-generic$";
+ "^gnumach-image-3\.13\.0-165-generic$";
"^gnumach-image-3\.13\.0-168-generic$";
- "^.*-modules-3\.13\.0-167-generic$";
+ "^.*-modules-3\.13\.0-165-generic$";
"^.*-modules-3\.13\.0-168-generic$";
- "^.*-kernel-3\.13\.0-167-generic$";
+ "^.*-kernel-3\.13\.0-165-generic$";
"^.*-kernel-3\.13\.0-168-generic$";
- "^linux-backports-modules-.*-3\.13\.0-167-generic$";
+ "^linux-backports-modules-.*-3\.13\.0-165-generic$";
"^linux-backports-modules-.*-3\.13\.0-168-generic$";
- "^linux-tools-3\.13\.0-167-generic$";
+ "^linux-tools-3\.13\.0-165-generic$";
"^linux-tools-3\.13\.0-168-generic$";
};
Only in apt-190420/apt.conf.d: 51ubuntu-advantage-esm
diff -ur apt/sources.list apt-190420/sources.list
--- apt/sources.list 2015-12-06 18:01:43.355089558 +0900
+++ apt-190420/sources.list 2019-04-21 14:58:53.336128152 +0900
@@ -5,19 +5,19 @@
#############################################################
###### Ubuntu Main Repos
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial main
###### Ubuntu Update Repos
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty-security main
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-security main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial-security main
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial-updates main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial-security main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial-updates main
# Universe
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty universe
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty-security universe
-deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-security universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial universe
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial-security universe
+deb http://jp.archive.ubuntu.com/ubuntu/ xenial-updates universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial-security universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial-updates universe
diff -ur apt/sources.list.distUpgrade apt-190420/sources.list.distUpgrade
--- apt/sources.list.distUpgrade 2015-12-06 18:01:43.339089473 +0900
+++ apt-190420/sources.list.distUpgrade 2019-04-21 14:58:53.312127939 +0900
@@ -5,19 +5,19 @@
#############################################################
###### Ubuntu Main Repos
-deb http://jp.archive.ubuntu.com/ubuntu/ precise main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise main
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty main
###### Ubuntu Update Repos
-deb http://jp.archive.ubuntu.com/ubuntu/ precise-security main
-deb http://jp.archive.ubuntu.com/ubuntu/ precise-updates main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-security main
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-updates main
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty-security main
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-security main
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates main
# Universe
-deb http://jp.archive.ubuntu.com/ubuntu/ precise universe
-deb http://jp.archive.ubuntu.com/ubuntu/ precise-security universe
-deb http://jp.archive.ubuntu.com/ubuntu/ precise-updates universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-security universe
-deb-src http://jp.archive.ubuntu.com/ubuntu/ precise-updates universe
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty universe
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty-security universe
+deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-security universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates universe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment