[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905735: emacs-goodies-el: postinst failure due to missing lcomp.el



Hi Sebastian,

On Thu, Aug 09, 2018 at 06:09:29PM -0500, Sebastian P. Luque wrote:
> On Wed, 8 Aug 2018 22:50:16 -0400,
> Nicholas D Steeves <nsteeves@gmail.com> wrote:
> 
> [...]
> 
> > It is highly probable that this bug occurred due to breaking changes
> > introduced with emacsen-common 3.0.2, rather than from removal of this
> > file.
> 
> But I have emacsen-common 2.0.8 installed as per the report.

Exactly.  Upgrading between goodies-old_version (built with 2.0.8) and
goodies-new_version (built with 3.0.2) fails when emacsen-common_3.0.2
is not first installed.  This is why emacs-goodies-el_40.1 now depends
on emacsen-common_3.0.2.

> >> -- System Information: Debian Release: buster/sid APT prefers testing
> >> APT policy: (990, 'testing'), (300, 'unstable') Architecture: amd64
> >> (x86_64) Foreign Architectures: i386
> 
> > I see you're mixing testing and unstable.  Are you willing to test an
> > upgrade to unversioned emacs?  It would be a valuable data-point to
> > solving this emacs-goodies-el bug!  If so, please use the following
> > procedure:
> 
> > # This bit returns goodies to the state it was for Stretch
> > apt purge --autoremove emacs-goodies-el
> > wget https://snapshot.debian.org/archive/debian/20161122T032842Z/pool/main/e/emacs-goodies-el/emacs-goodies-el_36.3_all.deb
> > # this next line might be paranoia
> > apt autoremove --purge
> > # and finally install the package
> > dpkg -i emacs-goodies-el_36.3_all.deb
> 
> > # This installs emacs-goodies-el from stretch, and will pull in the
> > new unversioned emacs.  Please note the list of packages, in case you
> > need to roll back.
> > apt install emacs-goodies-el=40.1
> 
> The last step failed for me:

My apologies, I failed to account for pinning priorities.  If you
wouldn't mind, would you please retry that series again, but instead
of a last step of "apt install emacs-goodies-el=40.1" try "apt install
-t unstable emacs-goodies-el=40.1"?

> ---<--------------------cut here---------------start------------------->---
> Reading package lists... Done
> Building dependency tree       
> 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-goodies-el : Depends: emacsen-common (>= 3.0.2) but 2.0.8 is to be installed
>                     Recommends: elpa-bm but it is not installable
> E: Unable to correct problems, you have held broken packages.
> ---<--------------------cut here---------------end--------------------->---
> 
> But succeeded by letting it choose my default testing version of the
> package (40.0):

That makes sense.  See explanation above.

> ---<--------------------cut here---------------start------------------->---
> $ sudo aptitude safe-upgrade 
> The following packages will be upgraded: 
>   emacs-goodies-el 
> 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/96.4 kB of archives. After unpacking 3,177 kB will be freed.
> Do you want to continue? [Y/n/?] y
> Reading changelogs... Done               
> (Reading database ... 682251 files and directories currently installed.)
> Preparing to unpack .../emacs-goodies-el_40.0_all.deb ...
> Remove emacs-goodies-el for emacs25
> remove/emacs-goodies-el: purging byte-compiled files for emacs25
> Unpacking emacs-goodies-el (40.0) over (36.3) ...
> Processing triggers for install-info (6.5.0.dfsg.1-4) ...
> Setting up emacs-goodies-el (40.0) ...
> Install emacsen-common for emacs25
> emacsen-common: Handling install of emacsen flavor emacs25
> Install emacs-goodies-el for emacs25
> install/emacs-goodies-el: Handling emacs25, logged in /tmp/elc_b2o0sx.log
> Building autoloads for emacs25 in /usr/share/emacs25/site-lisp/emacs-goodies-el
> install/emacs-goodies-el: Deleting /tmp/elc_b2o0sx.log
>                                          
> Current status: 0 (-1) upgradable.
> ---<--------------------cut here---------------end--------------------->---
> 
> Thank you for your quick follow-up and hopefully this is useful.

You're welcome!  Thank you, yes, this has been unexpectedly useful!
If my previous working hypothesis was correct, then upgrading from
goodies 36.3 to 40.0 without emacsen-common-3.0.2 should fail, but
this didn't occur!

Consequently, it would seem that only upgrades from goodies 39.0 to
40.0 without emacsen-common-3.0.2 are affected.  Unfortunately 39.0
isn't doesn't seem to be available anymore, so I'm not sure how to
test this unless someone has a cached version
  https://snapshot.debian.org/binary/emacs-goodies-el

Thank you for confirming emacs-goodies-el stable2testing succeeds.

Cheers,
Nicholas

Attachment: signature.asc
Description: PGP signature


Reply to: