Re: upgrade failed debian 8.7
Mike Nunn <bonnie650@gmail.com> wrote:
> On 5 February 2017 at 14:47, Sven Hartge <sven@svenhartge.de> wrote:
>> Please test if just calling "strace sync" as root hangs as well.
> Yes it does
> strace sync
> .................
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=2855152, ...}) = 0
> mmap(NULL, 2855152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc63a03c000
> close(3) = 0
> sync(
> 20 minutes now, exits immediately on my local machine.
This should not take that long. On a normal system, sync times of over 2
seconds are rare and if you have something like a SSD or NVMe as storage
it should be nearly instant.
> Looks like you narrowed it down to an underlying problem.
You can unfuzz your package system by temporarily commenting the call to
"sync" in update-initramfs to get it to complete, but you really should
try to find out the real problem.
Maybe by using the latest kernel from backports.
S°
--
Sigmentation fault. Core dumped.
Reply to: