[GRASS-dev] problem with grass7 package and Ubuntu 12.04

Hi,

in Italian mailing list was reported a problem with grass7 package and
Ubuntu 12.04.

Sorry if the following error is in Italian, during installation of
grass7 the package is looking for libnetcdf6 but there is no
libnetcdf6 in ubuntu 12.04, but there are some similar (different
version) libnetcdff5:i386 libnetcdfc7:i386 libnetcdfc++4:i386
libcf0:i386 libnetcdff5 libnetcdfc7 libnetcdfc++4 libcf0.

Is the package broken? Does it need to be rebuilt?

sudo apt-get install grass7 grass7-core grass7-gui
[sudo] password for daniele:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
grass7-core : Dipende: libnetcdf6 ma non è installabile
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.
daniele@daniele-desktop ~ $ sudo apt-get install libnetcdf6
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Il pacchetto libnetcdf6 non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo potrebbe indicare che il pacchetto è mancante, obsoleto
oppure è disponibile solo all'interno di un'altra sorgente
Tuttavia questi pacchetti lo sostituiscono:
  libnetcdff5:i386 libnetcdfc7:i386 libnetcdfc++4:i386 libcf0:i386 libnetcdff5
  libnetcdfc7 libnetcdfc++4 libcf0

E: Il pacchetto "libnetcdf6" non ha candidati da installare

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

Is the package broken? Does it need to be rebuilt?

The latter.

Kind Regards,

Bas

2015-03-10 16:16 GMT+01:00 Sebastiaan Couwenberg <sebastic@xs4all.nl>:

Is the package broken? Does it need to be rebuilt?

The latter.

hm, I already tried to install `grass7` on Ubuntu 12.04 and it worked.
So how to fix it for the user? Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

hm, I already tried to install `grass7` on Ubuntu 12.04 and it worked.
So how to fix it for the user? Martin

If package works on plain Ubuntu without PPAs then the user needs to check
which PPAs he's using that's causing the dependency problem. Start by
disabling all PPAs except GRASS.

Kind Regards,

Bas

On 10 March 2015 at 16:35, Sebastiaan Couwenberg <sebastic@xs4all.nl> wrote:

hm, I already tried to install `grass7` on Ubuntu 12.04 and it worked.
So how to fix it for the user? Martin

If package works on plain Ubuntu without PPAs then the user needs to check
which PPAs he's using that's causing the dependency problem. Start by
disabling all PPAs except GRASS.

ok, I also tested in a clean docker ubuntu 12.04.
With only GRASS PPA it doesn't work; with ubuntugis-unstable and
ubuntugis-stable it works. So I'll suggest to disabling all PPAs
except GRASS and ubuntugis-unstable/stable

Kind Regards,

Bas

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

2015-03-10 17:12 GMT+01:00 Luca Delucchi <lucadeluge@gmail.com>:

ok, I also tested in a clean docker ubuntu 12.04.
With only GRASS PPA it doesn't work; with ubuntugis-unstable and
ubuntugis-stable it works. So I'll suggest to disabling all PPAs
except GRASS and ubuntugis-unstable/stable

ubuntugis-unstable is dependency, so it's required. I would also
suggest not to mix ubuntugis-unstable and ubuntugis-stable. Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On 10 March 2015 at 17:46, Martin Landa <landa.martin@gmail.com> wrote:

2015-03-10 17:12 GMT+01:00 Luca Delucchi <lucadeluge@gmail.com>:

ok, I also tested in a clean docker ubuntu 12.04.
With only GRASS PPA it doesn't work; with ubuntugis-unstable and
ubuntugis-stable it works. So I'll suggest to disabling all PPAs
except GRASS and ubuntugis-unstable/stable

ubuntugis-unstable is dependency, so it's required. I would also
suggest not to mix ubuntugis-unstable and ubuntugis-stable. Martin

yes, instead I removed ubuntugis-unstable and added ubuntugis-stable :wink:

However the Italian guy has really a problem with his ubuntu version
repositories; he mixed a lot.
Sorry for the noise...

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org