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

Bug#1104178: marked as done (dh-elpa-helper: upgrade fails: cannot overwrite non-directory ... with directory)



Your message dated Wed, 18 Jun 2025 08:17:04 -0300
with message-id <878qlpi9jj.fsf@tethera.net>
and subject line Re: Bug#1104178: dh-elpa-helper: upgrade fails: cannot overwrite non-directory ... with directory
has caused the Debian Bug report #1104178,
regarding dh-elpa-helper: upgrade fails: cannot overwrite non-directory ... with directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1104178: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104178
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: elpa-doom-themes
Version: 2.3.0-3
Severity: normal

Dear Maintainer,

I've tried to upgrade from bookworm to trixie [0] with:

| apt upgrade --without-new-pkgs

This command failed, producing (among others) the following output:

| Install emacsen-common for emacs^M
| emacsen-common: Handling install of emacsen flavor emacs^M
| Install elpa-doom-themes for emacs^M
| install/doom-themes-2.3.0: Handling install of emacsen flavor emacs^M
| install/doom-themes-2.3.0: byte-compiling for emacs^M
| cp: cannot overwrite non-directory './extensions' with directory '/usr/share/emacs/site-lisp/elpa-src/doom-themes-2.3.0/extensions'^M
| cp: cannot overwrite non-directory './themes' with directory '/usr/share/emacs/site-lisp/elpa-src/doom-themes-2.3.0/themes'^M
| ERROR: install script from elpa-doom-themes package failed^M
| ^[[1mdpkg:^[[0m error processing package elpa-doom-themes (--configure):^M
|  installed elpa-doom-themes package post-installation script subprocess returned error exit status 2^M

(To proceed with the upgrade, I've appended `elpa-doom-themes-` to the
failed command to remove the package for the time being.  With this
added, the minimal system upgrade succeeded.)

[0]: https://www.debian.org/releases/trixie/release-notes/upgrading.en.html#minimal-system-upgrade

Regards
itd

--- End Message ---
--- Begin Message ---
Xiyue Deng <manphiz@gmail.com> writes:
>
> Actually when trying to use snapshot.d.o to reproduce the issue, I
> realized that this issue is actually connected to Bug#1106291: when
> upgrading an addon, the addon's helper/remove script should run during
> unpacking to do the clean up, which is supposed to wipe the directory
> under "elpa/", and Bug#1106291 prevented that.  Now emacsen-common/3.0.8
> fixed that erroneous behavior, with all addons' helper/remove scripts
> properly run, this issue should have been prevented as well.  Therefore
> this bug can be considered effectively fixed with Bug#1106291 as well.
> I think it is also desirable that dh-elpa need not concern itself with
> any cleaning up and should leave that to the helper/remove script.
>
> So now I think it's actually fine to close this bug.  I'll leave the
> decision to you and Sean.

It's easy to re-open a bug, so I'm closing it for now, until/unless
some new information comes to light.

d

--- End Message ---

Reply to: