Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 http://http.us.debian.org/debian/ lenny main contrib non-free
deb-src http://http.us.debian.org/debian/ 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

2 Answers 2

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

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 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.