Suddenly Cannot Upgrade Apps. [SOLVED]

Kernels & Hardware, configuring network, installing services

Suddenly Cannot Upgrade Apps. [SOLVED]

Postby DocTomJP » 2018-01-02 08:59

In Stretch, suddenly (in that last week everything was normal), I am unable to upgrade.

After running Update, I then progress to Full-Upgrade. The app. starts, I respond with "y", and upgrade begins. But within seconds it slows and apparently stops (in that no increase in bytes received is shown, and the curser either blinks or is static; sometimes the download rate at the RHS still shows a value, sometimes not.

Then a restart may occur, usually at a low download rate. But sometimes for less than a second or two, a rate of several PB/s(!) is shown, with no corresponding increase in the size of the downloaded chunk. Eventually when attempting a big download (Thunderbird security fix), it fails completely, reporting that the connection failed and and citing an IP address (133.242.99.74 80) which seems to be a Japanese server - organization for IP address 133.242.99.74 is SAKURA Internet in Japan. I have never used a Japanese mirror.

These events occur when I use aptitude or apt-get.

They also occur whether I have a HK mirror, or a Singapore mirror in my hosts file. (I live in Thailand.)

I have tried so many proposed fixes that I have just about forgotten what I have done. But one suggestion that I followed with great hope (only to have it dashed) was to set my preferences in the /etc/gai..conf file to try IP4 before IP6, as it was reported that a conflict may occur causing the problem. But no success!

Note that my internet access (Firefox) is behaving normally, with no signs of slow performance. A speed test showed about 10 Mb/s download, and 4 Mb/s upload speeds.

I have been using Debian Stretch for about 9 months, and previously Jessie for about 2 years. I have never before encountered a problem like this.

So I am stuck, unable to update. Please can somebody help.

(Note - I am an ageing amateur, so please be explicit with any instructions.)
Last edited by DocTomJP on 2018-01-05 03:47, edited 1 time in total.
DocTomJP
 
Posts: 16
Joined: 2015-06-08 05:21

Re: Suddenly Cannot Upgrade Apps.

Postby Capitain_Jack » 2018-01-02 12:17

I would wonder if you have https repositories and apt-transport-https package installed...have you?
"Great spirits have always encountered violent opposition from mediocre minds."
Albert Einstein
"All wrong-doing arises because of mind. If mind is transformed can wrong-doing remain?"
Buddha
User avatar
Capitain_Jack
 
Posts: 153
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.

Re: Suddenly Cannot Upgrade Apps.

Postby DocTomJP » 2018-01-03 03:49

Captain-Jack : thanks for your very rapid response.

My repos. are http, not https, and the apt-transport app. is not installed.

I have not seen the need to have https repos. in any of the sites that I have searched, and indeed the Debian Wiki shows examples as http, not https.

Further, I emphasise that the repos. in my sources list were apparently fine last week when all was well with upgrade speed and continuity.

Any further help will be greatly appreciated.
DocTomJP
 
Posts: 16
Joined: 2015-06-08 05:21

Re: Suddenly Cannot Upgrade Apps.

Postby Head_on_a_Stick » 2018-01-03 06:42

dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suddenly Cannot Upgrade Apps.

Postby Capitain_Jack » 2018-01-03 09:01

DocTomJP wrote:My repos. are http, not https, and the apt-transport app. is not installed.


Just try installing the apt-transport-https even your repository is normal and see what happens. The minimal is do not work, than only uninstall it, and at maximum works and you're all set.
"Great spirits have always encountered violent opposition from mediocre minds."
Albert Einstein
"All wrong-doing arises because of mind. If mind is transformed can wrong-doing remain?"
Buddha
User avatar
Capitain_Jack
 
Posts: 153
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.

Re: Suddenly Cannot Upgrade Apps.

Postby DocTomJP » 2018-01-05 03:39

Gentlmen : many thanks indeed for your attention to my problem.

I can report that the problem has gone away as mysteriously as it arrived! I did nothing further in attempts to overcome the problem, but at my last two attempts Upgrade proceeded normally; indeed it seemed very fast, so much so that it had finished downloading the 40Mb security upgrade for Thunderbird before I had noticed the speed indication!

I am suspicious that the problem resided with the Japanese server.

In any case I feel that I should close this post now, with my thanks once again for your inputs.

DocTom.
DocTomJP
 
Posts: 16
Joined: 2015-06-08 05:21


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable