Wichert wrote: > While doing "dpkg -iGOEB *deb" in a directory I noticed this: > > Preparing to replace ssh 1.2.26-1 (using ssh_1.2.26-1.2.deb) ... > Stopping Secure Shell server: sshd. > Unpacking replacement ssh ... > Preparing to replace ssh 1.2.26-1.2 (using ssh_1.2.26-1.deb) ... > Unpacking replacement ssh ... > > After unpacking 1.2.26-1.2, going back to 1.2.25-1 is effectively a > downgrade which replaces 1.2.26-1.2 again.
"-G" means "don't install a package if a newer version of the same package is already installed" (dpkg(8) man page). At the point when ssh -1.2 is replaced, it isn't yet installed, only unpacked. So it appears that dpkg is obeying the letter of the law. Perhaps it is violating the spirit of something, but this is an unusual sort of situation, don't you think? -- Thomas

