Debian This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-05-2008, 04:45 AM
|
#1
|
|
Member
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704
Rep:
|
upgrade from etch to testing fails
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?
|
|
|
|
04-06-2008, 02:41 PM
|
#2
|
|
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249
Rep:
|
Quote:
Originally Posted by nocturna_gr
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?
|
|
|
|
04-06-2008, 04:12 PM
|
#3
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
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.
Continue here
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:16 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|