Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #773901
| From | Wolfgang Schweer <wschweer@arcor.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#840667: ltsp-build-client fails at apt update call |
| Date | 2016-10-13 18:50 +0200 |
| Message-ID | <srRmF-5Xf-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: ltsp
Version: 5.5.8-1
Severity: important
User: debian-edu@lists.debian.org
Usertag: debian-edu
Hi,
while testing Debian Edu Stretch the LTSP chroot installation aborted.
This happened when apt-get update was run in the chroot and the stretch
InRelease file was about to be checked. The error message was somehow
misleading (asking if gnupg was installed).
(Same result if Debian-custom is moved out of the way.)
After further investigation I noticed, that the InRelease file check
needs a temporary file in /tmp. This failed due to wrong permissions of
the chroot's /tmp dir. Permisions were 0775, should be 1777 like it is
when a plain 'debootstrap sid /somewhere' is executed.
I have no idea where the wrong permissions come from.
This workaround made the chroot installation succeed:
diff --git a/server/share/ltsp/plugins/ltsp-build-client/Debian/020-apt-get-update b/server/share/ltsp/plugins/ltsp-build-client/Debian/020-apt-get-update
index 9139125..cb1a186 100644
--- a/server/share/ltsp/plugins/ltsp-build-client/Debian/020-apt-get-update
+++ b/server/share/ltsp/plugins/ltsp-build-client/Debian/020-apt-get-update
@@ -1,6 +1,7 @@
case "$MODE" in
after-install)
export APT_GET_OPTS="$APT_GET_OPTS -o Acquire::gpgv::Options::=--ignore-time-conflict"
+ chroot $ROOT chmod 1777 /tmp
chroot $ROOT apt-get $APT_GET_OPTS update
;;
esac
Please check.
Wolfgang
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#840667: ltsp-build-client fails at apt update call Wolfgang Schweer <wschweer@arcor.de> - 2016-10-13 18:50 +0200 Bug#840667: [Pkg-ltsp-devel] Bug#840667: ltsp-build-client fails at apt update call Wolfgang Schweer <wschweer@arcor.de> - 2016-10-14 11:50 +0200
csiph-web