This bug has been fixed upstream in commit 6df5632313e9ce77c47ee4bcf6e32a028c4534d0:
Do not mark packages for keep that we want to remove See https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=6df5632 for details. Expect a 1.2.9 release shortly. ** Changed in: apt (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1562402 Title: segv in apt 1.2.7 with dist-upgrade Status in apt package in Ubuntu: Fix Committed Bug description: The following NEW packages will be installed: maas-region-api The following packages will be upgraded: console-setup console-setup-linux devscripts git git-man keyboard-configuration language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base libboost-filesystem1.58.0 libboost-system1.58.0 libboost-thread1.58.0 libc-bin libcups2 libgusb2 liblxc1 libmirclient9 libmircommon5 libmirprotobuf3 libpam-systemd libpcre3 libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libsystemd0 libudev1 locales lxc lxc-common lxc-templates lxc1 maas maas-cli maas-common maas-dhcp maas-dns maas-proxy maas-rack-controller maas-region-controller mdadm multiarch-support python-simplestreams python-twisted python-twisted-bin python-twisted-conch python-twisted-core python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner python-twisted-web python-twisted-words python2.7 python2.7-minimal python3 python3-django-maas python3-lxc python3-maas-client python3-maas-provisioningserver python3-minimal python3-simplestreams python3-software-properties python3-twisted software-properties-common systemd systemd-sysv ubuntu-minimal ubuntu-mono ubuntu-standard ucf udev virt-manager virtinst 75 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Need to get 0 B/35.0 MB of archives. After this operation, 3,892 kB disk space will be freed. Do you want to continue? [Y/n] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b79209 in pkgCache::DepIterator::GlobOr(pkgCache::DepIterator&, pkgCache::DepIterator&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (gdb) bt #0 0x00007ffff7b79209 in pkgCache::DepIterator::GlobOr(pkgCache::DepIterator&, pkgCache::DepIterator&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #1 0x00007ffff7b719ab in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #2 0x00007ffff7b74bdd in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #3 0x00007ffff7b7224b in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #4 0x00007ffff7b7768a in pkgPackageManager::OrderInstall() () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #5 0x00007ffff7b76c11 in pkgPackageManager::DoInstall(APT::Progress::PackageManager*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #6 0x00007ffff78353e0 in InstallPackages(CacheFile&, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 #7 0x00007ffff7858ede in ?? () from /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 #8 0x00007ffff7afbc66 in CommandLine::DispatchArg(CommandLine::Dispatch const*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 #9 0x00007ffff782adf3 in DispatchCommandLine(CommandLine&, std::vector<CommandLine::Dispatch, std::allocator<CommandLine::Dispatch> > const&) () from /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 #10 0x0000555555557b39 in ?? () #11 0x00007ffff6ed3841 in __libc_start_main (main=0x555555557aa0, argc=2, argv=0x7fffffffeb68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffeb58) at ../csu/libc-start.c:291 #12 0x0000555555557bf9 in ?? () (gdb) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1562402/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp