DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
i am trying to upgrade a Debian system from etch to testing:
Code:
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...
Code:
...
The following packages will be upgraded:
libsnmp-base
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:
/var/cache/apt/archives/libsnmp-base_5.4.1~dfsg-6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hi,
i am trying to upgrade a Debian system from etch to testing:
Code:
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...
Code:
...
The following packages will be upgraded:
libsnmp-base
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:
/var/cache/apt/archives/libsnmp-base_5.4.1~dfsg-6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ideas?
1. Can you post your /etc/apt/sources.lst?
2. Have you tried apt-get dist-upgrade?
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.