ubuntu-core-upgrader - Tools to apply a new system image to a running Ubuntu Core system

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: ubuntu-core-upgrader
Package version: 0.7.13
Package release:
Package architecture: all
Package type: deb
Installed size: 104 B
Download size: 17.66 KB
Official Mirror: archive.ubuntu.com
Provides tools to install a previously downloaded Ubuntu Core system image on a running system. This package should be installed on Ubuntu Core systems.



    Source package: ubuntu-core-upgrader

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install ubuntu-core-upgrader deb package:
      # sudo apt-get install ubuntu-core-upgrader


    • /usr/bin/ubuntu-core-upgrade
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader/__init__.py
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader/apply.py
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader/unshare.py
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader/upgrader.py
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader-0.0.0.egg-info/PKG-INFO
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader-0.0.0.egg-info/dependency_links.txt
    • /usr/lib/python3/dist-packages/ubuntucoreupgrader-0.0.0.egg-info/top_level.txt
    • /usr/share/doc/ubuntu-core-upgrader/README.rst.gz
    • /usr/share/doc/ubuntu-core-upgrader/changelog.gz
    • /usr/share/doc/ubuntu-core-upgrader/copyright
    • /usr/share/man/man1/ubuntu-core-upgrade.1.gz


    2015-06-17 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.13) wily; urgency=low * fix pyflakes error

    2015-06-17 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.12) wily; urgency=low * ubuntucoreupgrader/apply.py: - always send json progress on stdout to have progress for snapyp with s-i 3.0 that does not store the progress information in its global config

    2015-04-22 - James Hunt <james.hunt@ubuntu.com> ubuntu-core-upgrader (0.7.11) wily; urgency=medium * ubuntucoreupgrader/upgrader.py: Call os.sync() at end of sync_partitions() and after each unpack to minimise unflushed data and thus minimise the risk of corruption issues (such as LP: #1435774).

    2015-04-13 - James Hunt <james.hunt@ubuntu.com> ubuntu-core-upgrader (0.7.10) vivid; urgency=medium * ubuntucoreupgrader/upgrader.py: _cmd_mount(): Don't sync partitions for a full (non-delta) update (LP: #1444500). * ubuntucoreupgrader/tests/test_upgrader.py: - touch_file(): Fix to make file of size 0, not 1. - test_marker_file(): Removed. - test_other_considered_empty(): New test. * ubuntucoreupgrader/tests/utils.py: - append_file(): Create zero-length file if contents are None. * ubuntucoreupgrader/upgrader.py: - Replaced marker file logic by tighter scoped strategy where the s-i config file is pre-created with zero size prior to performing an s-i update operation. This strategy allows a failed update to be identified from either a missing s-i config file, or a zero-length one.

    2015-04-10 - James Hunt <james.hunt@ubuntu.com> ubuntu-core-upgrader (0.7.9) vivid; urgency=medium * mkfs(): Fixed mkfs command line (missing comma).

    2015-04-07 - James Hunt <james.hunt@ubuntu.com> ubuntu-core-upgrader (0.7.8) vivid; urgency=medium * Implement s-i format command to handle full-image (non-delta) updates correctly. * ubuntucoreupgrader/upgrader.py: Tolerate an invalid 'removed' file to avoid the upgrade failing attempting to remove '/writable/cache' (see LP: #1437225). * functional/test_upgrader.py: Add tests for an invalid removed file.

    2015-03-13 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.7) vivid; urgency=low * fix entry point for s-i 3.0

    2015-03-10 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.6) vivid; urgency=low [ James Hunt] * ubuntucoreupgrader/upgrader.py: - get_file_contents(): Fix to avoid leaking the fd. * functional/test_upgrader.py: Basic set of functional tests. [ Michael Vogt ] * cleanup and removal of unused code

    2015-03-04 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.5) vivid; urgency=low [ Michael Vogt ] * ubuntucoreupgrader/apply.py: - fix missing timeout in select() call - write spinner progress unbuffered - remove dbus progress [ James Hunt ] * ubuntucoreupgrader/tests/test_upgrader.py: - More tar_generator() tests. - Added first Upgrader() object test. * ubuntucoreupgrader/upgrader.py: - parse_args(): - Moved from bin/ubuntu-core-upgrade to simplify testing. - Now takes an args parameter. - tar_generator(): - Simplified logic to determine if an unpack should occur. - Fix to allow '--root-dir' to work again. - Fix bug where path not set (only affecting tests). - Upgrader:__init__(): - Assert root_dir option set. - Moved some logic to prepare() and restart_associated_services() to simplify testing.

    2015-03-03 - Michael Vogt <michael.vogt@ubuntu.com> ubuntu-core-upgrader (0.7.4) vivid; urgency=low * ubuntucoreupgrader/tests/test_upgrader.py: - add regression test for unpacking of assets/ * ubuntucoreupgrader/upgrader.py: - unpack "assets/" and "hardware.yaml" to ensure that snappy can install new kernels/initrd/dtb files