1 diff -u -r ../apt-1.0.9.4/apt-pkg/deb/dpkgpm.cc ./apt-pkg/deb/dpkgpm.cc
2 --- ../apt-1.0.9.4/apt-pkg/deb/dpkgpm.cc 2014-12-03 10:06:58.000000000 -0500
3 +++ ./apt-pkg/deb/dpkgpm.cc 2014-12-07 07:17:09.210804305 -0500
15 @@ -1075,7 +1077,11 @@
17 _error->PushToStack();
20 + d->master = open("/dev/ptmx", O_RDWR | O_NOCTTY);
22 d->master = posix_openpt(O_RDWR | O_NOCTTY);
25 _error->Errno("posix_openpt", _("Can not write log (%s)"), _("Is /dev/pts mounted?"));
26 else if (unlockpt(d->master) == -1)