[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708300: apt: Failed to upgrade in pbuilder: mktemp: failed to create file via template `/tmp/user/0/tmp.XXXXXXXXXX': No such file or directory



Package: apt
Version: 0.9.8
Severity: important

Dear APT Maintainers,

I ran "pbuilder update" today for a Sid chroot on a Wheezy host. The
chroot hasn't been updated since 16th September 2012 (i.e. after the
Wheezy Freeze). Updating apt from 0.9.7.5 to 0.9.8 failed as follows:

(Reading database ... 11214 files and directories currently installed.)
Preparing to replace apt 0.9.7.5 (using .../archives/apt_0.9.8_i386.deb) ...
Unpacking replacement apt ...
Setting up apt (0.9.8) ...
Installing new version of config file /etc/cron.daily/apt ...
mktemp: failed to create file via template `/tmp/user/0/tmp.XXXXXXXXXX': No such file or directory
dpkg: error processing apt (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure if this is an apt, dpkg, pbuilder or some other package's
issue. Since apt failed to upgrade, I'm reporting it against apt
initially, but feel free to reassign.

The host system has pbuilder 0.213 installed. cowbuilder 0.70 is
installed, too, but it seems not in use, as a base.tgz has been
extracted at the beginning of the update run.

For the reference, this is the whole run:

# pbuilder update
W: /root/.pbuilderrc does not exist
I: Current time: Tue May 14 22:59:49 CEST 2013
I: pbuilder-time-stamp: 1368565189
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/sid-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
W: hookdir /etc/pbuilder/hook.d does not exist, skipping
I: Refreshing the base.tgz 
I: upgrading packages
Get:1 http://debian.ethz.ch sid InRelease [205 kB]
Get:2 http://debian.ethz.ch sid/main i386 Packages/DiffIndex [7876 B]
Get:3 http://debian.ethz.ch sid/main Translation-en/DiffIndex [7876 B]
Get:4 http://debian.ethz.ch sid/main i386 Packages [6425 kB]
Get:5 http://debian.ethz.ch sid/main Translation-en [4205 kB]
Fetched 10.9 MB in 26s (414 kB/s)
Reading package lists...
I: Obtaining the cached apt archive contents
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  gcc-4.8-base libcap2 libcloog-ppl1 libgcc-4.7-dev libgmpxx4ldbl libmpc3 libpcre3 libppl-c4 libppl12
The following packages will be upgraded:
  apt aptitude aptitude-common base-files bash binutils bsdutils build-essential ccache coreutils cpp cpp-4.7 debconf debconf-i18n debianutils diffutils dpkg dpkg-dev e2fslibs e2fsprogs findutils g++ g++-4.7
  gcc gcc-4.7 gcc-4.7-base gnupg gpgv grep hostname initscripts insserv libapt-pkg4.12 libblkid1 libboost-iostreams1.49.0 libc-bin libc-dev-bin libc6 libc6-dev libclass-isa-perl libcomerr2 libdpkg-perl libgcc1
  libgmp10 libgomp1 libitm1 liblzma5 libmount1 libmpfr4 libncurses5 libncursesw5 libpam-modules libpam-modules-bin libpam-runtime libpam0g libquadmath0 libreadline6 libselinux1 libsemanage-common libsemanage1
  libsepol1 libsqlite3-0 libss2 libstdc++6 libstdc++6-4.7-dev libtinfo5 libusb-0.1-4 libuuid1 libxapian22 linux-libc-dev lsb-base mount multiarch-support ncurses-base ncurses-bin perl perl-base perl-modules
  readline-common sed sysv-rc sysvinit sysvinit-utils tar tzdata util-linux xz-utils zlib1g
88 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/82.4 MB of archives.
After this operation, 9709 kB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 11115 files and directories currently installed.)
Preparing to replace base-files 6.11 (using .../base-files_7.2_i386.deb) ...
Unpacking replacement base-files ...
Setting up base-files (7.2) ...
Installing new version of config file /etc/debian_version ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/os-release ...
(Reading database ... 11115 files and directories currently installed.)
Preparing to replace debianutils 4.3.3 (using .../debianutils_4.3.4_i386.deb) ...
Unpacking replacement debianutils ...
Setting up debianutils (4.3.4) ...
(Reading database ... 11122 files and directories currently installed.)
Preparing to replace bash 4.2-5 (using .../bash_4.2+dfsg-1_i386.deb) ...
Unpacking replacement bash ...
Setting up bash (4.2+dfsg-1) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... 11122 files and directories currently installed.)
Preparing to replace dpkg 1.16.8 (using .../archives/dpkg_1.16.10_i386.deb) ...
Unpacking replacement dpkg ...
Setting up dpkg (1.16.10) ...
(Reading database ... 11129 files and directories currently installed.)
Preparing to replace coreutils 8.13-3.2 (using .../coreutils_8.13-3.3_i386.deb) ...
Unpacking replacement coreutils ...
Setting up coreutils (8.13-3.3) ...
(Reading database ... 11129 files and directories currently installed.)
Preparing to replace diffutils 1:3.2-6 (using .../diffutils_1%3a3.2-8_i386.deb) ...
Unpacking replacement diffutils ...
Setting up diffutils (1:3.2-8) ...
Selecting previously unselected package libcap2:i386.
(Reading database ... 11129 files and directories currently installed.)
Unpacking libcap2:i386 (from .../libcap2_1%3a2.22-1.2_i386.deb) ...
Setting up libcap2:i386 (1:2.22-1.2) ...
(Reading database ... 11135 files and directories currently installed.)
Preparing to replace libc6-dev:i386 2.13-35 (using .../libc6-dev_2.17-2_i386.deb) ...
Unpacking replacement libc6-dev:i386 ...
Preparing to replace libc-dev-bin 2.13-35 (using .../libc-dev-bin_2.17-2_i386.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6:i386 2.13-35 (using .../archives/libc6_2.17-2_i386.deb) ...
Configuring libc6
-----------------

xscreensaver and xlockmore must be restarted before upgrading

One or more running instances of xscreensaver or xlockmore have been 
detected on this system. Because of incompatible library changes, the 
upgrade of the GNU libc library will leave you unable to authenticate to 
these programs. You should arrange for these programs to be restarted or 
stopped before continuing this upgrade, to avoid locking your users out of 
their current sessions.

Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6:i386 ...
Setting up libc6:i386 (2.17-2) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
(Reading database ... 11157 files and directories currently installed.)
Preparing to replace libc-bin 2.13-35 (using .../libc-bin_2.17-2_i386.deb) ...
Unpacking replacement libc-bin ...
Setting up libc-bin (2.17-2) ...
Installing new version of config file /etc/gai.conf ...
(Reading database ... 11158 files and directories currently installed.)
Preparing to replace linux-libc-dev:i386 3.2.23-1 (using .../linux-libc-dev_3.8.12-1_i386.deb) ...
Unpacking replacement linux-libc-dev:i386 ...
Selecting previously unselected package gcc-4.8-base:i386.
Unpacking gcc-4.8-base:i386 (from .../gcc-4.8-base_4.8.0-7_i386.deb) ...
Processing triggers for ccache ...
Updating symlinks in /usr/lib/ccache ...
Setting up gcc-4.8-base:i386 (4.8.0-7) ...
(Reading database ... 11193 files and directories currently installed.)
Preparing to replace libgcc1:i386 1:4.7.1-9 (using .../libgcc1_1%3a4.8.0-7_i386.deb) ...
Unpacking replacement libgcc1:i386 ...
Setting up libgcc1:i386 (1:4.8.0-7) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11193 files and directories currently installed.)
Preparing to replace e2fslibs:i386 1.42.5-1 (using .../e2fslibs_1.42.5-1.1_i386.deb) ...
Unpacking replacement e2fslibs:i386 ...
Setting up e2fslibs:i386 (1.42.5-1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11193 files and directories currently installed.)
Preparing to replace e2fsprogs 1.42.5-1 (using .../e2fsprogs_1.42.5-1.1_i386.deb) ...
Unpacking replacement e2fsprogs ...
Setting up e2fsprogs (1.42.5-1.1) ...
(Reading database ... 11193 files and directories currently installed.)
Preparing to replace findutils 4.4.2-4 (using .../findutils_4.4.2-5_i386.deb) ...
Unpacking replacement findutils ...
Setting up findutils (4.4.2-5) ...
(Reading database ... 11193 files and directories currently installed.)
Preparing to replace grep 2.12-2 (using .../archives/grep_2.14-1_i386.deb) ...
Unpacking replacement grep ...
Setting up grep (2.14-1) ...
(Reading database ... 11194 files and directories currently installed.)
Preparing to replace hostname 3.11 (using .../hostname_3.12_i386.deb) ...
Unpacking replacement hostname ...
Setting up hostname (3.12) ...
(Reading database ... 11194 files and directories currently installed.)
Preparing to replace mount 2.20.1-5.2 (using .../mount_2.20.1-5.4_i386.deb) ...
Unpacking replacement mount ...
Setting up mount (2.20.1-5.4) ...
(Reading database ... 11194 files and directories currently installed.)
Preparing to replace libncursesw5:i386 5.9-10 (using .../libncursesw5_5.9+20130504-1_i386.deb) ...
Unpacking replacement libncursesw5:i386 ...
Preparing to replace libtinfo5:i386 5.9-10 (using .../libtinfo5_5.9+20130504-1_i386.deb) ...
Unpacking replacement libtinfo5:i386 ...
Setting up libtinfo5:i386 (5.9+20130504-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11194 files and directories currently installed.)
Preparing to replace libncurses5:i386 5.9-10 (using .../libncurses5_5.9+20130504-1_i386.deb) ...
Unpacking replacement libncurses5:i386 ...
Setting up libncurses5:i386 (5.9+20130504-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11194 files and directories currently installed.)
Preparing to replace ncurses-bin 5.9-10 (using .../ncurses-bin_5.9+20130504-1_i386.deb) ...
Unpacking replacement ncurses-bin ...
Setting up ncurses-bin (5.9+20130504-1) ...
(Reading database ... 11192 files and directories currently installed.)
Preparing to replace libclass-isa-perl 0.36-3 (using .../libclass-isa-perl_0.36-5_all.deb) ...
Unpacking replacement libclass-isa-perl ...
Preparing to replace perl 5.14.2-13 (using .../perl_5.14.2-21_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.14.2-13 (using .../perl-base_5.14.2-21_i386.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.14.2-21) ...
(Reading database ... 11191 files and directories currently installed.)
Preparing to replace perl-modules 5.14.2-13 (using .../perl-modules_5.14.2-21_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace zlib1g:i386 1:1.2.7.dfsg-13 (using .../zlib1g_1%3a1.2.8.dfsg-1_i386.deb) ...
Unpacking replacement zlib1g:i386 ...
Setting up zlib1g:i386 (1:1.2.8.dfsg-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11191 files and directories currently installed.)
Preparing to replace sed 4.2.1-10 (using .../archives/sed_4.2.2-1_i386.deb) ...
Unpacking replacement sed ...
Setting up sed (4.2.2-1) ...
Selecting previously unselected package libpcre3:i386.
(Reading database ... 11193 files and directories currently installed.)
Unpacking libpcre3:i386 (from .../libpcre3_1%3a8.31-2_i386.deb) ...
Setting up libpcre3:i386 (1:8.31-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace libselinux1:i386 2.1.9-5 (using .../libselinux1_2.1.13-1_i386.deb) ...
Unpacking replacement libselinux1:i386 ...
Setting up libselinux1:i386 (2.1.13-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11204 files and directories currently installed.)
Preparing to replace libsepol1:i386 2.1.4-3 (using .../libsepol1_2.1.9-1_i386.deb) ...
Unpacking replacement libsepol1:i386 ...
Setting up libsepol1:i386 (2.1.9-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11204 files and directories currently installed.)
Preparing to replace sysvinit 2.88dsf-32 (using .../sysvinit_2.88dsf-41_i386.deb) ...
Unpacking replacement sysvinit ...
Setting up sysvinit (2.88dsf-41) ...
Not restarting sysvinit
(Reading database ... 11204 files and directories currently installed.)
Preparing to replace tar 1.26-4 (using .../tar_1.26+dfsg-5_i386.deb) ...
Unpacking replacement tar ...
Setting up tar (1.26+dfsg-5) ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace insserv 1.14.0-4 (using .../insserv_1.14.0-5_i386.deb) ...
Unpacking replacement insserv ...
Setting up insserv (1.14.0-5) ...
Installing new version of config file /etc/insserv.conf ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace debconf 1.5.46 (using .../debconf_1.5.50_all.deb) ...
Unpacking replacement debconf ...
Setting up debconf (1.5.50) ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace sysvinit-utils 2.88dsf-32 (using .../sysvinit-utils_2.88dsf-41_i386.deb) ...
Unpacking replacement sysvinit-utils ...
Setting up sysvinit-utils (2.88dsf-41) ...
Installing new version of config file /etc/init/startpar-bridge.conf ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace sysv-rc 2.88dsf-32 (using .../sysv-rc_2.88dsf-41_all.deb) ...
Unpacking replacement sysv-rc ...
Setting up sysv-rc (2.88dsf-41) ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace lsb-base 4.1+Debian7 (using .../lsb-base_4.1+Debian9_all.deb) ...
Unpacking replacement lsb-base ...
Setting up lsb-base (4.1+Debian9) ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace initscripts 2.88dsf-32 (using .../initscripts_2.88dsf-41_i386.deb) ...
Unpacking replacement initscripts ...
Setting up initscripts (2.88dsf-41) ...
Installing new version of config file /etc/init.d/checkroot-bootclean.sh ...
Installing new version of config file /etc/init.d/mountall.sh ...
Installing new version of config file /etc/init.d/mountall-bootclean.sh ...
Installing new version of config file /etc/init.d/mountnfs-bootclean.sh ...
Installing new version of config file /etc/init.d/umountnfs.sh ...
(Reading database ... 11206 files and directories currently installed.)
Preparing to replace tzdata 2012f-1 (using .../tzdata_2013b-2_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2013b-2) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue May 14 21:01:46 UTC 2013.
Universal Time is now:  Tue May 14 21:01:46 UTC 2013.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 11215 files and directories currently installed.)
Preparing to replace util-linux 2.20.1-5.2 (using .../util-linux_2.20.1-5.4_i386.deb) ...
Unpacking replacement util-linux ...
Setting up util-linux (2.20.1-5.4) ...
(Reading database ... 11215 files and directories currently installed.)
Preparing to replace libstdc++6:i386 4.7.1-9 (using .../libstdc++6_4.8.0-7_i386.deb) ...
Unpacking replacement libstdc++6:i386 ...
Setting up libstdc++6:i386 (4.8.0-7) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11215 files and directories currently installed.)
Preparing to replace libapt-pkg4.12:i386 0.9.7.5 (using .../libapt-pkg4.12_0.9.8_i386.deb) ...
Unpacking replacement libapt-pkg4.12:i386 ...
Setting up libapt-pkg4.12:i386 (0.9.8) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11215 files and directories currently installed.)
Preparing to replace readline-common 6.2-8 (using .../readline-common_6.2+dfsg-0.1_all.deb) ...
Unpacking replacement readline-common ...
Setting up readline-common (6.2+dfsg-0.1) ...
(Reading database ... 11214 files and directories currently installed.)
Preparing to replace libreadline6:i386 6.2-8 (using .../libreadline6_6.2+dfsg-0.1_i386.deb) ...
Unpacking replacement libreadline6:i386 ...
Setting up libreadline6:i386 (6.2+dfsg-0.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11214 files and directories currently installed.)
Preparing to replace libusb-0.1-4:i386 2:0.1.12-23 (using .../libusb-0.1-4_2%3a0.1.12-23+nmu1_i386.deb) ...
Unpacking replacement libusb-0.1-4:i386 ...
Setting up libusb-0.1-4:i386 (2:0.1.12-23+nmu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11214 files and directories currently installed.)
Preparing to replace gpgv 1.4.12-4+b1 (using .../gpgv_1.4.12-7_i386.deb) ...
Unpacking replacement gpgv ...
Setting up gpgv (1.4.12-7) ...
(Reading database ... 11214 files and directories currently installed.)
Preparing to replace gnupg 1.4.12-4+b1 (using .../gnupg_1.4.12-7_i386.deb) ...
Unpacking replacement gnupg ...
Setting up gnupg (1.4.12-7) ...
(Reading database ... 11214 files and directories currently installed.)
Preparing to replace apt 0.9.7.5 (using .../archives/apt_0.9.8_i386.deb) ...
Unpacking replacement apt ...
Setting up apt (0.9.8) ...
Installing new version of config file /etc/cron.daily/apt ...
mktemp: failed to create file via template `/tmp/user/0/tmp.XXXXXXXXXX': No such file or directory
dpkg: error processing apt (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//31159 and its subdirectories
# echo $?
1
#

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (902, 'stable-updates'), (901, 'proposed-updates'), (900, 'stable'), (800, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.12-7
ii  libapt-pkg4.12          0.9.7.8
ii  libc6                   2.13-38
ii  libgcc1                 1:4.7.2-5
ii  libstdc++6              4.7.2-5

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     0.9.7.8
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.16.10
ii  python-apt  0.8.8.2
ii  xz-utils    5.1.1alpha+20120614-2

-- no debconf information


Reply to: