[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Errors when updating chroot after install



Den 17.05.12 11.49, skrev Petter Reinholdtsen:
[Ole-Anders Andreassen]
When running apt-get update and upgrade, I get a lot of errors:
Are you using ltsp-chroot?


I use chroot /opt/ltsp/i386 then run apt-get

   2.
      E: Klarte ikke åpne fila /tmp/user/0/tzdata.template.53290 - open
      (2: Ingen slik fil eller filkatalog)
The messages about problems with /tmp/user/0/ is because TMPDIR and TMP is
set to a per-user directory only valid outside the chroot (due to security
and name space considerations).

To avoid it, try to call chroot like this:

   TMP= TMPDIR= ltsp-chroot
OK, I'll try this :)

OleA


Reply to: