when installing, reinstalling, or upgrading things, dpkg gives error code 2

Bug #1268149 reported by Brendan William
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libfftw3-3 libfftw3-long3 libgmime2.6-cil
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libdebconfclient0 libgsettings-qt1 libgtkglext1 libmono-corlib4.5-cil
  libopencv-calib3d2.4 libopencv-contrib2.4 libopencv-core2.4
  libopencv-features2d2.4 libopencv-flann2.4 libopencv-highgui2.4
  libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4
  libopencv-objdetect2.4 libopencv-video2.4 libswscale2 libtbb2 libtcl8.6
  libtk8.6 libunityvoice1 linux-headers-3.13.0-2
  linux-headers-3.13.0-2-generic linux-image-3.13.0-2-generic
  linux-image-extra-3.13.0-2-generic mono-runtime-common mono-runtime-sgen
  printer-driver-foo2zjs-common tcl tcl8.6 tix tk tk8.6 unity-voice-service
The following packages have been kept back:
  usb-modeswitch-data
The following packages will be upgraded:
  anthy anthy-common apg apparmor apport apport-gtk base-passwd cups cups-bsd
  cups-client cups-common cups-daemon cups-ppdc cups-server-common dh-python
  evince evince-common fonts-dejavu-core fonts-dejavu-extra
  fonts-horai-umefont gedit gedit-common geoip-database gir1.2-gdata-0.0
  gir1.2-gdkpixbuf-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-goa-1.0
  gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0
  gir1.2-ibus-1.0 git git-man gnome-bluetooth gnome-control-center
  gnome-control-center-data gnome-disk-utility gnome-screensaver gnome-session
  gnome-session-bin gnome-session-common groff-base gstreamer1.0-alsa
  gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
  gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-tools gstreamer1.0-x gtk3-engines-unico
  gzip hicolor-icon-theme hud ibus ibus-gtk ibus-gtk3 ifupdown inputattach
  iptables language-pack-en language-pack-gnome-en language-pack-gnome-ja
  language-pack-ja libandroid-properties1 libanthy0 libapparmor-perl
  libapparmor1 libc-bin libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev
  libc6-dev:i386 libc6-dev-i386 libc6-dev-x32 libc6-i386 libc6-x32
  libcolumbus1 libcolumbus1-common libcups2 libcups2:i386 libcupscgi1
  libcupsimage2 libcupsmime1 libcupsppdc1 libdatrie1 libdvdread4
  libevdocument3-4 libevview3-3 libflite1 libgdata-common libgdata13
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libglib-perl libglib2.0-0
  libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgnome-bluetooth11
  libgnome-control-center1 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
  libgstreamer1.0-0 libgtk2-perl libgudev-1.0-0 libgutenprint2 libhardware2
  libhud-client2 libhud2 libhybris libhybris-common1 libhybris-utils
  libibus-1.0-5 libltdl7 libltdl7:i386 libmedia1 libmono-cairo4.0-cil
  libmono-corlib4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil
  libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil
  libmono-system-configuration4.0-cil libmono-system-core4.0-cil
  libmono-system-drawing4.0-cil libmono-system-security4.0-cil
  libmono-system-xml4.0-cil libmono-system4.0-cil libmpdec2
  libnautilus-extension1a libpam-systemd libpython3.3 libpython3.3-minimal
  libpython3.3-stdlib libssl1.0.0 libssl1.0.0:i386 libsystemd-daemon0
  libsystemd-journal0 libsystemd-login0 libtelepathy-logger3 libudev1
  libudev1:i386 libvpx1 libvpx1:i386 libxfont1 libxtables10 light-themes
  linux-firmware linux-generic linux-headers-generic linux-image-generic
  linux-libc-dev linux-libc-dev:i386 ltrace mono-4.0-gac mono-gac mono-runtime
  multiarch-support nautilus nautilus-data openssl printer-driver-c2esp
  printer-driver-foo2zjs printer-driver-gutenprint printer-driver-min12xxw
  python-apt python-apt-common python-gi python-gi-cairo python-gobject
  python-sip python-six python-twisted-bin python-twisted-core
  python-twisted-names python-twisted-web python3-apport python3-apt
  python3-gi python3-gi-cairo python3-problem-report python3-six
  python3-software-properties python3-update-manager python3.3
  python3.3-minimal seahorse session-migration software-properties-common
  software-properties-gtk systemd-services telepathy-logger tomboy
  ubuntu-artwork ubuntu-mono udev update-manager update-manager-core
  update-notifier update-notifier-common xserver-xorg-video-savage
210 upgraded, 33 newly installed, 0 to remove and 1 not upgraded.
Need to get 30.4 MB/188 MB of archives.
After this operation, 310 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-dev-x32 amd64 2.18-0ubuntu4 [1,418 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-x32 amd64 2.18-0ubuntu4 [2,441 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-dev-i386 amd64 2.18-0ubuntu4 [1,150 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-i386 amd64 2.18-0ubuntu4 [2,210 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-dev amd64 2.18-0ubuntu4 [1,917 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-dev i386 2.18-0ubuntu4 [2,680 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc-dev-bin amd64 2.18-0ubuntu4 [69.0 kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc-bin amd64 2.18-0ubuntu4 [1,161 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6-dbg amd64 2.18-0ubuntu4 [3,443 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6 i386 2.18-0ubuntu4 [4,029 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main libc6 amd64 2.18-0ubuntu4 [4,725 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu/ trusty/main libpython3.3 amd64 3.3.3-6 [1,263 kB]
Get:13 http://ca.archive.ubuntu.com/ubuntu/ trusty/main python3.3 amd64 3.3.3-6 [131 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu/ trusty/main libpython3.3-stdlib amd64 3.3.3-6 [1,985 kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu/ trusty/main libpython3.3-minimal amd64 3.3.3-6 [397 kB]
Get:16 http://ca.archive.ubuntu.com/ubuntu/ trusty/main python3.3-minimal amd64 3.3.3-6 [1,368 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main multiarch-support amd64 2.18-0ubuntu4 [4,484 B]
Get:18 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main linux-generic amd64 3.13.0.2.5 [1,778 B]
Get:19 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main linux-image-generic amd64 3.13.0.2.5 [2,358 B]
Get:20 http://ca.archive.ubuntu.com/ubuntu/ trusty-proposed/main linux-headers-generic amd64 3.13.0.2.5 [2,346 B]
Fetched 30.4 MB in 1min 3s (481 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
E: Sub-process /usr/bin/dpkg returned an error code (2)
mametozhio@unity:~$

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dpkg 1.17.1ubuntu1
ProcVersionSignature: Ubuntu 3.12.0-8.16-generic 3.12.6
Uname: Linux 3.12.0-8-generic x86_64
ApportVersion: 2.12.7-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jan 11 07:36:55 2014
InstallationDate: Installed on 2013-12-26 (15 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131226)
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brendan William (bwilliam) wrote :
description: updated
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Seth Arnold (seth-arnold) wrote :

I recommend disabling "proposed" -- the devel's -proposed is not for humans to use, but rather solely for the automated testing systems.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dpkg (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It renders essential features or functionality of the package (or a dependent one) broken.

Changed in dpkg (Ubuntu):
importance: Undecided → High
Dhanush G S (dhanushgs)
Changed in dpkg (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.