Bug 441454 - Jami update not processed
Summary: Jami update not processed
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-23 23:43 UTC by Jaz-z
Modified: 2021-08-30 23:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of updates in Discover (103.92 KB, image/png)
2021-08-29 21:30 UTC, Jaz-z
Details
Two Jami apps in discover (148.59 KB, image/png)
2021-08-30 18:58 UTC, Jaz-z
Details
Jami subtitled Gnome Client (203.12 KB, image/png)
2021-08-30 18:59 UTC, Jaz-z
Details
Jami subtitled Privacy Oriented... (226.10 KB, image/png)
2021-08-30 19:00 UTC, Jaz-z
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaz-z 2021-08-23 23:43:52 UTC
SUMMARY

libqt-jami 5.15.2-1 update is not processed and keeps cropping up.
This has been going on for a few weeks.

STEPS TO REPRODUCE
1. Open Discover
2. Search for updates
3. 

OBSERVED RESULT
Update All command is followed but the update remains in the list of updates to be processed.

EXPECTED RESULT
Update and omit from the list of new updates

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-81-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5 CPU 660 @ 3.33GHz
Memory: 5.7 GiB of RAM


ADDITIONAL INFORMATION
sytem updates
libqt-jami 5.15.2-1
0 B
Comment 1 Nate Graham 2021-08-24 14:55:10 UTC
Does it say any error message anywhere?
Comment 2 Jaz-z 2021-08-29 21:28:40 UTC
(In reply to Nate Graham from comment #1)
> Does it say any error message anywhere?

No error messages seen.
One more updates for Jami have been added to the list with 0 B and not being processed. But this update comes up twice in the Discover list of updates:
Jami
Update to version 20210825.1.000a1f6~dfsg1-1

Reported this on Jami bug report they said it is working on two Ubunutu desktops they test.
Comment 3 Jaz-z 2021-08-29 21:30:21 UTC
Created attachment 141140 [details]
screenshot of updates in Discover
Comment 4 Nate Graham 2021-08-29 21:43:59 UTC
Is this a flatpak app or a distro packaged-app?
Comment 5 Jaz-z 2021-08-30 18:56:33 UTC
(In reply to Nate Graham from comment #4)
> Is this a flatpak app or a distro packaged-app?

As far as I know it is distro. However today when I checked on installed apps in discover, I can see two Jami apps under different subtitles, but they seem to be the same. I had only installed one Jami, but today I see that both are showing as installed.
In the descriptions, both apps show as 0 B.
Please see new screenshots.
Comment 6 Jaz-z 2021-08-30 18:58:38 UTC
Created attachment 141165 [details]
Two Jami apps in discover

Two apps showing but they are probably the same.
Comment 7 Nate Graham 2021-08-30 18:59:07 UTC
What happens if you run `pkcon update` in a terminal window?
Comment 8 Jaz-z 2021-08-30 18:59:30 UTC
Created attachment 141166 [details]
Jami subtitled Gnome Client
Comment 9 Jaz-z 2021-08-30 19:00:09 UTC
Created attachment 141167 [details]
Jami subtitled Privacy Oriented...
Comment 10 Jaz-z 2021-08-30 19:02:00 UTC
(In reply to Nate Graham from comment #7)
> What happens if you run `pkcon update` in a terminal window?

:~$ pkcon update
Getting updates               [=========================]         
Finished                      [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [=========================]         
Updating packages             [=========================]         
Waiting for authentication    [=========================]         
Loading cache                 [=========================]         
Finished                      [=========================]         
There are no updates available at this time.
Comment 11 Nate Graham 2021-08-30 19:05:56 UTC
That means that these are probably not distro-provided apps after all. I suspect one is flatpak and the other is snap.

What do `flatpak update` or `snap update` do?
Comment 12 Jaz-z 2021-08-30 19:13:56 UTC
(In reply to Nate Graham from comment #11)
> That means that these are probably not distro-provided apps after all. I
> suspect one is flatpak and the other is snap.
> 
> What do `flatpak update` or `snap update` do?

:~$ flatpak update

Command 'flatpak' not found, but can be installed with:

sudo apt install flatpak

:~$ snap update
error: unknown command "update", see 'snap help'.
Comment 13 Nate Graham 2021-08-30 19:16:22 UTC
`snap upgrade` maybe? I don't use snap, maybe you can figure out what the right command is.
Comment 14 Jaz-z 2021-08-30 19:20:16 UTC
(In reply to Nate Graham from comment #13)
> `snap upgrade` maybe? I don't use snap, maybe you can figure out what the
> right command is.

I ran sanp list and Jami is not in the list of apps
Trying to find how to update or upgrade, its not in the help information
Comment 15 Jaz-z 2021-08-30 19:23:01 UTC
(In reply to Nate Graham from comment #13)
> `snap upgrade` maybe? I don't use snap, maybe you can figure out what the
> right command is.

:~$ snap find jami
Name                   Version             Publisher         Notes  Summary
jami                   20210601.2.891dad0  sfljami           -      Jami, a secure, distributed communication software and SIP client
jamie-helloworld       1.0                 jamieweb          -      A simple Hello World program.
jamie-helloworld2      1.0                 jamieweb          -      A simple Hello World program.
jami-gnome             20210513.4.d69ac0a  sfljami           -      Jami (GNOME client), a secure, distributed communication software and SIP client
dstat-jamiebennett     0.7.3               jamiebennett      -      Dstat is a versatile replacement for vmstat, iostat, mpstat, netstat and ifstat.
hello-world-jbennett   0.1                 jamiebennett      -      Just testing
hello-world-jbennett2  0.1                 jamiebennett      -      Just testing
khmer-typing           1.0.0               benjamin-balet    -      khmer-typing
a4wd1-ros              0.1.0               benjamin.leclerc  -      ROS for A4WD1 Robot
benjamins-test-snap    1.0                 benjaminlowry     -      This is just a test of snapcraft
Comment 16 Jaz-z 2021-08-30 19:27:45 UTC
(In reply to Nate Graham from comment #13)
> `snap upgrade` maybe? I don't use snap, maybe you can figure out what the
> right command is.


:~$ sudo snap refresh
All snaps up to date.


:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  jami libqt-jami
2 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,162 kB/101 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://dl.jami.net/nightly/ubuntu_20.04 ring/main amd64 jami amd64 20210825.1.000a1f6~dfsg1-1 [1,162 kB]
Fetched 1,162 kB in 0s (2,425 kB/s)
(Reading database ... 1218281 files and directories currently installed.)
Preparing to unpack .../libqt-jami_5.15.2-1_amd64.deb ...
Unpacking libqt-jami (5.15.2-1) over (5.15.2-1) ...
Preparing to unpack .../jami_20210825.1.000a1f6~dfsg1-1_amd64.deb ...
Unpacking jami (20210825.1.000a1f6~dfsg1-1) over (20210825.1.000a1f6~dfsg1-1) ...
Setting up libqt-jami (5.15.2-1) ...
Setting up jami (20210825.1.000a1f6~dfsg1-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Comment 17 Jaz-z 2021-08-30 19:32:50 UTC
(In reply to Nate Graham from comment #13)
> `snap upgrade` maybe? I don't use snap, maybe you can figure out what the
> right command is.


After the apt dist-upgrade the 0 B updates are not showing in Discover updates.
Discover still showing two Jami apps installed with 0 B.

Going to restart computer to see if there will changes after restart.
Comment 18 Jaz-z 2021-08-30 19:53:08 UTC
(In reply to Nate Graham from comment #13)
> `snap upgrade` maybe? I don't use snap, maybe you can figure out what the
> right command is.

After restart, result is the same, currently not showing the updates with 0 B any more.

I am not technical, but I wonder if the Jami/snap update problem is in any way related to the following problem which has come up in my computer in discover updates at times:

      https://bugs.kde.org/show_bug.cgi?id=440593

            after the snap update this problem did show today.
Comment 19 Nate Graham 2021-08-30 20:50:54 UTC
hmm, if `apt update` was able to see it, but `pkcon update` was not, that means that the bug is in the PackageKit library that Discover uses to talk to the distro's package manager (apt, in this case). So there is nothing Discover can do about it because the software library it's depending upon has failed it. You would need to report this to the PackageKit developers at https://github.com/PackageKit/PackageKit/issues
Comment 20 Jaz-z 2021-08-30 23:53:47 UTC
(In reply to Nate Graham from comment #19)
> hmm, if `apt update` was able to see it, but `pkcon update` was not, that
> means that the bug is in the PackageKit library that Discover uses to talk
> to the distro's package manager (apt, in this case). So there is nothing
> Discover can do about it because the software library it's depending upon
> has failed it. You would need to report this to the PackageKit developers at
> https://github.com/PackageKit/PackageKit/issues


reported it here: https://github.com/PackageKit/PackageKit/issues/502
Thank you.