[Bug 1577413] [NEW] dpkg crashes if given -i directory as parameter
Ville Ranki
ville.ranki at iki.fi
Mon May 2 14:18:27 UTC 2016
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
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1577413
Title:
dpkg crashes if given -i directory as parameter
Status in dpkg package in Ubuntu:
New
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
More information about the foundations-bugs
mailing list