On Tue, Jul 03, 2001 at 02:54:02PM -0700, Paul Mackinney wrote: | Disclaimer: Post from blatant newbie. | | I tried der.hans' advice to add the two lines to /etc/apt/sources.list | for woody (these exactly match the woody page on www.debian.org, BTW)
| Unpacking g++-2.95 (from .../g++-2.95_1%3a2.95.4-0.010424_i386.deb) | ... | Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using | .../libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb) ... | perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by | /lib/libdb.so.3) | dpkg: warning - old pre-removal script returned error exit status 1 | dpkg - trying script from the new package instead ... | perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by | /lib/libdb.so.3) | dpkg: error processing | /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb | (--unpack): | subprocess new pre-removal script returned error exit status 1 | dpkg: regarding .../libc6-dev_2.2.3-5_i386.deb containing libc6-dev: | libc6-dev conflicts with libstdc++2.10-dev (<< 1:2.95.2-15) | libstdc++2.10-dev (version 1:2.95.2-13) is installed. | dpkg: error processing | /var/cache/apt/archives/libc6-dev_2.2.3-5_i386.deb (--unpack): | conflicting packages - not installing libc6-dev | Preparing to replace libc6 2.1.3-18 (using .../libc6_2.2.3-5_i386.deb) | ... | Unpacking replacement libc6 ... | Replacing files in old package ldso ... | Replacing files in old package netbase ... | Errors were encountered while processing: | /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb | /var/cache/apt/archives/libc6-dev_2.2.3-5_i386.deb | E: Sub-process /usr/bin/dpkg returned an error code (1) | dog:~# I used 'dist-upgrade', not 'install apt', a couple weeks ago. I got the same sort of errors. I tried the '-f' (force) option (as suggested by some program) and it worked. I then killed it so I could go back to regular uprade mode (after libc and libstdc++ were upgraded) and had no real trouble, except that I occasionally got a Sub-process died error. As suggested, run 'dpkg --reconfigure -a', then kill it because (of course) the configure will fail with only some packages installed. Restart the dist-upgrade to continue where it left off before. Note that I may have been lucky in all of this to not have any disatrous side-effects, and I probably got some error messages along the way that I solved, and now don't remember.o HTH, -D