[GRASS-dev] [GRASS GIS] #2809: grass --version displays the wrong release number

#2809: grass --version displays the wrong release number
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
{{{
(venv)grassuser@7d152add9280:~/repo$ dpkg -s grass7
Package: grass7
Version: 7.0.2-1~ubuntu14.04.1

(venv)grassuser@7d152add9280:~/repo$ grass --version
GRASS GIS 7.0.1
}}}
It seems that the release number has not been updated.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2809&gt;
GRASS GIS <https://grass.osgeo.org>

#2809: grass --version displays the wrong release number
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Resolution: | Keywords: Ubuntu
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by neteler):

* keywords: => Ubuntu
* platform: Unspecified => Linux

Comment:

In case it seems to be an Ubuntu packaging issue.

Please check with

  which grass

if it really picks the right startup script from the 7.0.2-1~ubuntu14.04.1
package.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2809#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2809: grass --version displays the wrong release number
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Resolution: | Keywords: Ubuntu
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by martinl):

It seems to me that you installed both packages - `grass` from ubuntugis
(1) a `grass7` from Launchpad (2). Please remove `grass7`, the stable
packages from (2) will be removed, stable GRASS packages will be
maintained only within ubuntugis project. GRASS Launchpad project will
provide only daily builds (3).

(1) https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable

(2) https://launchpad.net/~grass/+archive/ubuntu/grass-stable

(3) https://launchpad.net/~grass/+archive/ubuntu/grass-devel

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2809#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2809: grass --version displays the wrong release number
--------------------------+----------------------
  Reporter: pmav99 | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Resolution: | Keywords: Ubuntu
       CPU: Unspecified | Platform: Linux
--------------------------+----------------------
Changes (by martinl):

* status: new => assigned
* cc: grass-dev@… (added)
* owner: grass-dev@… => martinl

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2809#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#2809: grass --version displays the wrong release number
--------------------------+---------------------
  Reporter: pmav99 | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Resolution: invalid | Keywords: Ubuntu
       CPU: Unspecified | Platform: Linux
--------------------------+---------------------
Changes (by pmav99):

* status: assigned => closed
* resolution: => invalid

Comment:

@martini
I am using `ppa:grass/grass-stable` because the `ubuntugis-unstable` one
does not have a package for `7.0.2`. I guess that eventually it will get
uploaded there too.

Anyway, I uninstalled/reinistalled everything and it seems to be working
now. It seems that the `grass-stable` repository is installing a binary
named `grass70` while the `ubuntugis-unstable` one installs a binary named
`grass` and that's where the problem was.

I am closing the issue.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2809#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#2809: grass --version displays the wrong release number
--------------------------+---------------------
  Reporter: pmav99 | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.3
Component: Packaging | Version: 7.0.2
Resolution: invalid | Keywords: Ubuntu
       CPU: Unspecified | Platform: Linux
--------------------------+---------------------

Comment (by martinl):

Replying to [comment:4 pmav99]:

> Anyway, I uninstalled/reinistalled everything and it seems to be working
now. It seems that the `grass-stable` repository is installing a binary
named `grass70` while the `ubuntugis-unstable` one installs a binary named
`grass` and that's where the problem was.

you are right. grass-stable is now obsolete, I will maintain stable
package on ubuntugis-unstable (I will upload 7.0.2 ASAP).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2809#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>