Grass GIS can not install extensions without grass-doc beeing installed

Bug #1646812 reported by benste
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grass (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi there, there seems to be a packaging issue, grass g.extensions does require the docs package to be installed but it is not set as a requirement.

Steps to reproduce the issue
1. install grass
2. open grass (in my case & GUI)
3. quit GUI
4. type g.extensions to open the extensions manager
5. choose to install any extension e.g. v.in.osm
6. click run

following error occurs (sorry for not using pastebin)
(Fri Dec 2 13:01:17 2016)
g.extension extension=v.in.osm operation=add
Traceback (most recent call last):
  File "/usr/lib/grass70/scripts/g.extension", line 1133, in
<module>
    sys.exit(main())
  File "/usr/lib/grass70/scripts/g.extension", line 1116, in
main
    check_dirs()
  File "/usr/lib/grass70/scripts/g.extension", line 986, in
check_dirs
    check_style_files('grass_logo.png')
  File "/usr/lib/grass70/scripts/g.extension", line 967, in
check_style_files
    shutil.copyfile(dist_file, addons_file)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/lib/grass70/docs/html/grass_logo.png'
(Fri Dec 2 13:01:17 2016) Command finished (0 sec)

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: grass (not installed)
ProcVersionSignature: Ubuntu 4.8.0-28.30-generic 4.8.6
Uname: Linux 4.8.0-28-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 2 13:04:38 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-10-13 (49 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: grass
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
benste (benste) wrote :
Revision history for this message
benste (benste) wrote :

second issue after installing docs - also related to grass
Compiling...
ERROR: Please install GRASS development package
(Fri Dec 2 13:08:09 2016) Command finished (5 sec)

Revision history for this message
Bas Couwenberg (sebastic) wrote :

grass-core will never depend on grass-dev because that introduces a circular dependency.

grass-core may gain a dependency (Recommends) on grass-doc for g.extensions.

Revision history for this message
Bas Couwenberg (sebastic) wrote :

The packaging for the upcoming 7.2.0 release has been updated to make grass-core depend on grass-doc.

Changed in grass (Ubuntu):
status: New → Fix Committed
Revision history for this message
benste (benste) wrote :

@Bas thanks for the quick reaction and applicable changes.
I supose that only some extensions require the dev package to be installed.
If you could check with the version whether osm input filters are installable that would be great.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grass - 7.2.0-1

---------------
grass (7.2.0-1) unstable; urgency=medium

  * New upstream release.
  * Make grass-core depend on grass-doc, g.extension requires some of its files.
    (LP: #1646812)
  * Drop svn-r69952-dglib-update-to-libavl-2.0.3.patch, included upstream.
  * Update license & copyright for avl.
  * Add patch to fix spelling errors.
  * Add patch to fix hicolor icon name.
  * Move from experimental to unstable.

 -- Bas Couwenberg <email address hidden> Wed, 28 Dec 2016 19:05:08 +0100

Changed in grass (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.