i am trying to upgrade a Debian system from etch to testing:
36163:~# uname -ar
Linux 36163.vs.webtropia.com 2.6.9-023stab044.11-entnosplit #1 SMP Sun Sep 30 12:28:38 MSD 2007 i686 GNU/Linux
However, it fails with the following output. Note: all other necessary packages have been installed during the previous "apt-get upgrade"; now -during the second "apt-get upgrade"- "apt" attempts to upgrade only the problematic "libsnmp-base" package...
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 346 not upgraded.
95 not fully installed or removed.
Need to get 0B/1368kB of archives.
After unpacking 455kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 41517 files and directories currently installed.)
Preparing to replace libsnmp-base 5.2.3-7etch2 (using .../libsnmp-base_5.4.1~dfsg-6_all.deb) ...
Unpacking replacement libsnmp-base ...
dpkg: error processing /var/cache/apt/archives/libsnmp-base_5.4.1~dfsg-6_all.deb (--unpack):
trying to overwrite `/usr/share/man/man1/net-snmp-config.1.gz', which is also in package libsnmp9-dev
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)