unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56497: Installation of emacs28 package fails
@ 2022-07-11 14:05 Emily Seville
  2022-07-11 15:59 ` Michael Heerdegen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Emily Seville @ 2022-07-11 14:05 UTC (permalink / raw)
  To: 56497

[-- Attachment #1: Type: text/plain, Size: 2658 bytes --]

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*"*

[-- Attachment #2: Type: text/html, Size: 4734 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#56497: Installation of emacs28 package fails
  2022-07-11 14:05 bug#56497: Installation of emacs28 package fails Emily Seville
@ 2022-07-11 15:59 ` Michael Heerdegen
  2022-07-11 16:00 ` Robert Pluim
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2022-07-11 15:59 UTC (permalink / raw)
  To: Emily Seville; +Cc: 56497-done

Emily Seville <emilyseville7cf@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#56497: Installation of emacs28 package fails
  2022-07-11 14:05 bug#56497: Installation of emacs28 package fails Emily Seville
  2022-07-11 15:59 ` Michael Heerdegen
@ 2022-07-11 16:00 ` Robert Pluim
  2022-07-11 16:10 ` Stefan Kangas
  2022-07-11 16:13 ` Eli Zaretskii
  3 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2022-07-11 16:00 UTC (permalink / raw)
  To: Emily Seville; +Cc: 56497

>>>>> On Tue, 12 Jul 2022 00:05:44 +1000, Emily Seville <emilyseville7cf@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
-- 





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#56497: Installation of emacs28 package fails
  2022-07-11 14:05 bug#56497: Installation of emacs28 package fails Emily Seville
  2022-07-11 15:59 ` Michael Heerdegen
  2022-07-11 16:00 ` Robert Pluim
@ 2022-07-11 16:10 ` Stefan Kangas
  2022-07-11 16:13 ` Eli Zaretskii
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2022-07-11 16:10 UTC (permalink / raw)
  To: Emily Seville, 56497

tags 56497 + notabug
close 56497
thanks

Emily Seville <emilyseville7cf@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#56497: Installation of emacs28 package fails
  2022-07-11 14:05 bug#56497: Installation of emacs28 package fails Emily Seville
                   ` (2 preceding siblings ...)
  2022-07-11 16:10 ` Stefan Kangas
@ 2022-07-11 16:13 ` Eli Zaretskii
  3 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2022-07-11 16:13 UTC (permalink / raw)
  To: Emily Seville; +Cc: 56497

> From: Emily Seville <emilyseville7cf@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-11 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 14:05 bug#56497: Installation of emacs28 package fails Emily Seville
2022-07-11 15:59 ` Michael Heerdegen
2022-07-11 16:00 ` Robert Pluim
2022-07-11 16:10 ` Stefan Kangas
2022-07-11 16:13 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).