ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #17060
Re: impossible to install 15.04 SDK using chroot on 14.04.3 LTS
On 30-11-15 21:19, Alan Pope wrote:
On 30 November 2015 at 20:17, Mattias <mattias@xxxxxxxxxx> wrote:
Hi,
I am following this guide for cordova beginners
(http://developer.ubuntu.com/en/apps/html-5/guides/cordova-guide/) and I
can't install the SDK for 14.10 or 15.04 using chroot:
sudo click chroot -a armhf -f ubuntu-sdk.15.04 create
I think that should probably be:-
sudo click chroot -a armhf -f ubuntu-sdk-15.04 create
You typed:-
sudo click chroot -a armhf -f ubuntu-sdk.15.04 create
(dot/hyphen typo)
Cheers,
Hi Alan,
Nicely spotted, but I wish it would solve it.
For 14.10 I get this error:
sudo click chroot -a armhf -f ubuntu-sdk-14.10 create
I: Retrieving Release
E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/utopic/Release
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 231, in run
return args.func(parser, args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 67, in create
return chroot.create(args.keep_broken_chroot)
File "/usr/lib/python3/dist-packages/click/chroot.py", line 312, in create
self.archive
File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['debootstrap', '--arch', 'amd64', '--variant=buildd', '--components=main,restricted,universe,multiverse', 'utopic', '/var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf', 'http://archive.ubuntu.com/ubuntu']' returned non-zero exit status 1
And for 15.04:
sudo click chroot -a armhf -f ubuntu-sdk-15.04 create
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 231, in run
return args.func(parser, args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 64, in create
chroot = ClickChroot(args.architecture, args.framework, series=args.series)
File "/usr/lib/python3/dist-packages/click/chroot.py", line 157, in __init__
series = framework_series[self.framework_base]
KeyError: 'ubuntu-sdk-15.04'
Follow ups
References