PDA

View Full Version : Problem with perl in Debian Sarge


nenad
5th July 2006, 19:16
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?

falko
6th July 2006, 13:47
What's in /etc/apt/sources.list? Does /etc/apt/preferences exist? If so, what's in it?

nenad
6th July 2006, 16:26
/etc/apt/sources.list

#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

falko
7th July 2006, 13:39
Looks ok. Did you change /etc/apt/sources.list recently, or has it always been like this?
Please run
apt-get update and try again.

nenad
7th July 2006, 22:59
No, it is happening again :(

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:~#

falko
8th July 2006, 13:48
What about this question?

Did you change /etc/apt/sources.list recently, or has it always been like this?

nenad
8th July 2006, 15:45
No, it's been like that since installation of Debian & ISPconfig.
Anyway, I regulary run apt-get update & apt-get upgrade

falko
9th July 2006, 15:04
Now I see that you're using a wildcard:
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.