Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Mint 19.1 Flatpak not showing on software manager #231

Open
lolwooklol opened this issue Jan 13, 2019 · 11 comments
Open

Linux Mint 19.1 Flatpak not showing on software manager #231

lolwooklol opened this issue Jan 13, 2019 · 11 comments

Comments

@lolwooklol
Copy link

Did a fresh install on my laptop asus k55vm, flatpak not showing on software manager, reinstall mintinstall and flatpak but notting happened. what should i do to solve it??

print screen: https://imgur.com/a/4LE5M4X

@ewangi
Copy link

ewangi commented Jan 14, 2019

lolwooklol, I'm not on the Mint team, but I can do some troubleshooting of this with you if you want.

If so, could you paste the output from:

dpkg -l "*flat*"

and

flatpak remotes

Also, have you raised the issue on the Mint forums (https://forums.linuxmint.com/)?

@lolwooklol
Copy link
Author

flat

flatremotes

yes, but nothing at the moment.
link here: https://forums.linuxmint.com/viewtopic.php?f=47&t=285624

@ewangi
Copy link

ewangi commented Jan 14, 2019

Thanks. Just a note that it's usually best to paste command line output as text within code tags here rather than as images - that allows folk to copy and paste your output, for example. No need to re-paste the above though.

Anyway all looks good so far. Can you now paste the output from:

flatpak remote-ls

and

flatpak remote-info flathub de.haeckerfelix.gradio

The first of these commands should produce many lines of output - you only need to include the first half dozen or so lines. Thanks.

@lolwooklol
Copy link
Author

flatpak remote-ls

bruno@asusMint:~$ flatpak remote-ls
error: Peer failed to perform TLS handshake

flatpak remote-info flathub de.haeckerfelix.gradio

bruno@asusMint:~$ flatpak remote-info flathub de.haeckerfelix.gradio
error: Unable to load summary from remote flathub: Peer failed to perform TLS handshake

@ewangi
Copy link

ewangi commented Jan 14, 2019

Thanks. On this Flathub issue thread - flathub/flathub#417 - one specific solution was to set the system clock to a more accurate time using:

ntpdate pool.ntp.org && hwclock --systohc

so you might want to try that (although the system clock should, I think, normally keep itself in shape without the need for the above command).

Otherwise the solutions there indicate that some folk resolved the issue by modifying their internet connection (greater bandwidth, different ISP, better connection, etc.).

That generates the following questions:

  • Have you tried connecting your laptop to a different router using a different ISP, i.e. someone else's router?

  • Have you tried connecting to your router but by network cable rather than wifi?

In saying that though, it appears that this may be a Flathub server issue.

More debate here:

flatpak/flatpak#1925

https://forums.linuxmint.com/viewtopic.php?t=279966

@lolwooklol
Copy link
Author

ntpdate pool.ntp.org && hwclock --systohc
bruno@asusMint:~$ ntpdate pool.ntp.org && hwclock --systohc
Command 'ntpdate' not found, but can be installed with:
sudo apt install ntpdate
sudo apt install ntpsec-ntpdate

before format this pc I had the same linux mint 19.1 x64 cinnamon installed no problem with flatpak whatsoever, I didn't try in other wifi or through cable.

@ewangi
Copy link

ewangi commented Jan 14, 2019

That's interesting - I have ntpdate installed on a Linux Mint 19.1 setup (albeit MATE) and as far as I know the package is installed by the Mint installer. I would suggest that you install the ntpdate package and run:

ntpdate -q 1.debian.pool.ntp.org

in order to check the current offset of your system clock.

However, I'm wary of disappearing down the rabbit hole with this issue. We've probably got enough preliminary info together now to allow the Mint developers to better resolve the issue. It's up to you if you want to continue with my non-expert help.

@lolwooklol
Copy link
Author

lolwooklol commented Jan 15, 2019

ntpdate -q 1.debian.pool.ntp.org
bruno@asusMint:~$ ntpdate -q 1.debian.pool.ntp.org
server 193.136.152.71, stratum 2, offset -0.027936, delay 0.02882
server 194.117.9.136, stratum 2, offset -0.027983, delay 0.02884
15 Jan 21:07:43 ntpdate[3170]: adjust time server 193.136.152.71 offset -0.027936 sec

do i have to install ntpsec-ntpdate?? your experience is better than mine, i'm relatively new to linux.

UPDATE
now i can see the list of flatpak programs but i can't download it, tls handshake problem.

@ewangi
Copy link

ewangi commented Jan 15, 2019

No, that's fine, you've installed the correct package (it was an either/or regarding ntpdate and ntpsec-ntpdate). I'm no expert on whether that offset would generate an issue with the Flathub server - it is larger than my system clock offset (-0.002431 sec) but seems reasonable all the same. If you want to set your time using ntpdate, you would use:

sudo ntpdate -u 1.debian.pool.ntp.org

I'm going to leave it there as I don't think I can contribute any more to diagnosing your issue - my apologies. I would recommend however that, while awaiting a response from the Mint team, you try connecting to a different router and also connecting to your router with a network cable. I still think that an inadequate connection/throughput combined with an over-fussy Flathub server may be to blame.

@lolwooklol
Copy link
Author

lolwooklol commented Jan 15, 2019

sudo ntpdate u 1.debian.pool.ntp.org
bruno@asusMint:~$ sudo ntpdate -u 1.debian.pool.ntp.org
[sudo] password for bruno:
15 Jan 21:41:10 ntpdate[6110]: adjust time server 193.136.152.71 offset -0.064288 sec

After updating ntpdate the flatpak disappeared again. i will try to update on other internet tomorrow.

UPDATE
bruno@asusMint:~$ sudo ntpdate -u 1.debian.pool.ntp.org
[sudo] password for bruno:
16 Jan 17:49:17 ntpdate[5711]: adjust time server 193.136.164.4 offset -0.019948 sec

Tried via WiFi in other router and internet provider, seems to work fine, now i don't know what is going on on my house router, i didn't made any change.

@lolwooklol
Copy link
Author

UPDATE
Tried with wire the problem don't disappear, used my phone hotspot from the same provider flatpak function perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants