← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1577413] Re: dpkg crashes if given -i directory as parameter

 

dpkg (1.18.4ubuntu1.3) xenial; urgency=medium

  * Use ohshit() instead of internerr() for unhandled dpkg-split exit
    codes. (i.e. do not abort). Closes: #812679, LP: #1601998

 -- Brian Murray <brian@xxxxxxxxxx>  Fri, 20 Oct 2017 16:14:06 -0700


** Changed in: dpkg (Ubuntu Xenial)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1577413

Title:
  dpkg crashes if given -i directory as parameter

Status in dpkg package in Ubuntu:
  Fix Released
Status in dpkg source package in Xenial:
  Fix Released

Bug description:
  $ sudo dpkg -i /tmp
  [sudo] password for user: 
  dpkg-split: error: error reading /tmp: Is a directory
  dpkg:../../src/unpack.c:123:deb_reassemble: internal error: unexpected exit status 2 from dpkg-split

  Aborted (core dumped)

  
  Installing a directory is of course an error from user, but dpkg should detect it and not crash.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: dpkg 1.18.4ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: X-Cinnamon
  Date: Mon May  2 17:14:01 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-02-12 (445 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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