Jonathan Bringhurst on 16 May 2008 09:17:10 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OpenSSH on Debian advice needed


It looks like a package that your system is using has been replaced
with another and debian is too dumb (not in a bad way) to recognize
it. You'll probably end up having to remove a small tree of packages
(so you can then install the replacements) so the deps work out.
Aptitude is often useful at this (as Mike pointed out), just make sure
you read everything that aptitude says it's going to do. In rare
cases, aptitude will just go ahead and start removing necessary files
and may prevent your system from booting. So I just want to really
stress that you need to read what it says. You shouldn't just keep
agreeing with it when it says to remove something without thinking
first.

-Jon

On Fri, May 16, 2008 at 11:02 AM, Michael Leone <turgon@mike-leone.com> wrote:
> On Fri, May 16, 2008 at 10:20 AM, Ezra Wolfe <ewolfe@dlc-solutions.com> wrote:
>> Hi all,
>>
>> I patched some of our Debian servers last night in response to the OpenSSH
>> issue (http://www.debian.org/security/2008/dsa-1571) without any problems.
>>
>> However, one of our servers complained when I ran the update:
>>
>> XXX:~# apt-get install ssh
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> You might want to run 'apt-get -f install' to correct these:
>> The following packages have unmet dependencies:
>>   kernel-image-2.4.27-2-386: Depends: initrd-tools (>= 0.1.48) but it is not
>> going to be installed
>>   ssh: Depends: openssh-client but it is not going to be installed
>>        Depends: openssh-server but it is not going to be installed
>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
>> a solution).
>> I've read a few things on the web about dealing with unmet dependencies and
>> none of them inspire a whole lot of confidence for me just to use the -f
>> option.
>>
>> Does anyone have any advice on the best way to upgrade this package?
>
> I'd use aptitude instead of apt-get, and I'd manually tell it to
> install what it says it wants:
>
> aptitude install openssh-server openssh-client ssh initrd-tools
>
> I'd start there.
>
> --
> Michael J. Leone
> <mailto:turgon@mike-leone.com>
>
> PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
> Photo Gallery: <http://www.flickr.com/photos/mikeleonephotos>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug