Hello Yeti,

thanks for testing.

The bug seems to be fixed as there is now a 2.57-1~ppa1~focal1 version,
which installs fine. (Notice the -1~ difference between my error message
and your screenshot)

It is very sad to read, that the ubuntu repositories are broken, as I
think this is the most common or at least simple way to install gwyddion
on this system.

As for building from source. Thanks for the tip, but I think this is
more a solution for a single computer and not for groups. And as I
stated in the workaround for 1): gwyddion was working fine in the 2.57
version, if you got it installed.

Best wishes,
Sebastian

~issue closed~

Am 28.01.21 um 15:19 schrieb David Nečas (Yeti):
> On Tue, Jan 26, 2021 at 01:46:56PM +0100, Sebastian Schenk wrote:
>> I am maintaining several linux PCs at my work space. (Xubuntu 20.04) and
>> have the current issue, that the last update from the PPA
>> 2.57-0~ppa1~focal1 broke the normal gwyddion installation.
>>
>> 1) The error message is (translated):
>> "gwyddion depends on libgwyddion2-0 (>= 2.57); but:
>>   version of libgwyddion2-0:amd64 on the system is 2.57-0~ppa1~focal1",
>> if I have installed the libgwyddion2-0 manually before gwyddion via apt.
>> The message is similar, if the libgwyddion2-0 package is not installed
>> manually. In both cases apt refuses to install gwyddion.
>>
>> Workaround is to install the libgwyddion2-0 package via apt and the
>> gwyddion.deb via dpkg, leaving apt in an erroneous state, which causes
>> issues with updates of other packages, but a working gwyddion.
>> This is not the way to go.
> I cannot reproduce this.  I set up an Ubuntu 20.04 virtual machine,
> added the PPA with
>
>     sudo add-apt-repository ppa:gwyddion-spm/ppa
>
> and used synaptic to install gwyddion.  It worked normally (wanting to
> install gwyddion-common and libgwyddion2-0 from the PPA as dependencies)
> and the result is in the attached screenshot.
>
> Now, when I tried to remove the packages, something fishy was definitely
> going on.  Apparently the result depends on the order in which I select
> the three packages for removal (even though if they are all three
> selected for removal at the end the result should be the same).  So the
> removal can either work normally or you get an error about broken
> packages and it refuses to remove them.
>
> Anyway, after removing all three again, I ran
>
>     sudo apt install gwyddion
>
> which again installed all three packages from the PPA without a hitch.
>
>> 2) The alternative of removing the PPA and installing via ubuntu
>> repositorys gives the 2.55 version, which installs fine. But starting
>> the application gives an error about modules are not installed
>> correctly.
> The Ubuntu package is unfortunately completely broken.  I am not sure
> how they managed to break it so badly, but it is not linked correctly,
> missing maths functions, and I was not even able to work around it using
> LD_PRELOAD.  See also
>
>     https://sourceforge.net/p/gwyddion/discussion/general/thread/a90fb58eaa/
>
> which also contain simple working instructions for building from source
> code.
>
>> I am not sure, whom to contact regarding these issues. I have contacted
>> the PPA maintainer, but haven't received an answer until now. Sadly the
>> .deb files from the previous version 2.56 are not available in the PPA
>> any more. And as a mail announcing the next version came up, I just
>> wanted to mention it beforehand.
> If I recall correctly, I even tweaked the linking slightly in response
> to the Ubuntu breakage.  However, the program works fine when built
> from source code (all versions I tried).  So the devil is in packaging –
> and we have no way to fix distribution packages.
>
> Regards,
>
> Yeti


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gwyddion-users mailing list
Gwyddion-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to