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

Bug#1107791: debootstrap: E: Target directory '/T' is not empty and it would be wiped



Package: debootstrap
Version: 1.0.140~bpo12+1
Severity: normal
X-Debbugs-Cc: tg@mirbsd.de

I wanted to debootstrap to a new filesystem on /T but…

E: Target directory '/T' is not empty and it would be wiped


I find this message a bit restrictive if just…

$ ls -l /T
total 17
drwxr-xr-x 3 root root  1024 Jun 14 18:34 boot
drwx------ 2 root root 16384 Jun 14 18:40 lost+found


As a workaround, I did “mkdir /T/T”, will debootstrap into that,
then use the host’s mc(1) to move everything.


-- System Information:
Debian Release: 11.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-35-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages debootstrap depends on:
ii  distro-info  1.0+deb11u1
ii  wget         1.21-1+deb11u2

Versions of packages debootstrap recommends:
pn  arch-test               <none>
ii  debian-archive-keyring  2021.1.1+deb11u1
ii  gpgv                    2.2.27-2+deb11u2
ii  mount                   2.36.1-8+deb11u2

Versions of packages debootstrap suggests:
ii  binutils                2.35.2-2
pn  squid-deb-proxy-client  <none>
pn  ubuntu-archive-keyring  <none>
ii  xz-utils                5.2.5-2.1~deb11u1
ii  zstd                    1.4.8+dfsg-2.1

-- no debconf information

Reply to: