
5th July 2006, 19:16
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
|
|
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?
|

6th July 2006, 13:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
What's in /etc/apt/sources.list? Does /etc/apt/preferences exist? If so, what's in it?
|

6th July 2006, 16:26
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
|
|
/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
|

7th July 2006, 13:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Looks ok. Did you change /etc/apt/sources.list recently, or has it always been like this?
Please run
and try again.
|

7th July 2006, 22:59
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
|
|
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:~#
|

8th July 2006, 13:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
What about this question?
Quote:
|
Did you change /etc/apt/sources.list recently, or has it always been like this?
|
|

8th July 2006, 15:45
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 377
Thanks: 3
Thanked 2 Times in 2 Posts
|
|
No, it's been like that since installation of Debian & ISPconfig.
Anyway, I regulary run apt-get update & apt-get upgrade
|

9th July 2006, 15:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
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 +2. The time now is 03:44.
|
Recent comments
19 hours 11 min ago
1 day 27 min ago
1 day 38 min ago
1 day 46 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 8 hours ago