On Thu, Jan 24, 2019 at 12:15:54PM -0800, Ludovico Cavedon wrote: > Something is going wrong with the migration I have not been able to > reproduce yet.
I see the same issue. The cause is the line runuser -u ntopng -- tar xf- -C $DATA_DIR in postinst. The error message is a bit misleading, strace shows that tar is actually trying to open a file called '-C'. I am not an expert in tar's short option, but you might have hit an argument parsing issue in tar. Changing the line to runuser -u ntopng -- tar --extract --verbose --file - --directory $DATA_DIR has some chance to work (worked for me), but I think that's a style question and there surely is a way to write that in a way that tar will also accept with short options. I have tar 1.30+dfsg-4. btw, in my opinion this is a release critical bug. Hope this helps. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421