Hah, you're right. Not much we can do about that though I think, as the
message comes from dpkg. Except maybe add a message stating that the
files are somewhere else than mentioned.

We are abusing dpkg's recursive unpacking feature to clean the ordering
code up a bit.

** Changed in: apt (Ubuntu)
   Importance: Undecided => Low

** Changed in: apt (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to