Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install perl-suid needed for some script I've downloaded and getting the following

$ sudo apt-get install perl-suid
The following packages have unmet dependencies:
  perl-suid: Depends: perl (= 5.10.0-19lenny3) but 5.10.1-17 is to be installed
E: Broken packages

$ cat /etc/apt/sources.list
deb lenny main contrib non-free
deb-src lenny main contrib non-free

Is there a way to fix the package, install it from source or whatever?

share|improve this question
if apt-get update to get the current package list isn't enough to fix your problem, then you'll need to show us your /etc/apt/sources.list so we can tell you which source is wrong. – DerfK May 11 '11 at 13:48

5.10.1-17 came from Debian squeeze, not lenny, so it sounds like you've got a partially upgraded system there. Did you have squeeze in your sources.list in the past, and then remove it?

You'll need to either downgrade perl to the version in lenny with something like:

apt-get install perl=5.10.0-19lenny3

or re-add the squeeze lines to /etc/apt/sources.list. When upgrading your system to squeeze, you might find the release notes of use.

share|improve this answer

Your system is not up-to-date. The current perl in lenny is 5.10.0-19lenny, but you've only got 5.10.1-17 installed. Run "apt-get dist-upgrade", then try again.

share|improve this answer
I really don't want to upgrade all the packages. apt-get upgrade does nothing. – synapse May 17 '11 at 9:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.