Re: emacs 1:30.1+1-5~bpo12+1 should conflict with: elpa-eglot, elpa-project (?)

Sean Whitton <[email protected]> Thu, 26 Jun 2025 12:47:08 +0100
Newsgroups gmane.linux.debian.backports.general
Message-ID <[email protected]>
Hello,

On Wed 25 Jun 2025 at 04:28pm -07, Xiyue Deng wrote:

> Sean Whitton <[email protected]> writes:
>
>> Hello,
>>
>> On Tue 24 Jun 2025 at 04:46pm -07, Xiyue Deng wrote:
>>
>>> As we are working on Bug#1103033, I wonder whether it's possible for
>>> Emacs to replace those eternal packages if the built-in packages are of
>>> higher versions.
>>>
>>> I wonder whether it's doable by using provides/breaks/replaces.  Take
>>> eglot as an example: currently bookworm has 1.9-2.  Say if Emacs has the
>>> following:
>>>
>>> ,----
>>> | Provides: elpa-eglot (= 1.15)
>>> | Breaks: elpa-eglot (<< 1.15)  # Or maybe Conflicts?
>>> | Replaces: elpa-eglot (<< 1.15)
>>> `----
>>>
>>> it would hopefully uninstall elpa-eglot 1.9-2 from bookworm when
>>> upgrading Emacs.
>>
>> Very interesting, something like this might be indeed possible.
>>
>
> Locally tested with a custom built Emacs using Provides/Breaks/Replaces
> for Bookworm backport to be working: it tries to remove elpa-eglot when
> upgrading to the locally built Emacs.
>
> I have updated my branch mentioned in Bug#1103033 accordingly.
> Hopefully upstream will accept the new public interfaces soon so that
> the branch can be considered to be merged.

Right.  Though we'll need to wait for the trixie release unles we want
to upload to experimental, which I'm not sure would achieve much.

-- 
Sean Whitton
signature.asc (application/pgp-signature, 869 B)
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmhdMzwZHHNwd2hpdHRv
bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQA9oD/0Sr160d8Z7S/xOX2M4SrNf
JbyxuTUGctJbWB5fsRRUjJZc0VZMk6aD2QBErvy6D7lk03t0ALR/jrHryg2OnPN8
fbJKabyswnxwy+pCeekdqv70cWKFhg4ZhQtNg421A62dToxt5I7pTqblZbQsQa24
6O1rm0AEXEiGu2N/9Bs/NDXrAv4/vpotDqqR11yKiCU/E4cI14+I03LF7nyWpnKG
NC9EIZiOlqrWqyfZ7/4syXB71UYnrOOY3cyuOswxZZZES+BACibXzjPhD3EkgYze
QiJFGmSssUvRaVuOpv9JstvBvp5kPeRktX54zSwJEp74vLteATwS/cgjNdZmNUps
Y0w7nDLPr52m405andFaMTSIIGTeesoa1pZuBIPr5XagZaPrEP3MRr0SZvPKZ4wd
tXee2SIGGvc49XwUFBn2Uux+1k8NYbuk9JGa5mV6MgbMAb0nIiGPfHxfhISBZRKg
GkYXHcc3YjYzHFSW1q6eXxnZl1BPaMuZhCIuVFWtiObbPnlbteSla5l6s3sS4h/p
ENJ0cWzVLoJGhWnsHE4Mjho3NbD9jJ0S9hKlDo+iNbOgqIKGvepMH4Dl0mq9fppq
1PasmN0tmorjxN8RwZhaua7JH17ayykGFxAIggSEj2b+fs/0FVtw68ysvfBsnzKc
KVx/kLrr/oIvJS7pPGvdHQ==
=LuaR
-----END PGP SIGNATURE-----