LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Closed Thread
  Search this Thread
Old 04-05-2008, 04:45 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
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?
 
Old 04-06-2008, 02:41 PM   #2
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Quote:
Originally Posted by nocturna_gr View Post
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?
 
Old 04-06-2008, 04:12 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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
 
  


Closed 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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
from Etch testing to Etch stable, or to Lenny Perquisitor Debian 7 04-13-2007 03:27 PM
Replace 'etch' with 'testing' in /etc/apt/sources.list to track 'testing' branch? Akhran Debian 3 04-09-2007 10:45 AM
update Debian testing etch RC1 to etch stable cccc Debian 11 01-08-2007 10:02 PM
dist-upgrade from testing to etch ekdya Debian 3 09-14-2006 02:26 AM
apt-get dist-upgrade woes (testing - etch) vharishankar Debian 6 06-13-2005 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration