RESOLVIDO: Eu deixo ficar por algumas horas e de repente funciona de novo. Não sei porque.
Eu tive um problema depois de montar e desmontar o disco do VMware Tools, e ainda tenho espaço no disco rígido, então esse não é o problema.
Ao executar apt-get update
(ou qualquer comando apt que envolva ação de gravação no sistema de arquivos), ele retorna o seguinte erro:
Ign:1 http://ftp.se.debian.org/debian stretch InRelease
Bra:3 http://ftp.se.debian.org/debian stretch Release
Fel:4 http://ftp.se.debian.org/debian stretch Release.gpg
Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
Läs:2 http://ftp.se.debian.org/debian stretch-updates InRelease [88,5 kB]
Läs:5 http://security.debian.org/debian-security stretch/updates InRelease [62,9 kB]
Fel:2 http://ftp.se.debian.org/debian stretch-updates InRelease
Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
Fel:5 http://security.debian.org/debian-security stretch/updates InRelease
Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
Hämtade 151 kB på 0s (608 kB/s)
Läser paketlistor… Fel!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.se.debian.org/debian stretch Release: Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.se.debian.org/debian stretch-updates InRelease: Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security stretch/updates InRelease: Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
W: Misslyckades med att hämta http://security.debian.org/debian-security/dists/stretch/updates/InRelease Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
W: Misslyckades med att hämta http://ftp.se.debian.org/debian/dists/stretch-updates/InRelease Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
W: Misslyckades med att hämta http://ftp.se.debian.org/debian/dists/stretch/Release.gpg Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
W: Vissa indexfiler kunde inte hämtas. De har ignorerats eller så har de gamla använts istället.
E: Couldn't create temporary file to work with /var/lib/apt/lists/ftp.se.debian.org_debian_dists_stretch_Release - mkstemp (30: Filsystemet endast läsbart)
E: Paketlistan eller statusfilen kunde inte tolkas eller öppnas.
Eu tentei executar: e2fsck -f /dev/sda2
mas retorna o erro de que o sistema está montado.
Então, tentei montá-lo como ler e escrever, mas sem mais sucesso.
Eu acho que uma solução para isso poderia ser reinstalar o Debian, mas eu tenho um host e um servidor MySQL nele e seria uma pena se tudo estivesse perdido.
Este é o meu kern.log
:
Aug 20 14:47:39 debian kernel: [49434.088879] UDF-fs: warning (device sr0): udf_fill_super: No partition found (2)
Aug 20 14:47:39 debian kernel: [49434.091270] ISO 9660 Extensions: RRIP_1991A
Aug 20 15:07:30 debian kernel: [50624.369853] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:08:06 debian kernel: [50661.286546] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:09:20 debian kernel: [50734.996517] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:10:39 debian kernel: [50813.404245] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:11:34 debian kernel: [50868.840057] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
E uma parte do meu syslog:
Aug 20 22:39:31 debian systemd[1]: phpsessionclean.service: Failed to run 'start' task: Read-only file system Aug 20 22:39:31 debian systemd[1]: Failed to start Clean php session files. Aug 20 22:39:31 debian systemd[1]: phpsessionclean.service: Failed with result 'resources'. Aug 20 22:40:01 debian CRON[22532]: (CRON) error (create tmpfile) Aug 20 22:40:01 debian CRON[22531]: (CRON) error (create tmpfile) Aug 20 22:41:01 debian CRON[22535]: (CRON) error (create tmpfile) Aug 20 22:41:01 debian CRON[22534]: (CRON) error (create tmpfile)
Tags debian