I am trying to install a snap based application that I can sync and share data between my computer (Kubuntu 18.04.3) and my phone (ubuntu touch Nexus 5). The app is called nextcloud.
Below are the commands I have given and the progress made. Hopefully it makes sense. Terminal text is in blue for easier reading and the command heading is in purple. The commands I have specifically written are in green. PII has been deleted from the command heading but all else remains intact.
-Precision-M4600:~$sudo add-apt-repository ppa:nextcloud-devs/client
[sudo] password for :
The Nextcloud desktop client compiled for Ubuntu.
This repository contains the stable releases of the client. For the cutting-edge, beta version, see the beta PPA at https://launchpad.net/~nextcloud-dev...tu/client-beta.
NOTE for Xenial users: because Xenial contains some outdated libraries, such as Qt5.5 and libssl 1.0, which are no longer fully supported by the Nextcloud client, the Xenial build in this repository is on a strictly best-effort basis only. It means that some functionality may not work properly or at all. It is also possible that Xenial support in this PPA will be discontinued altogether at some point in the future.
More info: https://launchpad.net/~nextcloud-dev.../ubuntu/client
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (190 kB/s)
Reading package lists... Done
-Precision-M4600:~$sudo apt get update
E: Invalid operation get
-Precision-M4600:~$sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 252 kB in 1s (194 kB/s)
Reading package lists... Done
-Precision-M4600:~$sudo apt-get install nextcloud
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "nextcloud", but there is a snap with that name.
Try "snap install nextcloud"
E: Unable to locate package nextcloud
-Precision-M4600:~$sudo snap install nextcloud
nextcloud 16.0.7snap2 from Nextcloud✓ installed
-Precision-M4600:~$sudo snap install nextcloud
snap "nextcloud" is already installed, see 'snap help refresh'
-Precision-M4600:~$snap help refresh
Usage:
snap refresh [refresh-OPTIONS] [<snap>...]
The refresh command updates the specified snaps, or all snaps in the system if
none are specified.
With no further options, the snaps are refreshed to the current revision of the
channel they're tracking, preserving their confinement options.
Revision choice via the --revision override requires the the user to
have developer access to the snap, either directly or through the
store's collaboration feature, and to be logged in (see 'snap help login').
Note a later refresh will typically undo a revision override.
[refresh command options]
--color=[auto|never|always] Use a little bit of color to highlight some things. (default: auto)
--unicode=[auto|never|always] Use a little bit of Unicode to improve legibility. (default: auto)
--abs-time Display absolute times (in RFC 3339 format). Otherwise, display relative times up to 60 days, then YYYY-MM-DD.
--no-wait Do not wait for the operation to finish but just print the change id.
--channel= Use this channel instead of stable
--edge Install from the edge channel
--beta Install from the beta channel
--candidate Install from the candidate channel
--stable Install from the stable channel
--devmode Put snap in development mode and disable security confinement
--jailmode Put snap in enforced confinement mode
--classic Put snap in classic mode and disable security confinement
--amend Allow refresh attempt on snap unknown to the store
--revision= Refresh to the given revision, to which you must have developer access
--cohort= Refresh the snap into the given cohort
--leave-cohort Refresh the snap out of its cohort
--list Show the new versions of snaps that would be updated with the next refresh
--time Show auto refresh information but do not perform a refresh
--ignore-validation Ignore validation by other snaps blocking the refresh
-Precision-M4600:~$
Below are the commands I have given and the progress made. Hopefully it makes sense. Terminal text is in blue for easier reading and the command heading is in purple. The commands I have specifically written are in green. PII has been deleted from the command heading but all else remains intact.
-Precision-M4600:~$sudo add-apt-repository ppa:nextcloud-devs/client
[sudo] password for :
The Nextcloud desktop client compiled for Ubuntu.
This repository contains the stable releases of the client. For the cutting-edge, beta version, see the beta PPA at https://launchpad.net/~nextcloud-dev...tu/client-beta.
NOTE for Xenial users: because Xenial contains some outdated libraries, such as Qt5.5 and libssl 1.0, which are no longer fully supported by the Nextcloud client, the Xenial build in this repository is on a strictly best-effort basis only. It means that some functionality may not work properly or at all. It is also possible that Xenial support in this PPA will be discontinued altogether at some point in the future.
More info: https://launchpad.net/~nextcloud-dev.../ubuntu/client
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (190 kB/s)
Reading package lists... Done
-Precision-M4600:~$sudo apt get update
E: Invalid operation get
-Precision-M4600:~$sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 252 kB in 1s (194 kB/s)
Reading package lists... Done
-Precision-M4600:~$sudo apt-get install nextcloud
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "nextcloud", but there is a snap with that name.
Try "snap install nextcloud"
E: Unable to locate package nextcloud
-Precision-M4600:~$sudo snap install nextcloud
nextcloud 16.0.7snap2 from Nextcloud✓ installed
-Precision-M4600:~$sudo snap install nextcloud
snap "nextcloud" is already installed, see 'snap help refresh'
-Precision-M4600:~$snap help refresh
Usage:
snap refresh [refresh-OPTIONS] [<snap>...]
The refresh command updates the specified snaps, or all snaps in the system if
none are specified.
With no further options, the snaps are refreshed to the current revision of the
channel they're tracking, preserving their confinement options.
Revision choice via the --revision override requires the the user to
have developer access to the snap, either directly or through the
store's collaboration feature, and to be logged in (see 'snap help login').
Note a later refresh will typically undo a revision override.
[refresh command options]
--color=[auto|never|always] Use a little bit of color to highlight some things. (default: auto)
--unicode=[auto|never|always] Use a little bit of Unicode to improve legibility. (default: auto)
--abs-time Display absolute times (in RFC 3339 format). Otherwise, display relative times up to 60 days, then YYYY-MM-DD.
--no-wait Do not wait for the operation to finish but just print the change id.
--channel= Use this channel instead of stable
--edge Install from the edge channel
--beta Install from the beta channel
--candidate Install from the candidate channel
--stable Install from the stable channel
--devmode Put snap in development mode and disable security confinement
--jailmode Put snap in enforced confinement mode
--classic Put snap in classic mode and disable security confinement
--amend Allow refresh attempt on snap unknown to the store
--revision= Refresh to the given revision, to which you must have developer access
--cohort= Refresh the snap into the given cohort
--leave-cohort Refresh the snap out of its cohort
--list Show the new versions of snaps that would be updated with the next refresh
--time Show auto refresh information but do not perform a refresh
--ignore-validation Ignore validation by other snaps blocking the refresh
-Precision-M4600:~$
Comment