[elbe-devel] Problems with internet connection?
Köry Maincent
kory.maincent at bootlin.com
Thu Sep 10 18:02:28 CEST 2020
Hello,
I got several times this error below in building a full image.
The error appears sometimes but sometimes all end well.
I am wondering if this is really a connection issue.
I am working on Ubuntu image and their repositories are quite stable.
Or even if it is a connection issue could we just retry the connect
action.
The code under get_rpcaptcache function appears not clear to me.
Regards,
[CMD]
chroot /var/cache/elbe/dfd904f3-b5dc-4856-8522-bfadbd5320f1/chroot /bin/sh
-c '[ -f /lib/systemd/system/serial-getty at .service ] && ln
-s /lib/systemd/syst
em/serial-getty at .service /etc/systemd/system/getty.target.wants/serial-getty at tty
mx0.service' [ERROR] Commiting changes failed Traceback (most recent
call last): File "/var/cache/elbe/devel/elbepack/elbeproject.py", line
1063, in install_pa ckages
self.get_rpcaptcache(env=target
).commit()
File "<string>", line 2, in commit
File "/usr/lib/python2.7/multiprocessing/managers.py", line 774, in
_callmethod raise convert_to_error(kind, result)
Error: E:Sub-process /usr/bin/dpkg returned an error code (1)
[CMD]
mv /var/cache/elbe/dfd904f3-b5dc-4856-8522-bfadbd5320f1/chroot/repo /var/cache/elbe/dfd904f3-b5dc-4856-8522-bfadbd5320f1/chroot/../
[CMD]
rm /var/cache/elbe/dfd904f3-b5dc-4856-8522-bfadbd5320f1/chroot/etc/apt/sources.list.d/local.list
[CMD]
rm /var/cache/elbe/dfd904f3-b5dc-4856-8522-bfadbd5320f1/chroot/etc/apt/trusted.gpg.d/elbe-localrepo.gpg
[ERROR] Failed to commit the AptCache changes. Probable cause might be:
- Problems with internet connection
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the elbe-devel
mailing list