summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-03-19 14:56:31 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2018-03-19 14:56:31 +0100
commitaf7c9811b0b2e9215e31a2a9ae4962cbe215206a (patch)
tree150b4b04f3ca755579a447ac059b16e69eb0ad6a /apt-pkg/pkgcache.cc
parent412fff10af76ff8a77cee3fe10fb1ba8a91e860b (diff)
Bump cache major version to allow different 1.5 and 1.6 updates
Shipping 1.6 with major 12 would not allow us to update 1.5.y in a different way than 1.6.y if we have to without resorting to minor version hacks. Let's just bump the major instead.
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index ea34db469..119240cea 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -58,7 +58,7 @@ pkgCache::Header::Header()
/* Whenever the structures change the major version should be bumped,
whenever the generator changes the minor version should be bumped. */
- APT_HEADER_SET(MajorVersion, 12);
+ APT_HEADER_SET(MajorVersion, 13);
APT_HEADER_SET(MinorVersion, 0);
APT_HEADER_SET(Dirty, false);