[Bug 2134360] Re: Build-Depends on apt-clone, removed from Debian

Nick Rosbrook 2134360 at bugs.launchpad.net
Wed Feb 25 20:36:49 UTC 2026


Yeah, it has this:

```
def save_system_state(logdir):
    # save package state to be able to re-create failures
    try:
        from apt_clone import AptClone
    except ImportError:
        logging.error("failed to import AptClone")
        return
    target = os.path.join(logdir, "apt-clone_system_state.tar.gz")
    logging.debug("creating statefile: '%s'" % target)
    
    ...
```

at the moment. There is a history in u-r-u of not properly declaring
deps, partially because of the odd property that they must be satisfied
by the Ubuntu version you are upgrading *from* (i.e. cannot add a new
dep in resolute and expect it to be present at beginning of upgrade from
noble to resolute unless you SRU noble).

Anyways, this functionality is most useful for the apport hook, but I
think it would be straightforward to replace it manually.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2134360

Title:
  Build-Depends on apt-clone, removed from Debian

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  The apt-clone package has been removed from Debian (removal bug
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108671).

  ubuntu-release-upgrader Build-Depends on apt-clone; someone needs to
  evaluate this dependency and either drop it or adopt apt-clone
  maintenance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2134360/+subscriptions




More information about the foundations-bugs mailing list