GNU bug report logs - #56497
Installation of emacs28 package fails

Previous Next

Package: emacs;

Reported by: Emily Seville <emilyseville7cf <at> gmail.com>

Date: Mon, 11 Jul 2022 15:38:01 UTC

Severity: normal

Tags: notabug

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56497 in the body.
You can then email your comments to 56497 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56497; Package emacs. (Mon, 11 Jul 2022 15:38:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Emily Seville <emilyseville7cf <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 11 Jul 2022 15:38:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Emily Seville <emilyseville7cf <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Installation of emacs28 package fails
Date: Tue, 12 Jul 2022 00:05:44 +1000
[Message part 1 (text/plain, inline)]
I've uninstalled emacs package with Emacs 27.1 via sudo apt purge emacs
before installation of new Emacs
<https://launchpad.net/~kelleyk/+archive/ubuntu/emacs>. After that I've
done sudo add-apt-repository ppa:kelleyk/emacs && sudo apt update. At the
and I ran sudo apt install emacs28 and obtain the following error (Does it
mean that package is broken?):

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra emacs-bin-common emacs-common emacs-el
emacs-gtk gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0
libjs-modernizr
  libjs-requirejs libqt5positioning5 libqt5webchannel5
libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5
libre2-9 ne-doc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  emacs28-common
The following NEW packages will be installed:
  emacs28 emacs28-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.3 MB of archives.
After this operation, 99.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main
amd64 emacs28-common all 28.1~1.git5a223c7f2e-kk3+22.04 [2,466 B]
Get:2 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main
amd64 emacs28 amd64 28.1~1.git5a223c7f2e-kk3+22.04 [24.3 MB]
Fetched 24.3 MB in 24s (1,014 kB/s)
Selecting previously unselected package emacs28-common.
(Reading database ... 306224 files and directories currently installed.)
Preparing to unpack
.../emacs28-common_28.1~1.git5a223c7f2e-kk3+22.04_all.deb ...
Unpacking emacs28-common (28.1~1.git5a223c7f2e-kk3+22.04) ...
Selecting previously unselected package emacs28.
Preparing to unpack .../emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb ...
Unpacking emacs28 (28.1~1.git5a223c7f2e-kk3+22.04) ...
dpkg: error processing archive
/var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb
(--unpack):
 trying to overwrite '/usr/include/emacs-module.h', which is also in
package emacs-common 1:27.1+1-3ubuntu5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What is the best way to fix it? I don't want to mess up my OS.


-- 
*# Best regards, Emily Grace Seville.*
*[contacts]*
site *=* "*https://github.com/EmilySeville7cfg
<https://github.com/EmilySeville7cfg>"*
phone *=* "+79245201384*"*
[Message part 2 (text/html, inline)]

Reply sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
You have taken responsibility. (Mon, 11 Jul 2022 16:00:02 GMT) Full text and rfc822 format available.

Notification sent to Emily Seville <emilyseville7cf <at> gmail.com>:
bug acknowledged by developer. (Mon, 11 Jul 2022 16:00:02 GMT) Full text and rfc822 format available.

Message #10 received at 56497-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Emily Seville <emilyseville7cf <at> gmail.com>
Cc: 56497-done <at> debbugs.gnu.org
Subject: Re: bug#56497: Installation of emacs28 package fails
Date: Mon, 11 Jul 2022 17:59:43 +0200
Emily Seville <emilyseville7cf <at> gmail.com> writes:

> I've uninstalled emacs package with Emacs 27.1 via sudo apt purge emacs before
> installation of new Emacs. After that I've done sudo add-apt-repository
> ppa:kelleyk/emacs && sudo apt update. At the and I ran sudo apt install
> emacs28 and obtain the following error (Does it mean that package is
> broken?):

Since this is not a problem we can fix in Emacs, I am closing this one.

> trying to overwrite '/usr/include/emacs-module.h', which is also in
> package emacs-common 1:27.1+1-3ubuntu5

Yes, looks like the package you are trying to install conflicts with
"emacs-common" but that package doesn't specify that.  I suggest to
contact the package author.  You could also try to uninstall all emacs
related packages before installing that one.

For anything else please ask for help in a help group (help-gnu-emacs,
or something about Ubuntu).

HTH,

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56497; Package emacs. (Mon, 11 Jul 2022 16:01:01 GMT) Full text and rfc822 format available.

Message #13 received at 56497 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Emily Seville <emilyseville7cf <at> gmail.com>
Cc: 56497 <at> debbugs.gnu.org
Subject: Re: bug#56497: Installation of emacs28 package fails
Date: Mon, 11 Jul 2022 18:00:44 +0200
>>>>> On Tue, 12 Jul 2022 00:05:44 +1000, Emily Seville <emilyseville7cf <at> gmail.com> said:

    Emily> I've uninstalled emacs package with Emacs 27.1 via sudo apt purge emacs
    Emily> before installation of new Emacs
    Emily> <https://launchpad.net/~kelleyk/+archive/ubuntu/emacs>. After that I've
    Emily> done sudo add-apt-repository ppa:kelleyk/emacs && sudo apt update. At the
    Emily> and I ran sudo apt install emacs28 and obtain the following error (Does it
    Emily> mean that package is broken?):

    Emily> Reading package lists... Done
    Emily> Building dependency tree... Done
    Emily> Reading state information... Done
    Emily> The following packages were automatically installed and are no longer required:
    Emily>   chromium-codecs-ffmpeg-extra emacs-bin-common emacs-common emacs-el
    Emily> emacs-gtk gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0
    Emily> libjs-modernizr
    Emily>   libjs-requirejs libqt5positioning5 libqt5webchannel5
    Emily> libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5
    Emily> libre2-9 ne-doc
    Emily> Use 'sudo apt autoremove' to remove them.
    Emily> The following additional packages will be installed:
    Emily>   emacs28-common
    Emily> The following NEW packages will be installed:
    Emily>   emacs28 emacs28-common
    Emily> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Emily> Need to get 24.3 MB of archives.
    Emily> After this operation, 99.7 MB of additional disk space will be used.
    Emily> Do you want to continue? [Y/n] y
    Emily> Get:1 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main
    Emily> amd64 emacs28-common all 28.1~1.git5a223c7f2e-kk3+22.04 [2,466 B]
    Emily> Get:2 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main
    Emily> amd64 emacs28 amd64 28.1~1.git5a223c7f2e-kk3+22.04 [24.3 MB]
    Emily> Fetched 24.3 MB in 24s (1,014 kB/s)
    Emily> Selecting previously unselected package emacs28-common.
    Emily> (Reading database ... 306224 files and directories currently installed.)
    Emily> Preparing to unpack
    Emily> .../emacs28-common_28.1~1.git5a223c7f2e-kk3+22.04_all.deb ...
    Emily> Unpacking emacs28-common (28.1~1.git5a223c7f2e-kk3+22.04) ...
    Emily> Selecting previously unselected package emacs28.
    Emily> Preparing to unpack .../emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb ...
    Emily> Unpacking emacs28 (28.1~1.git5a223c7f2e-kk3+22.04) ...
    Emily> dpkg: error processing archive
    Emily> /var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb
    Emily> (--unpack):
    Emily>  trying to overwrite '/usr/include/emacs-module.h', which is also in
    Emily> package emacs-common 1:27.1+1-3ubuntu5
    Emily> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Emily> Errors were encountered while processing:
    Emily>  /var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb
    Emily> E: Sub-process /usr/bin/dpkg returned an error code (1)

This isnʼt really an emacs issue, but I suspect if you do ʼsudo apt
autoremoveʼ before you try to install emacs-28 that the conflicting
emacs-common package will get uninstalled.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56497; Package emacs. (Mon, 11 Jul 2022 16:11:02 GMT) Full text and rfc822 format available.

Message #16 received at 56497 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Emily Seville <emilyseville7cf <at> gmail.com>, 56497 <at> debbugs.gnu.org
Subject: Re: bug#56497: Installation of emacs28 package fails
Date: Mon, 11 Jul 2022 09:10:42 -0700
tags 56497 + notabug
close 56497
thanks

Emily Seville <emilyseville7cf <at> gmail.com> writes:

> I've uninstalled emacs package with Emacs 27.1 via sudo apt purge emacs
> before installation of new Emacs
> <https://launchpad.net/~kelleyk/+archive/ubuntu/emacs>. After that I've
> done sudo add-apt-repository ppa:kelleyk/emacs && sudo apt update. At the
> and I ran sudo apt install emacs28 and obtain the following error (Does it
> mean that package is broken?):

This is a bug in the Ubuntu package, and should be reported to Ubuntu.
Or, I guess it has something to do with "ppa:kelleyk/emacs", so contact
whoever is in charge of that.

In any case, this is not a bug in Emacs.  I'm therefore closing this bug
report.




Added tag(s) notabug. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Jul 2022 16:11:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56497; Package emacs. (Mon, 11 Jul 2022 16:14:02 GMT) Full text and rfc822 format available.

Message #21 received at 56497 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Emily Seville <emilyseville7cf <at> gmail.com>
Cc: 56497 <at> debbugs.gnu.org
Subject: Re: bug#56497: Installation of emacs28 package fails
Date: Mon, 11 Jul 2022 19:13:27 +0300
> From: Emily Seville <emilyseville7cf <at> gmail.com>
> Date: Tue, 12 Jul 2022 00:05:44 +1000
> 
> I've uninstalled emacs package with Emacs 27.1 via sudo apt purge emacs before installation of new
> Emacs. After that I've done sudo add-apt-repository ppa:kelleyk/emacs && sudo apt
> update. At the and I ran sudo apt install emacs28 and obtain the following error (Does it mean that
> package is broken?):
> 
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following packages were automatically installed and are no longer required:
>   chromium-codecs-ffmpeg-extra emacs-bin-common emacs-common emacs-el emacs-gtk gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0 libjs-modernizr
>   libjs-requirejs libqt5positioning5 libqt5webchannel5 libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5 libre2-9 ne-doc
> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>   emacs28-common
> The following NEW packages will be installed:
>   emacs28 emacs28-common
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 24.3 MB of archives.
> After this operation, 99.7 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main amd64 emacs28-common all 28.1~1.git5a223c7f2e-kk3+22.04 [2,466 B]
> Get:2 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy/main amd64 emacs28 amd64 28.1~1.git5a223c7f2e-kk3+22.04 [24.3 MB]
> Fetched 24.3 MB in 24s (1,014 kB/s)                                                                                                              
> Selecting previously unselected package emacs28-common.
> (Reading database ... 306224 files and directories currently installed.)
> Preparing to unpack .../emacs28-common_28.1~1.git5a223c7f2e-kk3+22.04_all.deb ...
> Unpacking emacs28-common (28.1~1.git5a223c7f2e-kk3+22.04) ...
> Selecting previously unselected package emacs28.
> Preparing to unpack .../emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb ...
> Unpacking emacs28 (28.1~1.git5a223c7f2e-kk3+22.04) ...
> dpkg: error processing archive /var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb (--unpack):
>  trying to overwrite '/usr/include/emacs-module.h', which is also in package emacs-common 1:27.1+1-3ubuntu5
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/emacs28_28.1~1.git5a223c7f2e-kk3+22.04_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> What is the best way to fix it? I don't want to mess up my OS.

You seem to be using the Ubuntu installation scripts, so please report
this to the folks that are preparing the Ubuntu Emacs packages.
That's not us.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Aug 2022 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.