package libxapian-1.3-5 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/xapian-core/stopwords/dutch.list', which is also in package libxapian-1.3-4 1.3.3-0ubuntu2

Bug #1536093 reported by Karma Dorje
370
This bug affects 82 people
Affects Status Importance Assigned to Milestone
xapian1.3-core (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

this is an automatic bug report

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libxapian-1.3-5 (not installed)
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu3
Architecture: amd64
Date: Wed Jan 20 17:07:40 2016
ErrorMessage: trying to overwrite '/usr/share/xapian-core/stopwords/dutch.list', which is also in package libxapian-1.3-4 1.3.3-0ubuntu2
InstallationDate: Installed on 2015-08-05 (167 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt 1.1.10
SourcePackage: xapian1.3-core
Title: package libxapian-1.3-5 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/xapian-core/stopwords/dutch.list', which is also in package libxapian-1.3-4 1.3.3-0ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Karma Dorje (taaroa) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xapian1.3-core (Ubuntu):
status: New → Confirmed
Revision history for this message
dinamic (dinamic6661) wrote :

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 python3-xapian1.3 : Depends: libxapian-1.3-5 but it is not installed
E: Unmet dependencies. Try using -f.

sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libxapian-1.3-5
Suggested packages:
  xapian-tools
The following NEW packages will be installed:
  libxapian-1.3-5
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
Need to get 0 B/619 kB of archives.
After this operation, 2.529 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 290431 files and directories currently installed.)
Preparing to unpack .../libxapian-1.3-5_1.3.4-0ubuntu3_amd64.deb ...
Unpacking libxapian-1.3-5 (1.3.4-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libxapian-1.3-5_1.3.4-0ubuntu3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/xapian-core/stopwords/dutch.list', which is also in package libxapian-1.3-4 1.3.3-0ubuntu2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.21-0ubuntu5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libxapian-1.3-5_1.3.4-0ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
asavah (irherder) wrote :

On my desktop fixed it with:

sudo dpkg -P libxapian-1.3-4 1.3.3-0ubuntu2

Revision history for this message
dinamic (dinamic6661) wrote :

yep sudo dpkg -P libxapian-1.3-4 1.3.3-0ubuntu2
apt-get -f install

fixes it

Revision history for this message
Stanislas LEDUC (stanislas-leduc) wrote :

yep, this commands, fix failed upgrade of libxapian package.

dpkg -P libxapian-1.3-4 1.3.3-0ubuntu2
apt-get -f install

Thanks asavah.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xapian1.3-core - 1.3.4-0ubuntu4

---------------
xapian1.3-core (1.3.4-0ubuntu4) xenial; urgency=medium

  * Add Breaks/Replaces. LP: #1536093.

 -- Matthias Klose <email address hidden> Wed, 20 Jan 2016 12:15:10 +0100

Changed in xapian1.3-core (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
dino99 (9d9) wrote :

Wonder what #7 change has been really made, but purging the previous libxapian-1.3-4 is still needed to continue the upgrade (with 'sudo dpkg -P') (like #4 comment)

So either the old package has been reloaded with the new name, or something else is still needed.

Revision history for this message
Cavsfan (cavsfan) wrote :

I got the same and sudo dpkg -P libxapian-1.3-4 1.3.3-0ubuntu2 didn't work.
I had to manually install libxapian-1.3-5. Then it worked.

cavsfan@cavsfan-le-beast:~$ sudo dpkg -P libxapian-1.3-4 1.3.3-0ubuntu2
(Reading database ... 250782 files and directories currently installed.)
Removing libxapian-1.3-4 (1.3.3-0ubuntu2) ...
Purging configuration files for libxapian-1.3-4 (1.3.3-0ubuntu2) ...
dpkg: warning: ignoring request to remove 1.3.3-0ubuntu2 which isn't installed
Processing triggers for libc-bin (2.21-0ubuntu5) ...
cavsfan@cavsfan-le-beast:~$ ud2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 python3-xapian1.3 : Depends: libxapian-1.3-5 but it is not installed
E: Unmet dependencies. Try using -f.
cavsfan@cavsfan-le-beast:~$ sudo apt-get install libxapian-1.3-5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  xapian-tools
The following NEW packages will be installed:
  libxapian-1.3-5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Edson T. Marques (edsontmarques) wrote :

workaround #4 and #5 works to me too!
thanks

Revision history for this message
Logan Rosen (logan) wrote :

The Breaks/Replaces that Matthias specified were missing a couple hyphens, explaining why this issue is ongoing. I'll upload a quick fix.

Changed in xapian1.3-core (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Logan Rosen (logan) wrote :

jk, this is in main. Matthias, can you please fix your Breaks/Replaces to affect the correct packages?
libxapian1.3-4 should be libxapian-1.3-4
libxapian1.3-4-dbg should be libxapian-1.3-4-dbg

Changed in xapian1.3-core (Ubuntu):
importance: Undecided → High
assignee: nobody → Matthias Klose (doko)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xapian1.3-core - 1.3.4-0ubuntu5

---------------
xapian1.3-core (1.3.4-0ubuntu5) xenial; urgency=medium

  * Fix Breaks/Replaces package names. LP: #1536093.

 -- Matthias Klose <email address hidden> Thu, 21 Jan 2016 09:59:21 +0100

Changed in xapian1.3-core (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Jeffery Wilkins (djcanadianjeff) wrote :

# install-docs --verbose --check /usr/share/doc-base/xapian-python3-docs
Warning in `/usr/share/doc-base/xapian-python3-docs', line 9: file `/usr/share/doc/python3-xapian1.3/index.html' does not exist.
Error in `/usr/share/doc-base/xapian-python3-docs', line 9: all `Format' sections are invalid.

Revision history for this message
Logan Rosen (logan) wrote :

Jeffery, please file a new bug for that separate issue. Thanks!

Revision history for this message
Jeffery Wilkins (djcanadianjeff) wrote :

I did and some idiot declined it

Revision history for this message
Jeffery Wilkins (djcanadianjeff) wrote :

and by idiot I mean "dino99 (9d9)"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.