Public bug reported:
When you have upper-case letters in the name of the application the manifest
file after install has wrong name, without upper-case. This creates an invalid
installation. And the problem is not reported until you actually want to use
the package.
Take this manifest.json as example:
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ cat manifest.json
{
"architecture": "all",
"description": "Electrict resistor color code calculator",
"framework": "ubuntu-sdk-15.04",
"hooks": {
"resistor-calculator": {
"apparmor": "Resistor.apparmor",
"desktop": "Resistor.desktop"
}
},
"maintainer": "me<[email protected]>",
"name": "com.edi.ResistorCalculator",
"title": "Resistor Calculator",
"version": "0.9"
}
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ click build .
Successfully built package in './com.edi.ResistorCalculator_0.9_all.click'.
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ sudo click install
--user=phablet com.edi.ResistorCalculator_0.9_all.click --allow-unauthenticated
[sudo] password for phablet:
WARNING:root:Signature check failed, but installing anyway as requested
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ click info
com.edi.ResistorCalculator
click_database_error-quark: Failed to parse manifest in
/opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info/com.edi.ResistorCalculator.manifest:
Failed to open file
'/opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info/com.edi.ResistorCalculator.manifest':
No such file or directory (3)
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ ls
/opt/click.ubuntu.com/com.edi.ResistorCalculator/0.9/.click/info
com.edi.resistorcalculator.list com.edi.resistorcalculator.md5sums format
com.edi.resistorcalculator.manifest com.edi.resistorcalculator.preinst
phablet@ubuntu-phablet:~/tmp/ResistorCalculator$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04
OTA-14 (directly on my meizu phone).
** Affects: click (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1651210
Title:
If the name in manifest has uppercase letters the package is not
installed correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1651210/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs