(resolved)stretch 9.9 apt update no responding

Kernels & Hardware, configuring network, installing services

(resolved)stretch 9.9 apt update no responding

Postby classe » 2019-08-25 05:01

New installation of stretch 9.9, running "sudo apt update", the output is "0% [Working]" for long time(more than 6 minutes), so, I had to press ctrl-c to kill the operation.

To confirm, I reinstall the stretch 9.9 again(with wire network pluged, it's a long time installation), but the "apt update" output is the same as above: "0% [Working]".

Then, I tried to disable ipv6 through modifying the file of /etc/sysctl.conf, add the content below:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
and run sysctl -p (reboot the secong time )

Nothing changed. "apt update" still output: "0% [Working]".

I had replace the sources.list twice, using difference server. And, run apt clean several times.

ps: I can download the firmware from internet and install the firmware-iwlwifi through dpkg -i.
I can navigate the web using firefox through wire network and wireless netwrok.

So, what can I do next?


My laptop:
thinkpad w540
stretch 9.9 gnome
installation iso downloaded from https://cdimage.debian.org/cdimage/arch ... 64/bt-dvd/, and, shasum value is ok.
Last edited by classe on 2019-08-25 11:37, edited 1 time in total.
Posts: 22
Joined: 2018-11-20 05:58

Re: stretch 9.9 apt update no responding

Postby classe » 2019-08-25 11:36

Has been resolved.
I modified the sources.list with https server, not http server, and, new stretch system need apt-transport-https package to load https server.

I modified sources.list with http server, apt install apt-transport-https, then, modified sources.list with https server. Everything work fine.
Posts: 22
Joined: 2018-11-20 05:58

Return to System configuration

Who is online

Users browsing this forum: No registered users and 18 guests