Bug#942875: debootstrap does not overwrite existing files even if adviced to do

2019-10-22 Thread Holger Levsen
severity 942875 normal
# thanks

Hi,

thanks for reporting this bug. however...

> I suppose this a bug, since debootstrap did warn before it would
> overwrite files!
 
yes, it's a bug. but not even important one according to
https://www.debian.org/Bugs/Developer#severities


-- 
cheers,
Holger

---
   holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C



signature.asc
Description: PGP signature


Bug#942875: debootstrap does not overwrite existing files even if adviced to do

2019-10-22 Thread root
Package: debootstrap
Version: 1.0.116
Severity: serious
Tags: d-i



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debootstrap depends on:
ii  wget  1.20.3-1+b1

Versions of packages debootstrap recommends:
ii  arch-test   0.16-2
ii  debian-archive-keyring  2019.1
ii  gnupg   2.2.17-3

Versions of packages debootstrap suggests:
pn  squid-deb-proxy-client  
pn  ubuntu-archive-keyring  

-- no debconf information

If you intentionaly unpack a system to unclean disks (knowing the same
system being installed), debootstrap warns about overwriting files.
Since this is ok to you, you'll confirm this. BUT: debootstrap does not,
as mentioned, overwrite files, instead it stops as soon as a file it
tries to unpack exists.
I'd awaited debootstrap to do waht it warned me for before it started:
intentionally overwrite files.

I suppose this a bug, since debootstrap did warn before it would
overwrite files!