Reinstall music app

Asked by Pierre on 2018-02-04

I did a mistake and I uninstalled the music app . How can I reinstall it on my ubuntu phablet?
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Music App Edit question
Assignee:
No assignee Edit question
Solved by:
Pierre
Solved:
2018-02-10
Last query:
2018-02-10
Last reply:
2018-02-10
Andrew Hayzen (ahayzen) said : #1

Hey,

Unfortunately I believe the Canonical store doesn't work any more? So you will have to "side load" the app.

You can find version 2.5.1019 from the following locations:
https://people.canonical.com/~ubuntu-archive/click_packages/com.ubuntu.music_2.5.1019_all.click
http://cdimage.ubports.com/clicks/com.ubuntu.music_2.5.1019_all.click

Either download directly on the device, or use a PC to download and then push to .click file with adb, eg `adb push com.ubuntu.music_2.5.1019_all.click /tmp/my.click`

Either
- From a terminal from the device run the following command (note you'll have to find where the .click was downloaded to)
pkcon install-local --allow-untrusted /tmp/my.click
- Or from a PC use adb again to use the one you copied to /tmp
adb shell pkcon install-local --allow-untrusted /tmp/my.click

You may then need to refresh the app scope by doing a "pull to refresh", or just restart your device.

tl;dr; on a PC with adb setup and the device connected it should be
wget http://cdimage.ubports.com/clicks/com.ubuntu.music_2.5.1019_all.click
adb push com.ubuntu.music_2.5.1019_all.click /tmp/my.click
adb shell pkcon install-local --allow-untrusted /tmp/my.click

Please let me know if you have any issues.

Pierre (pierrehitsch) said : #2

Hi!
Thant you for your reply.
I successfully download the .click file but there is a bug with adb :
 adb: error: connect failed: no devices/emulators found
Thank you for your help!

Andrew Hayzen (ahayzen) said : #3

For adb to work, you need to have you device in the following state
- developer mode needs to be enabled
- device needs to be unlocked
- device needs to be attached

If you are having trouble probably best to talk with ubports.

Otherwise you can do it directly on the device with the terminal-app, as also described above.

Pierre (pierrehitsch) said : #4

Thank you!
I installed it works perfectly with the terminal app!
Problem solved! ;)