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

Re: apt problem



On Fri, Sep 15, 2017 at 08:15:47PM +0000, Glenn English wrote:
> dpkg: dependency problems prevent configuration of expect:
>  expect depends on tcl-expect; however:
>   Package tcl-expect:amd64 is not configured yet.

Remember when I said:

 Show the versions of any other packages that are related to the problem
 (tcl8.6 and so on).

In this case, the "other package" is tcl-expect.

> dpkg: error processing package expect (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  tcl-expect:amd64
>  expect
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Failed to perform requested operation on package.  Trying to recover:
> dpkg: dependency problems prevent configuration of expect:
>  expect depends on tcl-expect; however:
>   Package tcl-expect:amd64 is not configured yet.
> 
> dpkg: error processing package expect (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  expect
> Press Return to continue.

I don't see anywhere that it tries to configure tcl-expect.  So the
obvious first thing to try is:  dpkg --configure -a

If that doesn't fix it, then hopefully it will give some useful error
explaining exactly what broke.  Or at least, which *script* it was
trying to run, which failed without giving a useful error.  From there,
you can start tearing apart the script (postinst or whatever) to see
what's wrong with it.

With any luck, that won't be necessary, and the dpkg --configure -a
will simply fix it.


Reply to: