python3-xapian not installed when apt-xapian-index upgraded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-xapian-index (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Zesty |
Fix Released
|
High
|
Brian Murray | ||
xapian-bindings (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Zesty |
Fix Released
|
High
|
Brian Murray |
Bug Description
Test Case
---------
1) install apt-xapian-index on a yakkety system
2) observe python3-xapian1.3 is installed too
3) edit /etc/apt/
4) run apt-get update
5) run apt-get install apt-xapian-index
6) observe python3-xapian1.3 is still installed and that python3-xapian is not
With -proposed enabled python3-xapian1.3 will be removed and python3-xapian will be installed.
Regression Potential
-------
It's possible python3-xapian doesn't really have everything we need so some testing of apt-xapian-index should be done.
Recently got this uploaded:
apt-xapian-index (0.47ubuntu12) zesty; urgency=medium
* d/control: Drop the explicit Depends/
python3-
in our port to Python 3. Straight up python3-xapian (1.4) has
everything we need. (LP: #1660216)
-- Barry Warsaw <...@...> Mon, 03 Apr 2017 13:29:18 -0400
But 1.3.5 continue to be used by default. Python3-xapian1.3 is now declared as orphan.
So the system is not switching itself to 1.4.3
The orphaned package have to be purged manually, and apt-xapian-index is removed. The upgrade cant be made directly due to conflict. At last apt-xapian-index has to be reinstalled.
After that tweak, the index is working as expected.
ProblemType: BugDistroRelease: Ubuntu 17.04
Package: apt-xapian-index 0.47ubuntu12
ProcVersionSign
Uname: Linux 4.10.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Apr 5 15:26:33 2017
PackageArchitec
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Upgrade to 1.4.3 not self made from 1.3.5 + python3-xapian not installed when apt-xapian-index upgraded |
description: | updated |
Changed in xapian-bindings (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
tags: |
added: verification-needed removed: verification-done |
Changed in apt-xapian-index (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in apt-xapian-index (Ubuntu Zesty): | |
status: | Fix Committed → In Progress |
tags: | added: packaging |
tags: |
added: verification-done removed: verification-needed |
While apt-xapian-index gained a depends on python3-xapian, python3-xapian1.3 also provides that package so during an upgrade python3-xapian1.3 is kept and python3-xapian is not installed. If the dependency for apt-xapian-index is made a versioned one then python3-xapian will get installed.