Closed lxmuyu closed 1 year ago
Hi,
If you are building the stable branch, better to have the kas/opt/package-lock.yml
in the build command.
See https://github.com/siemens/meta-iot2050/tree/stable/V01.02#build-released-version
Hi,
If you are building the stable branch, better to have the
kas/opt/package-lock.yml
in the build command.See https://github.com/siemens/meta-iot2050/tree/stable/V01.02#build-released-version
Thank you for your reply, I'll try it now. There are results for you to reply.
@BaochengSu After a long build process, we can generate images, thank you! However, installing apts from snapshot.debian.org
is unstable, and the package installation timeout is serious ...This is another question. Thanks!
Glad you've done that.
The reproducible of the stable version image has been an outstanding issue for pretty a while, currently s.d.o throttles the bandwidth and the connections to avoid abuse.
However, some community efforts have been already paid to address such an issue, e.g. https://debconf21.debconf.org/talks/22-making-use-of-snapshotdebianorg-for-fun-and-profit/.
Some other workaround I found useful is to use some apt cacher (such as apt-cacher-ng) to cache the .deb packages, although it does not solve the first time downloading, it makes the following buildings more smoothly. However you need time and computing resource to implement such cache proxy.
when we build the image,we get the error:'Packages were downgraded and -y was used without --allow-downgrades',and it has some info 'The following packages will be DOWNGRADED: libssl1.1 0 upgraded, 571 newly installed, 1 downgraded, 0 to remove and 0 not upgraded. E: Packages were downgraded and -y was used without --allow-downgrades. WARNING: exit code 100 from a shell command.' . we clear the project and rebuild, the error is same.
How can we fix it ?
branch:origin/stable/V01.02 build cmd: ./kas-container build kas-iot2050-example.yml:kas/opt/mirror-example.yml error msg: Packages were downgraded and -y was used without --allow-downgrades log: