Public bug reported:

$ 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)

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


** Tags: amd64 apport-bug xenial

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

Title:
  dpkg crashes if given -i directory as parameter

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to