At the debian bugtracker is also a bugreport about this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807948
It turned out that the user had manually set up /tmp which caused it to have the wrong permissions. I have not manually set up /tmp but on looking at it it has the permissions 0755 for root:root. Setting the permissions to 0777 does solve this issue. Since this installation is a bit old maybe it was just a migration issue. Maybe on installing apt a script should check if the permissions of /tmp are correct?
At the debian bugtracker is also a bugreport about this: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 807948
It turned out that the user had manually set up /tmp which caused it to have the wrong permissions. I have not manually set up /tmp but on looking at it it has the permissions 0755 for root:root. Setting the permissions to 0777 does solve this issue. Since this installation is a bit old maybe it was just a migration issue. Maybe on installing apt a script should check if the permissions of /tmp are correct?