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

Bug#846622: debootstrap: refers to log that is already deleted



Package: debootstrap
Version: 1.0.87
Severity: important


Here's a case. debootstrap operation has failed. Now debootstrap
mentions to look at the logs to determine the cause of the failure. But
this log file is inside the chroot. The same chroot that debootstrap
removes as part of cleanup, because of the failure.

So even before the user could act of the message, it is already deleted.
debootstrap should put the log in an absolute path on the Host OS.

I: Unpacking libblkid1:mips...
I: Unpacking libfdisk1:mips...
I: Unpacking libmount1:mips...
I: Unpacking libsmartcols1:mips...
I: Unpacking libuuid1:mips...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:mips...
I: Unpacking zlib1g:mips...
W: Failure while unpacking required packages.  This will be attempted up
to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
/var/cache/apt/archives/debconf_1.5.59_all.deb is at fault)

I: Unpacking libacl1:mips...
I: Unpacking libattr1:mips...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:mips...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:mips...
I: Unpacking libdebconfclient0:mips...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking libdb5.3:mips...
I: U

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.11+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debootstrap depends on:
ii  wget  1.18-4

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2014.3
ii  gnupg                   2.1.16-2

debootstrap suggests no packages.

-- no debconf information


Reply to: