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

Re: postinst problems updating ssh in debian 2.2r6 - my error.



My error.  Dum-dum.

I had installed (some time ago) a non-debian ssh in /usr/local, and it was in root's PATH *before*
anything else.  The strange "ssh-keygen" was coming from there.  When I changed root's PATH, 
bingo! a normal install of the ssh package.

Thanks for the reply, Matthew.  It got me looking and thinking.

Doug.


On Tue, Jul 23, 2002 at 12:15:15AM -0300, Douglas Guptill wrote:
> Hi:
> 
> (I copied this header from the list archive, 'cause I was not subscribed.  Am now subscribed.)
> 
> > Douglas Guptill <guptilld@accesswave.ca> writes:
> > 
> > > postinst for that latest ssh runs ssh-keygen with -t option.
> > > ssh-keygen (at least the one I have) does not seem to support that option.
> > 
> > the postinst should run the ssh-keygen from the new package, so I'm
> > now quite sure why this isn't working.
> > 
> > What happens (i.e. post the output to the list, not to me) if you do
> > dpkg -i on the new ssh package?
> 
> Sorry, I guess I didn't give much information.
> 
> Here is my sources.list, a record of the dselect session, and dpkg -i output
> (which appears to be much the same as the dselect session)
> 
> ---------------------- begin /etc/apt/sources.list -----------------------------
> # Use for a local mirror - remove the ftp1 http lines for the bits
> # your mirror contains.
> # deb file:/your/mirror/here/debian stable main contrib non-free
> # See sources.list(5) for more information, especial
> # Remember that you can only use http, ftp or file URIs
> 
> # the main distribution............................
> # have changed "stable" to "potato" as the release of "woody" approaches.
> # deb http://http.us.debian.org/debian stable main contrib non-free
> 
> deb http://http.us.debian.org/debian potato main contrib non-free
> 
> # non-US ...........................
> # from http://www.debian.org/misc/README.non-US (2002jan12) 
> # deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
> # deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
> # but I want to specify the release, so change "stable" to "potato"
> # deb-src http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
> 
> deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
> 
> # instructions for upgrading from 2.1 to 2.2 say to put this in...
> # deb http://non-US.debian.org/debian-non-US potato/non-US main contrib non-free
> 
> # canadian mirrors
> # http://mirror.direct.ca/linux/debian-non-US/
> # http://debian.yorku.ca/debian/non-US/
> # http://debian.oanet.com/debian-non-US/
> # http://debian.pipcom.com/debian-non-US/
> 
> # security ..............................
> # not sure about these next two lines...
> 
> deb http://security.debian.org/debian-security potato/updates main contrib non-free
> deb http://security.debian.org potato/updates main contrib non-free
> 
> # this from a debian e-mail...so the line above should be ok
> # deb http://security.debian.org/ stable/updates main
> 
> # this used to work, but now (Jun 2002) produces 404 errors
> # deb http://security.debian.org/debian-non-US potato/non-US main contrib non-free
> 
> 
> # For the ArgoUML package...................
> deb http://debian.sente.pl ./
> ----------------------  end  /etc/apt/sources.list ---------------------------
> 
> 
> ---------------------- begin dselect output --------------------
> u181n87:~# dselect
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   ssh ssh-askpass-gnome 
> 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/677kB of archives. After unpacking 1498kB will be used.
> Do you want to continue? [Y/n] 
> Configuring packages ...      
> (Reading database ... 38286 files and directories currently installed.)
> Unpacking ssh (from .../ssh_1%3a3.4p1-0.0potato1_i386.deb) ...
> Unpacking ssh-askpass-gnome (from .../ssh-askpass-gnome_1%3a3.4p1-0.0potato1_i386.deb) ...
> Setting up ssh (3.4p1-0.0potato1) ...
> Creating SSH1 keyssh-keygen: invalid option -- t
> dpkg: error processing ssh (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of ssh-askpass-gnome:
>  ssh-askpass-gnome depends on ssh (>= 1:1.2pre7-4); however:
>   Package ssh is not configured yet.
> dpkg: error processing ssh-askpass-gnome (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  ssh
>  ssh-askpass-gnome
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Some errors occurred while unpacking. I'm going to configure the
> packages that were installed. This may result in duplicate errors
> or errors caused by missing dependencies. This is OK, only the errors
> above this message are important. Please fix them and run [I]nstall again
> Press enter to continue.
> 
> Setting up ssh (3.4p1-0.0potato1) ...
> Creating SSH1 keyssh-keygen: invalid option -- t
> dpkg: error processing ssh (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of ssh-askpass-gnome:
>  ssh-askpass-gnome depends on ssh (>= 1:1.2pre7-4); however:
>   Package ssh is not configured yet.
> dpkg: error processing ssh-askpass-gnome (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  ssh
>  ssh-askpass-gnome
> 
> installation script returned error exit status 100.
> Press <enter> to continue.
> ----------------------  end dselect output --------------------
> 
> --------------- begin dpkg -i output -------------------------
> 
> u181n87:/etc/init.d# dpkg -i /var/cache/apt/archives/ssh_1%3a3.4p1-0.0potato1_i386.deb
> (Reading database ... 38332 files and directories currently installed.)
> Preparing to replace ssh 1:3.4p1-0.0potato1 (using .../ssh_1%3a3.4p1-0.0potato1_i386.deb) ...
> Unpacking replacement ssh ...
> Setting up ssh (3.4p1-0.0potato1) ...
> Creating SSH1 keyssh-keygen: invalid option -- t
> dpkg: error processing ssh (--install):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  ssh
> u181n87:/etc/init.d# 
> ---------------  end  dpkg -i output -------------------------
> 
> 
> On Mon, Jul 01, 2002 at 09:20:19PM -0300, Douglas Guptill wrote:
> > Hi:
> > 
> > postinst for that latest ssh runs ssh-keygen with -t option.
> > ssh-keygen (at least the one I have) does not seem to support that option.
> > 
> > --------------------------------------------------
> > dguptill@SharpAngus:~$ ls -l $(which ssh-keygen)
> > -rwxr-xr-x    1 root     root        30204 Dec  4  2001 /usr/bin/ssh-keygen
> > --------------------------------------------------
> > 
> > My 2.2r6 systems have ssh version 1.2.3-9.4.
> > When I  "dselect/update", the new available version is 3.4p1-0.0po(tato?)
> > So I did the normal, and said update.
> > The postinst script fails.
> > 
> > HTH,
> > Doug.
> > -- 
> > ---------1--------2--------3---------4---------5---------6---------7--
> > Douglas Guptill                    902-461-9749
> > 18 Lynn Dr.                        guptilld@accesswave.ca
> > Dartmouth, N.S.                    http://www.accesswave.ca/~guptilld
> > B2Y 3V9, Canada  
> > 
> 
> -- 
> ---------1--------2--------3---------4---------5---------6---------7--
> Douglas Guptill                    902-461-9749
> 18 Lynn Dr.                        guptilld@accesswave.ca
> Dartmouth, N.S.                    http://www.accesswave.ca/~guptilld
> B2Y 3V9, Canada  
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ssh-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
---------1--------2--------3---------4---------5---------6---------7--
Douglas Guptill                    902-461-9749
18 Lynn Dr.                        guptilld@accesswave.ca
Dartmouth, N.S.                    http://www.accesswave.ca/~guptilld
B2Y 3V9, Canada  


-- 
To UNSUBSCRIBE, email to debian-ssh-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: