<div dir="ltr">Hi Didier,<div><br></div><div>Thanks. it resolved my problem.</div><div><br></div><div>Best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 5:17 PM, Didier Roche <span dir="ltr"><<a href="mailto:didrocks@ubuntu.com" target="_blank">didrocks@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Le 08/07/2016 10:49, XiaoGuo Liu a écrit :<br>
> Hi<br>
><br>
> I remember I successfully compiled the Ubuntu-clock example long time<br>
> ago. Today, I tried to build it again using the latest snapcraft to<br>
> build. However, I got an error like the following? What could be the<br>
> problem for it? I am building it on 16.04, and my snapcraft versin is<br>
> 2.12. I also got the same problem when build the sample app<br>
> webcam-webui, and I reported<br>
> at <a href="https://bugs.launchpad.net/developer-ubuntu-com/+bug/1600122" rel="noreferrer" target="_blank">https://bugs.launchpad.net/developer-ubuntu-com/+bug/1600122</a>.<br>
><br>
> liuxg@liuxg:~/snappy/desktop/snappy-playpen/ubuntu-clock-app$ snapcraft<br>
> "confinement" property not specified: defaulting to "strict"<br>
> Preparing to pull clock<br>
> Get:1 <a href="http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu</a> xenial<br>
> InRelease [17.5 kB]<br>
> Get:2 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial InRelease [247 kB]<br>
><br>
> Get:3 <a href="http://ppa.launchpad.net/ubuntu-sdk-team/staging/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/ubuntu-sdk-team/staging/ubuntu</a> xenial<br>
> InRelease [17.5 kB]<br>
> ...<br>
> Get:18 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/restricted amd64<br>
> Packages [8,344 B]<br>
> Get:19 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/restricted<br>
> Translation-en [2,908 B]<br>
> Get:20 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/restricted amd64<br>
> DEP-11 Metadata [186 B]<br>
> Get:21 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/multiverse amd64<br>
> Packages [144 kB]<br>
> Get:22 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/multiverse<br>
> Translation-en [106 kB]<br>
> Get:23 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/multiverse amd64<br>
> DEP-11 Metadata [63.8 kB]<br>
> Get:24 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial/multiverse DEP-11<br>
> 64x64 Icons [230 kB]<br>
> Get:25 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/main<br>
> Sources [90.6 kB]<br>
> Get:26 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/multiverse<br>
> Sources [728 B]<br>
> Get:27 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/main amd64<br>
> Packages [248 kB]<br>
> Get:28 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/main<br>
> Translation-en [98.1 kB]<br>
> Get:29 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/main amd64<br>
> DEP-11 Metadata [186 kB]<br>
> Get:30 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/main DEP-11<br>
> 64x64 Icons [150 kB]<br>
> Get:31 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/restricted<br>
> amd64 DEP-11 Metadata [157 B]<br>
> Get:32 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/multiverse<br>
> amd64 Packages [1,176 B]<br>
> Get:33 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/multiverse<br>
> Translation-en [628 B]<br>
> Get:34 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-updates/multiverse<br>
> amd64 DEP-11 Metadata [158 B]<br>
> Get:35 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-backports/main<br>
> Sources [752 B]<br>
> Get:36 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-backports/main<br>
> amd64 Packages [676 B]<br>
> Get:37 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-backports/main<br>
> Translation-en [524 B]<br>
> Get:38 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-backports/main<br>
> amd64 DEP-11 Metadata [197 B]<br>
> Get:39 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a><br>
> xenial-backports/restricted amd64 DEP-11 Metadata [194 B]<br>
> Get:40 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a><br>
> xenial-backports/multiverse amd64 DEP-11 Metadata [194 B]<br>
> Get:41 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/main<br>
> Sources [30.5 kB]<br>
> Get:42 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/multiverse<br>
> Sources [728 B]<br>
> Get:43 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/main amd64<br>
> Packages [117 kB]<br>
> Get:44 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/main<br>
> Translation-en [44.8 kB]<br>
> Get:45 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/main amd64<br>
> DEP-11 Metadata [44.0 kB]<br>
> Get:46 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/main<br>
> DEP-11 64x64 Icons [50.8 kB]<br>
> Get:47 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/restricted<br>
> amd64 DEP-11 Metadata [158 B]<br>
> Get:48 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/multiverse<br>
> amd64 Packages [1,176 B]<br>
> Get:49 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/multiverse<br>
> Translation-en [628 B]<br>
> Get:50 <a href="http://archive.linux.duke.edu/ubuntu" rel="noreferrer" target="_blank">http://archive.linux.duke.edu/ubuntu</a> xenial-security/multiverse<br>
> amd64 DEP-11 Metadata [200 B]<br>
> Fetched 6,174 kB in 6s (452 kB/s)<br>
><br>
> Error downloading stage packages for part 'clock': no such package<br>
> 'qtubuntu-desktop'<br>
<br>
</div></div>Hey,<br>
<br>
>From this output, it seems that the failure is in pulling the<br>
"qtubuntu-desktop" package. This package still exists in xenial and is<br>
in the universe pocket.<br>
This is failing for you because it seems that universe isn't enabled in<br>
your system sources.list. Do you mind checking this? "apt-cache policy<br>
qtubuntu-desktop" should returns some packages to you<br>
<br>
Cheers,<br>
Didier<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: +86-13911181302</div></div></div>
</div>