[Bug 1643568] [NEW] error processing archive message should point to /var/cache

Scott Moser smoser at ubuntu.com
Mon Nov 21 14:16:17 UTC 2016


Public bug reported:

$ apt-get dist-upgrade
...
Unpacking libtesseract-data (3.04.01-4.1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-5RxrWp/069-libtesseract-data_3.04.01-4.1_all.deb (--unpack):
 trying to overwrite '/usr/share/tesseract-ocr/tessdata/configs/ambigs.train', which is also in package libtesseract3 3.04.01-4build1
Preparing to unpack .../070-libtesseract3_3.04.01-4.1_amd64.deb ..
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-5RxrWp/069-libtesseract-data_3.04.01-4.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


the error message above points to a tempfile path that does not exist any more.
It would probably more useful to point to the file path:
 /var/cache/apt/archives/libtesseract-data_3.04.01-4.1_all.deb

so that I could dpkg -i that path rather than having to find it.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: apt 1.3.1
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Nov 21 09:13:09 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (487 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug zesty

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

Title:
  error processing archive message should point to /var/cache

Status in apt package in Ubuntu:
  New

Bug description:
  $ apt-get dist-upgrade
  ...
  Unpacking libtesseract-data (3.04.01-4.1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-5RxrWp/069-libtesseract-data_3.04.01-4.1_all.deb (--unpack):
   trying to overwrite '/usr/share/tesseract-ocr/tessdata/configs/ambigs.train', which is also in package libtesseract3 3.04.01-4build1
  Preparing to unpack .../070-libtesseract3_3.04.01-4.1_amd64.deb ..
  ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-5RxrWp/069-libtesseract-data_3.04.01-4.1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  the error message above points to a tempfile path that does not exist any more.
  It would probably more useful to point to the file path:
   /var/cache/apt/archives/libtesseract-data_3.04.01-4.1_all.deb

  so that I could dpkg -i that path rather than having to find it.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: apt 1.3.1
  ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
  Uname: Linux 4.4.0-45-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Nov 21 09:13:09 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (487 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list