[PKG-Openstack-devel] Bug#881743: openstack-dashboard: fails to upgrade from 'stretch': Couldn't find anything to import: /horizon/lib/roboto_fontface/css/roboto-fontface.scss

Andreas Beckmann anbe at debian.org
Tue Nov 14 17:42:37 UTC 2017


Package: openstack-dashboard
Version: 3:12.0.0-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' fails.

This problem was observed during a test that does 'apt-get upgrade' first,
but since that already failed, the subsequent 'apt-get dist-upgrade' was
not run.

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

[...]
  Setting up python-xstatic-font-awesome (4.7.0.0-3) ...
  Setting up python-netaddr (0.7.19-1) ...
  Setting up python-rjsmin (1.0.12+dfsg1-4+b1) ...
  Processing triggers for openstack-dashboard (3:10.0.1-1) ...
  Deleting 'auth/auth.module.js'
  Deleting 'auth/login/login-finder.directive.js'
  Deleting 'auth/login/login.controller.js'
[...]
  Copying '/usr/lib/python2.7/dist-packages/horizon/static/auth/login/login.controller.spec.js'
  Copying '/usr/lib/python2.7/dist-packages/horizon/static/auth/login/login.controller.js'
  Copying '/usr/lib/python2.7/dist-packages/horizon/static/auth/login/login-finder.directive.js'
  
  2496 static files copied to '/usr/share/openstack-dashboard/static'.
  INFO:keyring.backend:Loading Windows (alt)
  INFO:keyring.backend:Loading pyfs
  INFO:keyring.backend:Loading multi
  INFO:keyring.backend:Loading Google
  INFO:keyring.backend:Loading Gnome
  INFO:keyring.backend:Loading keyczar
  INFO:keyring.backend:Loading file
  Found 'compress' tags in:
  	/usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_conf.html
  	/usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_scripts.html
  	/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
  Compressing... [ESC][31;1mCommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: Couldn't find anything to import: /horizon/lib/roboto_fontface/css/roboto-fontface.scss
  Extensions: <NamespaceAdapterExtension>, <DjangoExtension>, <CompassExtension>
  Search path:
    
  on line 16 of themes/material/bootstrap/_styles.scss
  imported from line 16 of themes/material/_styles.scss
  imported from line 1 of u'string:c61b5d22d54bf56c:\n    // My Themes\n at import "/themes/material/variables";\n\n// Horizon\n at import "/dashboard/scss/horizon'
  [ESC][0mdpkg: error processing package openstack-dashboard (--configure):
   installed openstack-dashboard package post-installation script subprocess returned error exit status 1
[...]


Since the problem happened while running trigger processing of the
*old* (stretch) version of openstack-dashboard, probably the package
shipping (or no longer shipping) the "offending file"
(roboto-fontface.scss ?) needs to declare a

    Breaks: openstack-dashboard (<< 3:12)


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-dashboard_3:12.0.0-2.log.gz
Type: application/gzip
Size: 134405 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171114/5458b943/attachment-0001.bin>


More information about the Openstack-devel mailing list