Stefan Kangas writes: > reopen 65475 > thanks > > Eshel Yaron writes: > >>>> FWIW, I get the same non-empty `package-selected-packages` with Emacs >>>> master built from source. Indeed it looks like this issue isn't fully >>>> fixed yet. >>> >>> Even if 610105ee81bbf79f72d4efb46d0caddf8d654cf1 was applied? >> >> Of course. > > Thanks for testing. I'm reopening the bug. Following Eshel's diagnosis, it seems it should be possible to solve the bug by dynamically binding package-alist without the deleted package and then updating the top-level value if everything went right: