[Pkg-javascript-devel] Bug#986134: acorn: please reintroduce node-acorn as transitional package

Andreas Beckmann anbe at debian.org
Tue Mar 30 10:00:36 BST 2021


Source: acorn
Version: 8.0.5+ds+~cs19.19.27-2
Severity: serious
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + node-buble

Hi,

during a test with piuparts I noticed node-buble fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails.

The upgrade involves switching from the real package node-acorn to the
(versioned) virtual package node-acorn, something that is usually
difficult for apt and in this case apt fails to find a working upgrade
path. Introducing a (real) transitional package node-acorn makes the
whole process smooth.

>From the attached log (scroll to the bottom...):

  Starting 2 pkgProblemResolver with broken count: 2
  Investigating (0) libnode72:amd64 < none -> 12.21.0~dfsg-1 @un uN Ib >
  Broken libnode72:amd64 Breaks on libnode64:amd64 < 10.24.0~dfsg-1~deb10u1 @ii mK >
    Considering libnode64:amd64 -3 as a solution to libnode72:amd64 27
    Added libnode64:amd64 to the remove list
    Fixing libnode72:amd64 via remove of libnode64:amd64
  Investigating (0) node-debbundle-acorn:amd64 < none -> 8.0.5+ds+~cs19.19.27-1 @un uN Ib >
  Broken node-debbundle-acorn:amd64 Breaks on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (< 6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~5.0.0+ds+~1.6.1+ds-2~)
    Considering node-acorn:amd64 0 as a solution to node-debbundle-acorn:amd64 -1
    Holding Back node-debbundle-acorn:amd64 rather than change node-acorn:amd64
  Investigating (1) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (2) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (2) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (3) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (3) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (4) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (4) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (5) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (5) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (6) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (6) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (7) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (7) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (8) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (8) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  Investigating (9) node-magic-string:amd64 < 0.25.2-1 -> 0.25.7-4 @ii umU Ib >
  Broken node-magic-string:amd64 Breaks on node-buble:amd64 < 0.19.4-3 | 0.20.0+~0.19.2-3 @ii umH > (< 0.19.8-7~)
    Considering node-buble:amd64 0 as a solution to node-magic-string:amd64 1
    Upgrading node-buble:amd64 due to Breaks field in node-magic-string:amd64
  Investigating (9) node-buble:amd64 < 0.19.4-3 -> 0.20.0+~0.19.2-3 @ii umU Ib >
  Broken node-buble:amd64 Depends on node-acorn:amd64 < 5.5.3+ds3-3 @ii mK > (>= 6.0~)
    Considering node-debbundle-acorn:amd64 -1 as a solution to node-buble:amd64 0
    Holding Back node-buble:amd64 rather than change node-acorn:amd64
  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:
   node-magic-string : Breaks: node-buble (< 0.19.8-7~) but 0.19.4-3 is to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


cheers,

Andreas
-------------- next part --------------
diff -Nru acorn-8.0.5+ds+~cs19.19.27/debian/changelog acorn-8.0.5+ds+~cs19.19.27/debian/changelog
--- acorn-8.0.5+ds+~cs19.19.27/debian/changelog	2021-01-26 15:04:47.000000000 +0100
+++ acorn-8.0.5+ds+~cs19.19.27/debian/changelog	2021-03-30 10:10:08.000000000 +0200
@@ -1,3 +1,10 @@
+acorn (8.0.5+ds+~cs19.19.27-2) UNRELEASED; urgency=medium
+
+  * Reintroduce node-acorn as transitional package for smooth upgrades from
+    buster.  (Closes: #-1)
+
+ -- Andreas Beckmann <anbe at debian.org>  Tue, 30 Mar 2021 10:10:08 +0200
+
 acorn (8.0.5+ds+~cs19.19.27-1) unstable; urgency=medium
 
   * Team upload
diff -Nru acorn-8.0.5+ds+~cs19.19.27/debian/control acorn-8.0.5+ds+~cs19.19.27/debian/control
--- acorn-8.0.5+ds+~cs19.19.27/debian/control	2021-01-26 15:01:39.000000000 +0100
+++ acorn-8.0.5+ds+~cs19.19.27/debian/control	2021-03-30 10:10:05.000000000 +0200
@@ -58,3 +58,11 @@
  acorn-numeric-separator, acorn-private-methods.
  .
  Node.js is an event-based server-side JavaScript engine.
+
+Package: node-acorn
+Architecture: all
+Depends: node-debbundle-acorn (= ${binary:Version}),
+         ${misc:Depends},
+Description: Transitional dummy package for upgrading to node-debbundle-acorn
+ This is a transitional dummy package to ease upgrading to
+ node-debbundle-acorn. It can be safely removed.
diff -Nru acorn-8.0.5+ds+~cs19.19.27/debian/node-debbundle-acorn.install acorn-8.0.5+ds+~cs19.19.27/debian/node-debbundle-acorn.install
--- acorn-8.0.5+ds+~cs19.19.27/debian/node-debbundle-acorn.install	1970-01-01 01:00:00.000000000 +0100
+++ acorn-8.0.5+ds+~cs19.19.27/debian/node-debbundle-acorn.install	2021-03-30 10:10:08.000000000 +0200
@@ -0,0 +1 @@
+usr/


More information about the Pkg-javascript-devel mailing list