[Aptitude-devel] Bug#701946: aptitude: Internal error: no filename for <package>:amd64 after a failed install

Daniel Hartwig mandyke at gmail.com
Sun Mar 3 08:45:31 UTC 2013

On 3 March 2013 11:04, Daniel Dickinson <cshore at neomailbox.net> wrote:
> On 02/03/13 02:41 AM, Daniel Hartwig wrote:
>> On 2 March 2013 09:57, Daniel Dickinson <cshore at neomailbox.net> wrote:
>>> This happens with any of the packages I have tried to reinstall. For
>>> example, if ccrypt is already installed, the emacs23 amd64 23.4+1-4 will
>>> fail to install.  If you subsequently attempt a reinstall you will see
>>> "E:  Internal error, No file name for emacs23:amd64".
>> Is the issue with install, or reinstall?
> Reinstall (that is using L in aptitude, after the install fails).

Right.  So the situation, as I understand it, is this:

Starting with emacs23 _not installed_, you install ccrypt.  Then you
attempt to install emacs23 and it fails due to some error you have not
specified (but would be very helpful to know).  At this point, you
attempt to _reinstall_ emacs23, which fails with the internal error as
stated above.

Using reinstall — rather than install — on the second attempt suggests
that the package emacs23 is in a state similar to gcc-4.7-base in
#670920.  That is, half-installed, half-configured, or similar.

I have retried this scenario on a local chroot and not encountered any
problems installing emacs23 after ccrypt.

More information about the Aptitude-devel mailing list