[Bug 1505753] [NEW] Keep track of arch when installing packages

Iain Lane iain at orangesquash.org.uk
Tue Oct 13 17:00:02 UTC 2015


Public bug reported:

It might be the case that we have foo:arch1 and foo:arch2 installed in
the live system, but only want to keep foo:arch2 at the end.

Currently we can't do this - we just discard the architecture.

>From a *quick* browse of the code, I think we'd need to
  - pass "package:arch" to record_* (e.g. record_removed)
  - have functions that operate on this data (which call query_recorded_{removed,installed}) assume :host_arch for input which doesn't have an arch otherwise specified
  - make sure functions which manipulate the installed packages via apt can handle the qualifiers too

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Keep track of arch when installing packages

Status in ubiquity package in Ubuntu:
  New

Bug description:
  It might be the case that we have foo:arch1 and foo:arch2 installed in
  the live system, but only want to keep foo:arch2 at the end.

  Currently we can't do this - we just discard the architecture.

  From a *quick* browse of the code, I think we'd need to
    - pass "package:arch" to record_* (e.g. record_removed)
    - have functions that operate on this data (which call query_recorded_{removed,installed}) assume :host_arch for input which doesn't have an arch otherwise specified
    - make sure functions which manipulate the installed packages via apt can handle the qualifiers too

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1505753/+subscriptions



More information about the foundations-bugs mailing list