Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th July 2006, 19:16
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
Default Problem with perl in Debian Sarge

Hi,

I have this problem:

The following packages have unmet dependencies:
libsnmp4.2-dev: Conflicts: libsnmp-dev libsnmp5-dev: Conflicts: libsnmp-dev

what should I do about it? How can I reslove that?
__________________
Nenad Bulatovic

http://www.cvecara-neven.com
Reply With Quote
  #2  
Old 6th July 2006, 13:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

What's in /etc/apt/sources.list? Does /etc/apt/preferences exist? If so, what's in it?
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 6th July 2006, 16:26
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
Default

/etc/apt/sources.list

Code:
#deb file:///cdrom/ sarge main

deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main
/etc/apt/preferences

does not exist
__________________
Nenad Bulatovic

http://www.cvecara-neven.com
Reply With Quote
  #4  
Old 7th July 2006, 13:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Looks ok. Did you change /etc/apt/sources.list recently, or has it always been like this?
Please run
Code:
apt-get update
and try again.
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 7th July 2006, 22:59
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
Default

No, it is happening again

Code:
server201:~# apt-get install libsnmp*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libsnmp5-dev for regex 'libsnmp*'
Note, selecting libsnmpkit2c102 for regex 'libsnmp*'
Note, selecting libsnmp-mib-compiler-perl for regex 'libsnmp*'
Note, selecting libsnmpkit-dev for regex 'libsnmp*'
Note, selecting libsnmp for regex 'libsnmp*'
Note, selecting libsnmp-base instead of libsnmp
Note, selecting libsnmpkit1 for regex 'libsnmp*'
Note, selecting libsnmpkit2 for regex 'libsnmp*'
Note, selecting libsnmp4.2 for regex 'libsnmp*'
Note, selecting libsnmp4.2-dev for regex 'libsnmp*'
Note, selecting libsnmp-perl for regex 'libsnmp*'
Note, selecting libsnmp-dev for regex 'libsnmp*'
Note, selecting libsnmp-base for regex 'libsnmp*'
Note, selecting libsnmp5 for regex 'libsnmp*'
Note, selecting libsnmp1.4-java for regex 'libsnmp*'
Note, selecting libsnmp-session-perl for regex 'libsnmp*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libsnmp4.2-dev: Conflicts: libsnmp-dev
  libsnmp5-dev: Conflicts: libsnmp-dev
E: Broken packages
server201:~#
__________________
Nenad Bulatovic

http://www.cvecara-neven.com
Reply With Quote
  #6  
Old 8th July 2006, 13:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

What about this question?

Quote:
Did you change /etc/apt/sources.list recently, or has it always been like this?
__________________
Falko
--
Follow me on:
Reply With Quote
  #7  
Old 8th July 2006, 15:45
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
Default

No, it's been like that since installation of Debian & ISPconfig.
Anyway, I regulary run apt-get update & apt-get upgrade
__________________
Nenad Bulatovic

http://www.cvecara-neven.com
Reply With Quote
  #8  
Old 9th July 2006, 15:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Now I see that you're using a wildcard:
Code:
apt-get install libsnmp*
It then tries to install libsnmp5-dev and libsnmp4.2-dev at the same time, but of course these packages are conflicting. Please specify the exact package names when you use apt-get instead of using wildcards.
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Sarge 3.1 and MYSQL problem SteveBennett HOWTO-Related Questions 1 24th May 2006 19:09
Debian Sarge memory release problem luxpops Installation/Configuration 7 22nd April 2006 16:50
Debian Sarge 3.1 memory release problem luxpops Technical 1 19th April 2006 15:41
Problem on Debian Sarge Perfect Setup daniel_rodriguez HOWTO-Related Questions 4 12th January 2006 15:10
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 03:44.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th