Your message dated Sun, 04 Oct 2020 21:35:43 +0200
with message-id <87wo05zsvk....@turtle.gmx.de>
and subject line Re: Bug#971674: cowdancer: uses ncurses in the LD_PRELOADed 
DLL, making upgrades unreliable
has caused the Debian Bug report #971672,
regarding rm: /lib/i386-linux-gnu/libtinfo.so.6: version 
`NCURSES6_TINFO_6.2.current' not found (required by 
/lib/i386-linux-gnu/libncurses.so.6)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
971672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971672
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libncurses6
Version: 6.2+20200918-1
Severity: serious
Justification: does not install/upgrade
X-Debbugs-Cc: t.gla...@tarent.de

I cannot update my cowbuilder sid chroot, with the following errors:

[…]
Preparing to unpack .../libncursesw6_6.2+20200918-1_i386.deb ...
Unpacking libncursesw6:i386 (6.2+20200918-1) over (6.2-1) ...
Preparing to unpack .../libncurses6_6.2+20200918-1_i386.deb ...
Unpacking libncurses6:i386 (6.2+20200918-1) over (6.2-1) ...
rm: /lib/i386-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.current' not 
found (required by /lib/i386-linux-gnu/libncurses.so.6)
dpkg: error while cleaning up:
 rm command for cleanup subprocess returned error exit status 1
dpkg-split: /lib/i386-linux-gnu/libtinfo.so.6: version 
`NCURSES6_TINFO_6.2.current' not found (required by 
/lib/i386-linux-gnu/libncurses.so.6)
rm: /lib/i386-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.current' not 
found (required by /lib/i386-linux-gnu/libncurses.so.6)
dpkg: error processing archive 
/var/cache/apt/archives/libtinfo6_6.2+20200918-1_i386.deb (--unpack):
 rm command for cleanup subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libtinfo6_6.2+20200918-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[…]

From a first glance, this *looks* like an ordering issue, because,
for some weird reason, /bin/rm seems to depend on a libncurses feature‽

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit unserem Consulting bieten wir Unternehmen maßgeschneiderte Angebote in
Form von Beratung, Trainings sowie Workshops in den Bereichen
Softwaretechnologie, IT Strategie und Architektur, Innovation und Umsetzung
sowie Agile Organisation.

Besuchen Sie uns auf https://www.tarent.de/consulting .
Wir freuen uns auf Ihren Kontakt.

*************************************************
tglase@tglase:~ $ c sid/i386 --update
+ sudo env '--unset=XDG_RUNTIME_DIR' 'DIST=sid/i386' 'LANG=C' 'LC_CTYPE=C' 
'LC_NUMERIC=C' 'LC_TIME=C' 'LC_COLLATE=C' 'LC_MONETARY=C' 'LC_MESSAGES=C' 
'LC_PAPER=C' 'LC_NAME=C' 'LC_ADDRESS=C' 'LC_TELEPHONE=C' 'LC_MEASUREMENT=C' 
'LC_IDENTIFICATION=C' 'LC_ALL=C' 'LD_LIBRARY_PATH=/usr/lib/libeatmydata' 
'LD_PRELOAD=libeatmydata.so' linux32 -- cowbuilder --update
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.25064
I: forking: cp -al /var/cache/pbuilder/base.cow-sid-i386/ 
/var/cache/pbuilder/build/cow.25064
I: removed stale ilistfile /var/cache/pbuilder/build/cow.25064/.ilist
I: Invoking pbuilder
I: forking: pbuilder update --buildplace /var/cache/pbuilder/build/cow.25064 
--mirror http://deb.debian.org/debian/ --distribution sid --extrapackages 'apt 
debian-archive-keyring eatmydata fakeroot sysvinit-core' --no-targz 
--internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.25064 cow-shell'
I: Building for sid/i386
W: The configuration option PKGNAME_LOGFILE_EXTENTION is deprecated in favour 
of PKGNAME_LOGFILE_EXTENSION. Though, while you have the former set it'll take 
precedence over the latter.
W: PKGNAME_LOGFILE_EXTENTION will be removed at some point, please update your 
config!
W: /home/tglase/.pbuilderrc does not exist
W: The configuration option PKGNAME_LOGFILE_EXTENTION is deprecated in favour 
of PKGNAME_LOGFILE_EXTENSION. Though, while you have the former set it'll take 
precedence over the latter.
W: PKGNAME_LOGFILE_EXTENTION will be removed at some point, please update your 
config!
I: Running in no-targz mode
I: Current time: Sun Oct  4 20:41:59 CEST 2020
I: pbuilder-time-stamp: 1601836919
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for 
details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: using eatmydata during job
I: Refreshing the base.tgz
I: upgrading packages
Get:1 http://deb.debian.org/debian sid InRelease [146 kB]
Get:2 http://deb.debian.org/debian sid/main i386 Packages.diff/Index [27.9 kB]
Ign:2 http://deb.debian.org/debian sid/main i386 Packages.diff/Index
Get:3 http://deb.debian.org/debian sid/main Translation-en.diff/Index [27.9 kB]
Ign:3 http://deb.debian.org/debian sid/main Translation-en.diff/Index
Get:4 http://deb.debian.org/debian sid/main i386 Packages [8328 kB]
Get:5 http://incoming.debian.org/debian-buildd buildd-unstable InRelease [39.7 
kB]
Get:6 http://deb.debian.org/debian sid/main Translation-en [6325 kB]
Get:7 http://incoming.debian.org/debian-buildd buildd-unstable/main i386 
Packages [70.3 kB]
Get:8 http://incoming.debian.org/debian-buildd buildd-unstable/main 
Translation-en [50.9 kB]
Fetched 15.0 MB in 7s (2061 kB/s)
Reading package lists...
I: Obtaining the cached apt archive contents
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  binutils binutils-common binutils-i686-linux-gnu bsdutils coreutils cpp 
cpp-10 debianutils fakeroot g++
  g++-10 gcc gcc-10 gcc-10-base initscripts libasan6 libatomic1 libbinutils 
libblkid1 libcc1-0 libctf-nobfd0
  libctf0 libdebconfclient0 libfakeroot libgcc-10-dev libgcc-s1 libgnutls30 
libgomp1 libitm1 libldap-2.4-2
  libldap-common libmount1 libncurses6 libncursesw6 libquadmath0 libseccomp2 
libsmartcols1 libstdc++-10-dev
  libstdc++6 libsystemd0 libtinfo6 libubsan1 libudev1 libuuid1 linux-libc-dev 
mount ncurses-base ncurses-bin
  sysv-rc sysvinit-core sysvinit-utils util-linux
52 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.6 MB/54.8 MB of archives.
After this operation, 296 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main i386 bsdutils i386 1:2.36-3+b1 [151 
kB]
Get:2 http://deb.debian.org/debian sid/main i386 coreutils i386 8.32-4 [2930 kB]
Get:3 http://deb.debian.org/debian sid/main i386 debianutils i386 4.11.2 [102 
kB]
Get:4 http://deb.debian.org/debian sid/main i386 libncursesw6 i386 
6.2+20200918-1 [144 kB]
Get:5 http://deb.debian.org/debian sid/main i386 libncurses6 i386 
6.2+20200918-1 [110 kB]
Get:6 http://deb.debian.org/debian sid/main i386 libtinfo6 i386 6.2+20200918-1 
[341 kB]
Get:7 http://deb.debian.org/debian sid/main i386 ncurses-bin i386 
6.2+20200918-1 [430 kB]
Get:8 http://deb.debian.org/debian sid/main i386 util-linux i386 2.36-3+b1 
[1163 kB]
Get:9 http://deb.debian.org/debian sid/main i386 ncurses-base all 
6.2+20200918-1 [270 kB]
Get:10 http://deb.debian.org/debian sid/main i386 sysvinit-utils i386 2.96-5 
[25.7 kB]
Get:11 http://deb.debian.org/debian sid/main i386 libsystemd0 i386 246.6-1 [388 
kB]
Get:12 http://deb.debian.org/debian sid/main i386 mount i386 2.36-3+b1 [189 kB]
Get:13 http://deb.debian.org/debian sid/main i386 libcc1-0 i386 10.2.0-13 [42.0 
kB]
Get:14 http://deb.debian.org/debian sid/main i386 libctf0 i386 2.35.1-1 [52.1 
kB]
Get:15 http://deb.debian.org/debian sid/main i386 libctf-nobfd0 i386 2.35.1-1 
[108 kB]
Get:16 http://deb.debian.org/debian sid/main i386 binutils-i686-linux-gnu i386 
2.35.1-1 [1754 kB]
Get:17 http://deb.debian.org/debian sid/main i386 libbinutils i386 2.35.1-1 
[518 kB]
Get:18 http://deb.debian.org/debian sid/main i386 binutils-common i386 2.35.1-1 
[2214 kB]
Get:19 http://deb.debian.org/debian sid/main i386 binutils i386 2.35.1-1 [59.7 
kB]
Get:20 http://deb.debian.org/debian sid/main i386 libgomp1 i386 10.2.0-13 [106 
kB]
Get:21 http://deb.debian.org/debian sid/main i386 libitm1 i386 10.2.0-13 [28.6 
kB]
Get:22 http://deb.debian.org/debian sid/main i386 libatomic1 i386 10.2.0-13 
[9512 B]
Get:23 http://deb.debian.org/debian sid/main i386 libasan6 i386 10.2.0-13 [355 
kB]
Get:24 http://deb.debian.org/debian sid/main i386 libubsan1 i386 10.2.0-13 [152 
kB]
Get:25 http://deb.debian.org/debian sid/main i386 libquadmath0 i386 10.2.0-13 
[229 kB]
Get:26 http://deb.debian.org/debian sid/main i386 gcc-10-base i386 10.2.0-13 
[199 kB]
Get:27 http://deb.debian.org/debian sid/main i386 libstdc++6 i386 10.2.0-13 
[527 kB]
Get:28 http://deb.debian.org/debian sid/main i386 g++-10 i386 10.2.0-13 [9034 
kB]
Get:29 http://deb.debian.org/debian sid/main i386 libstdc++-10-dev i386 
10.2.0-13 [1781 kB]
Get:30 http://deb.debian.org/debian sid/main i386 libgcc-10-dev i386 10.2.0-13 
[2323 kB]
Get:31 http://deb.debian.org/debian sid/main i386 gcc-10 i386 10.2.0-13 [16.6 
MB]
Get:32 http://deb.debian.org/debian sid/main i386 cpp-10 i386 10.2.0-13 [8349 
kB]
Get:33 http://deb.debian.org/debian sid/main i386 libgcc-s1 i386 10.2.0-13 
[49.6 kB]
Get:34 http://deb.debian.org/debian sid/main i386 libblkid1 i386 2.36-3+b1 [208 
kB]
Get:35 http://deb.debian.org/debian sid/main i386 libdebconfclient0 i386 0.254 
[49.5 kB]
Get:36 http://deb.debian.org/debian sid/main i386 libgnutls30 i386 3.6.15-4 
[1196 kB]
Get:37 http://deb.debian.org/debian sid/main i386 libmount1 i386 2.36-3+b1 [224 
kB]
Get:38 http://deb.debian.org/debian sid/main i386 libseccomp2 i386 2.4.4-1 
[42.4 kB]
Get:39 http://deb.debian.org/debian sid/main i386 libsmartcols1 i386 2.36-3+b1 
[165 kB]
Get:40 http://deb.debian.org/debian sid/main i386 libudev1 i386 246.6-1 [166 kB]
Get:41 http://deb.debian.org/debian sid/main i386 libuuid1 i386 2.36-3+b1 [83.4 
kB]
Get:42 http://deb.debian.org/debian sid/main i386 g++ i386 4:10.2.0-1 [1648 B]
Get:43 http://deb.debian.org/debian sid/main i386 gcc i386 4:10.2.0-1 [5244 B]
Get:44 http://deb.debian.org/debian sid/main i386 cpp i386 4:10.2.0-1 [19.7 kB]
Get:45 http://deb.debian.org/debian sid/main i386 libfakeroot i386 1.25.2-1 
[48.4 kB]
Get:46 http://deb.debian.org/debian sid/main i386 fakeroot i386 1.25.2-1 [88.0 
kB]
Get:47 http://deb.debian.org/debian sid/main i386 libldap-2.4-2 i386 
2.4.53+dfsg-1 [243 kB]
Get:48 http://deb.debian.org/debian sid/main i386 linux-libc-dev i386 5.8.10-1 
[1182 kB]
Get:49 http://deb.debian.org/debian sid/main i386 sysvinit-core i386 2.96-5 
[156 kB]
Fetched 54.6 MB in 5s (11.7 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 12811 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.36-3+b1_i386.deb ...
Unpacking bsdutils (1:2.36-3+b1) over (1:2.36-3) ...
Setting up bsdutils (1:2.36-3+b1) ...
(Reading database ... 12812 files and directories currently installed.)
Preparing to unpack .../coreutils_8.32-4_i386.deb ...
Unpacking coreutils (8.32-4) over (8.32-3) ...
Setting up coreutils (8.32-4) ...
(Reading database ... 12812 files and directories currently installed.)
Preparing to unpack .../debianutils_4.11.2_i386.deb ...
Unpacking debianutils (4.11.2) over (4.11.1) ...
Setting up debianutils (4.11.2) ...
(Reading database ... 12812 files and directories currently installed.)
Preparing to unpack .../libncursesw6_6.2+20200918-1_i386.deb ...
Unpacking libncursesw6:i386 (6.2+20200918-1) over (6.2-1) ...
Preparing to unpack .../libncurses6_6.2+20200918-1_i386.deb ...
Unpacking libncurses6:i386 (6.2+20200918-1) over (6.2-1) ...
rm: /lib/i386-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.current' not 
found (required by /lib/i386-linux-gnu/libncurses.so.6)
dpkg: error while cleaning up:
 rm command for cleanup subprocess returned error exit status 1
dpkg-split: /lib/i386-linux-gnu/libtinfo.so.6: version 
`NCURSES6_TINFO_6.2.current' not found (required by 
/lib/i386-linux-gnu/libncurses.so.6)
rm: /lib/i386-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.current' not 
found (required by /lib/i386-linux-gnu/libncurses.so.6)
dpkg: error processing archive 
/var/cache/apt/archives/libtinfo6_6.2+20200918-1_i386.deb (--unpack):
 rm command for cleanup subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libtinfo6_6.2+20200918-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I: Copying back the cached apt archive contents
I: new cache content 'ncurses-base_6.2+20200918-1_all.deb' added
I: new cache content 'g++_4%3a10.2.0-1_i386.deb' added
I: new cache content 'libcc1-0_10.2.0-13_i386.deb' added
I: new cache content 'libuuid1_2.36-3+b1_i386.deb' added
I: new cache content 'libgcc-s1_10.2.0-13_i386.deb' added
I: new cache content 'binutils-common_2.35.1-1_i386.deb' added
I: new cache content 'bsdutils_1%3a2.36-3+b1_i386.deb' added
I: new cache content 'gcc_4%3a10.2.0-1_i386.deb' added
I: new cache content 'libgnutls30_3.6.15-4_i386.deb' added
I: new cache content 'libquadmath0_10.2.0-13_i386.deb' added
I: new cache content 'binutils-i686-linux-gnu_2.35.1-1_i386.deb' added
I: new cache content 'libsmartcols1_2.36-3+b1_i386.deb' added
I: new cache content 'libatomic1_10.2.0-13_i386.deb' added
I: new cache content 'gcc-10-base_10.2.0-13_i386.deb' added
I: new cache content 'libdebconfclient0_0.254_i386.deb' added
I: new cache content 'libstdc++6_10.2.0-13_i386.deb' added
I: new cache content 'sysvinit-utils_2.96-5_i386.deb' added
I: new cache content 'libseccomp2_2.4.4-1_i386.deb' added
I: new cache content 'libblkid1_2.36-3+b1_i386.deb' added
I: new cache content 'cpp-10_10.2.0-13_i386.deb' added
I: new cache content 'libncurses6_6.2+20200918-1_i386.deb' added
I: new cache content 'libasan6_10.2.0-13_i386.deb' added
I: new cache content 'g++-10_10.2.0-13_i386.deb' added
I: new cache content 'util-linux_2.36-3+b1_i386.deb' added
I: new cache content 'libfakeroot_1.25.2-1_i386.deb' added
I: new cache content 'ncurses-bin_6.2+20200918-1_i386.deb' added
I: new cache content 'libctf-nobfd0_2.35.1-1_i386.deb' added
I: new cache content 'libgomp1_10.2.0-13_i386.deb' added
I: new cache content 'libitm1_10.2.0-13_i386.deb' added
I: new cache content 'libldap-2.4-2_2.4.53+dfsg-1_i386.deb' added
I: new cache content 'mount_2.36-3+b1_i386.deb' added
I: new cache content 'libncursesw6_6.2+20200918-1_i386.deb' added
I: new cache content 'libstdc++-10-dev_10.2.0-13_i386.deb' added
I: new cache content 'libudev1_246.6-1_i386.deb' added
I: new cache content 'linux-libc-dev_5.8.10-1_i386.deb' added
I: new cache content 'libtinfo6_6.2+20200918-1_i386.deb' added
I: new cache content 'coreutils_8.32-4_i386.deb' added
I: new cache content 'binutils_2.35.1-1_i386.deb' added
I: new cache content 'libmount1_2.36-3+b1_i386.deb' added
I: new cache content 'libgcc-10-dev_10.2.0-13_i386.deb' added
I: new cache content 'cpp_4%3a10.2.0-1_i386.deb' added
I: new cache content 'libbinutils_2.35.1-1_i386.deb' added
I: new cache content 'gcc-10_10.2.0-13_i386.deb' added
I: new cache content 'debianutils_4.11.2_i386.deb' added
I: new cache content 'fakeroot_1.25.2-1_i386.deb' added
I: new cache content 'sysvinit-core_2.96-5_i386.deb' added
I: new cache content 'libsystemd0_246.6-1_i386.deb' added
I: new cache content 'libubsan1_10.2.0-13_i386.deb' added
I: new cache content 'libctf0_2.35.1-1_i386.deb' added
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
E: pbuilder update failed
E: could not update with cowdancer, try --no-cowdancer-update option
I: forking: rm -rf /var/cache/pbuilder/build/cow.25064

--- End Message ---
--- Begin Message ---
Control: forcemerge 970555 971674

Am 04.10.2020 um 21:07 schrieb Thorsten Glaser:

> found 971674 0.81
> notfound 971674 0.80
> thanks
>
>> Definitively an issue as log.c (part of the DLL) uses curses
>> making the whole thing fragile.
>
> Jessica, you added this in e4b477ef7e77316c5171d15ac119b5766ee2ed73.
>
> I think we either need to create a variant of the DLL without the
> ncurses dependency and use that during upgrades, or do away with
> it completely.
>
> I personally am in favour of the latter. We don’t need colours in
> logging, especially as they are annoying in logfiles. But I don’t
> want to step on your toes…
>
> … anyway, this is pretty much a blocker for all my development now.

Use the --no-cowdancer-update as suggested at the end of your log file.

IMO this is not a bug in ncurses, libncurses6 and libtinfo6 are unpacked
in the same dpkg run and the former is not guaranteed to work with
different versions of the latter anyway.  No essential programs depend
on libncurses6, so this is not usually a problem.

The only way to "solve" this from the ncurses side would be to merge
libncurses6 and libncursesw6 into libtinfo6, but then people will likely
complain about bloating their chroots.

Cheers,
       Sven

--- End Message ---

Reply via email to