Choose style:

Author Topic: (SOLVED) Is Dropbox always a flatpak?  (Read 290 times)

0 Members and 2 Guests are viewing this topic.

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
(SOLVED) Is Dropbox always a flatpak?
« on: October 15, 2019, 08:44:21 pm »
Just got this error message:

Code: [Select]
error: Can't remove remote 'flathub' with installed ref app/com.dropbox.Client/x86_64/stable (at least)

I'm a little perplexed.  I didn't realize when I installed dropbox that it was installing as a flatpak.  I was expecting it to install normally through apt like it always used to do, before these newfangled (and in my estimation, less efficient, though I could be shown to be wrong) methods moved in.  Maybe I've just been out of the linux-ing game for too long.
« Last Edit: October 21, 2019, 07:21:28 pm by newb85 »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1047
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Is Dropbox always a flatpak?
« Reply #1 on: October 15, 2019, 10:57:13 pm »
Hi newb85, no actually there is the non flatpak version in both Software and Software Manager in System and Software Manager in Settings. There's also a .deb file available thru the Dropbox website.
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26103
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is Dropbox always a flatpak?
« Reply #2 on: October 16, 2019, 03:07:11 pm »
Dropbox is installed OOTB in Peppermint (and as a .deb not a flatpak)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #3 on: October 16, 2019, 08:32:26 pm »
Well, I must have really hosed something up.  I uninstalled com.dropbox.Client and then tried to install dropbox through apt.  It said it was already installed.  I tried to launch it, and it tried, and failed to install the flatpak through Software Manager (which, much to my surprise, is set up to install flatpaks).  Now, I just get "Error deploying: While trying to apply extra data: runtime/org.freedesktop.Platform/x86_64/19.08 not installed."  Perplexing, given I thought I was essentially on 18.04, not 19.08.

Help!?  I'm not used to being such a bull in a china shop...

Edit: it has come to my attention that the Dropbox app is actually running.  So I guess that it unnecessarily pointed me to the dropbox website that had a big button front and center to install dropbox, which like an idiot, I clicked, prompting it to try to install the flatpak through the Software Manager.

Re-Edit: It was not the dropbox website, it was https://flathub.org/apps/details/com.dropbox.Client.

My dropbox question is answered, but I would still like to know why my Peppermint 10 system is attempting to install 19.08 packages.  Also, I thought the whole point of flatpaks is that everything you need is in one package.
« Last Edit: October 16, 2019, 09:17:06 pm by newb85 »

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #4 on: October 16, 2019, 08:48:45 pm »
I had taken steps on https://forum.peppermintos.com/index.php/topic,8828.msg90290.html#msg90290 to remove snap, gnome-software, and flathub.  Prior to that, I was getting an error message from gnome-software about updating.  It seems like that message said something about 19.08, as well.  I should have paid closer attention.

So, how does this all work?  Software Manager runs on both apt and flatpak?  Gnome-Software has a snap plugin?  Why would my system complain that it can't install anything 19.08?

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #5 on: October 16, 2019, 09:00:34 pm »
Whew!  I guess I was a little purturbed that th forum had me labeled n00b out of the gate, since I have several years' experience with Ubuntu, but I think things have changed so much since 14.04 (the last time I really did anything beyond using a running system), that this is where I belong.

Looking at the description in the Software Manager makes me suspicious.  "Note:  This wrapper is not verified by, affiliated with, or supported by Dropbox, Inc."

"Package com.dropbox.Client
Version 82.4.155
Size: 99.9MB to download, 1.5 MB of disk space required
Remote Flathub
Architecture x86_64
Branch stable"

Why so much to download, and so little disk space required?

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #6 on: October 16, 2019, 09:05:50 pm »
Dropbox is installed OOTB in Peppermint (and as a .deb not a flatpak)

Yeah, the installed .deb version is apparently newer than the flatpak one I apparently don't need.

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #7 on: October 16, 2019, 09:13:58 pm »
Okay, I know my run-on posting is out of hand, but I think I just stumbled on something...

I tried
Code: [Select]
flatpak update

and eventually got:
Code: [Select]
Installing: org.freedesktop.Platform.openh264/x86_64/19.08 from flathub
Warning: Failed to install org.freedesktop.Platform.openh264/x86_64/19.08: runtime/org.freedesktop.Platform.openh264/x86_64/19.08 needs a later flatpak version (1.4.2;1.2.5;1.0.9;)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26103
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is Dropbox always a flatpak?
« Reply #8 on: October 17, 2019, 06:04:39 pm »
This seems to be a flatpak/flathub bug
https://github.com/flatpak/flatpak/issues/3128
and
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/886

see if running
Code: [Select]
flatpak install flathub org.freedesktop.Platform//19.08
helps
« Last Edit: November 09, 2019, 12:22:47 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #9 on: October 18, 2019, 05:18:49 am »
Mark, you're the best!

I wish I knew what that did.  The more I read about flatpak, the more I think I don't want to use it.  When I list my installed flatpaks, this is what I get:

Code: [Select]
Name                       Application ID                Version Branch Installation
Freedesktop Platform       org.freedesktop.Platform      19.08.3 19.08  system
default                    …edesktop.Platform.GL.default         19.08  system
Intel                      …desktop.Platform.VAAPI.Intel         18.08  system
Intel                      …desktop.Platform.VAAPI.Intel         19.08  system
html5-codecs               …esktop.Platform.html5-codecs         18.08  system
openh264                   …reedesktop.Platform.openh264         19.08  system
GNOME Application Platfor… org.gnome.Platform                    3.32   system
GNOME Application Platfor… org.gnome.Platform                    3.34   system
Adwaita theme              org.kde.KStyle.Adwaita                5.12   system
KDE Application Platform   org.kde.Platform                      5.12   system

None of these look like simething I intentionally installed.  I'm contemplating removing them all, and removing the flathub remote.  Is there any obvious danger in that?


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26103
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Is Dropbox always a flatpak?
« Reply #10 on: October 18, 2019, 07:17:02 pm »
Nope .. go right ahead.

I'm not a big fan of them either .. hence:
Code: [Select]
mark@E6540 ~ $ flatpak list
mark@E6540 ~ $
If you want a single command to uninstall everything, post the output from
Code: [Select]
flatpak list
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline newb85

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Is Dropbox always a flatpak?
« Reply #11 on: October 21, 2019, 07:20:07 pm »
Done. Even went so far as to
Code: [Select]
sudo apt remove flatpak


Thanks for the help!

Offline The Omen

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Re: (SOLVED) Is Dropbox always a flatpak?
« Reply #12 on: October 23, 2019, 01:20:47 pm »
You may even wish to go one step further.

Remove Flatpak remotes: To show remote sources:

 
Code: [Select]
flatpak remotes

Delete Flatpak remotes:

 
Code: [Select]
flatpak remote-delete flathub

I am with you Mr. Greaves when it comes to either Flatpaks or Snaps:

Quote
$ flatpak list

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

sudo apt install flatpak

Regards,

The Omen