Discussion:
Debian Chroot and emacs-nox
(too old to reply)
Jeffrey Walton
2022-11-28 20:40:01 UTC
Permalink
Hi Everyone,

I test Debian 68k in a chroot. I am having trouble installing emacs:

ebian-chroot:/# apt install emacs-nox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
emacs-nox : Depends: emacs-bin-common (= 1:28.2+1-3) but it is not
going to be installed
Depends: emacs-common (= 1:28.2+1-3) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.

Does anyone know how to install emacs-nox on this machine?

Thanks in advance.
Brian Morris
2022-11-28 21:00:02 UTC
Permalink
Post by Jeffrey Walton
emacs-nox : Depends: emacs-bin-common (= 1:28.2+1-3) but it is not
going to be installed
Depends: emacs-common (= 1:28.2+1-3) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone know how to install emacs-nox
Perhaps your setting for apt preclude installing depends ? Please try apt
install the dependa indicated
Jeffrey Walton
2022-11-28 21:20:02 UTC
Permalink
Post by Jeffrey Walton
emacs-nox : Depends: emacs-bin-common (= 1:28.2+1-3) but it is not
going to be installed
Depends: emacs-common (= 1:28.2+1-3) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone know how to install emacs-nox
Perhaps your setting for apt preclude installing depends ? Please try apt install the dependa indicated
Thanks Brian.

How do I solve the problem of unmet dependencies in emacs-bin-common
and emacs-common?

Jeff
Nelson H. F. Beebe
2022-11-28 21:30:01 UTC
Permalink
Brian Morris <***@gmail.com> comments on Mon, 28 Nov 2022
12:50:07 -0800 about a report from Jeffrey Walton <***@gmail.com>
about the failure to install emacs-nox on Debian on M68K.

I too have seen that, and just did a fresh try:

# apt-get install mailutils emacs-common emacs-bin-common
...
The following packages have unmet dependencies:
emacs-bin-common : Depends: emacs-common (= 1:28.2+1-3) but
1:28.2+1-6 is to be installed

That looks to me like a messed-up dependency chain in the apt package
system on this platform, using requirements of exact version matches,
rather than greater-than-or-equal version checks.

Packaging systems really do need consistency checkers, so that broken
dependencies are caught before packages are made available to end
users. I have seen this happen on numerous flavors of Unix-family
O/Ses: it is not unique to Debian on M68K.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah -
- Department of Mathematics, 110 LCB Internet e-mail: ***@math.utah.edu -
- 155 S 1400 E RM 233 ***@acm.org ***@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
John Paul Adrian Glaubitz
2022-11-28 21:50:01 UTC
Permalink
Hello Jeffrey!
Post by Jeffrey Walton
ebian-chroot:/# apt install emacs-nox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
emacs-nox : Depends: emacs-bin-common (= 1:28.2+1-3) but it is not
going to be installed
Depends: emacs-common (= 1:28.2+1-3) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone know how to install emacs-nox on this machine?
You have run into a situation that I have decribed in this older mailing list
post on the debian-sparc mailing list in detail [1].

The issue will be resolved once I have fixed the build failure (FTBFS) of the
subversion package on m68k.

In the meantime, you can fetch the emacs-common package in the matching version
from snapshot.debian.org [2].

Adrian
Post by Jeffrey Walton
[1] https://lists.debian.org/debian-sparc/2017/12/msg00060.html
[2] http://snapshot.debian.org/package/emacs/1%3A28.2%2B1-3/#emacs-common_1:3a:28.2:2b:1-3
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Loading...