0

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?

synapse
  • 499
  • 2
  • 6
  • 14
  • 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 Answers2

1

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.

dom
  • 65
  • 8
0

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.

Noah
  • 121
  • 2