Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trying to update, but updates stop...

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
darekpawel
Posts: 4
Joined: 2019-12-06 06:16

Trying to update, but updates stop...

#1 Post by darekpawel »

I try to update 'debian' with command 'apt-get update && apt-get', but after downloading some packages the process stop - see screen.
Tried few times - but still the same...

Any solution for that???


Image


Sources:

Code: Select all

deb http://ftp.debian.org/debian buster main contrib

deb http://ftp.debian.org/debian buster-updates main contrib

deb http://security.debian.org buster/updates main contrib

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Trying to update, but updates stop...

#2 Post by L_V »

This is weird.
You can try this as a workaround, to see the next step.

Code: Select all

wget http://security.debian.org/debian-security/pool/updates/main/s/samba/samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb
dpkg -i samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb
apt update
+

Code: Select all

df -hTP | awk 'NR==1 {print}; /ext/ {print}' 

darekpawel
Posts: 4
Joined: 2019-12-06 06:16

Re: Trying to update, but updates stop...

#3 Post by darekpawel »

Thank you, still errors 'read error' and then 'reset by peer':

Code: Select all

root@Debian10:~# wget http://security.debian.org/debian-security/pool/updates/main/s/samba/samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb
dpkg -i samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb--2019-12-06 10:06:44--  http://security.debian.org/debian-security/pool/updates/main/s/samba/samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb
Resolving security.debian.org (security.debian.org)... 217.196.149.233, 212.211.132.250, 2a02:16a8:dc41:100::233, ...
Connecting to security.debian.org (security.debian.org)|217.196.149.233|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://security-cdn.debian.org/debian-security/pool/updates/main/s/samba/samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb [following]
--2019-12-06 10:06:45--  http://security-cdn.debian.org/debian-security/pool/updates/main/s/samba/samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb
Resolving security-cdn.debian.org (security-cdn.debian.org)... 151.101.12.204, 2a04:4e42:3::204
Connecting to security-cdn.debian.org (security-cdn.debian.org)|151.101.12.204|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5563212 (5.3M) [application/x-debian-package]
Saving to: 'samba-libs_4.9.5+dfsg-5+deb10u1_amd64.deb'

samba-libs_4.9.5+dfsg-5+  77%[=======================>        ]   4.12M   747KB/s    in 5.7s    

2019-12-06 10:06:51 (740 KB/s) - Read error at byte 4318808/5563212 (Connection reset by peer). Retrying.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Trying to update, but updates stop...

#4 Post by L_V »

If df command did not work, check if coreutils is installed.

Code: Select all

apt list coreutils
or try this one:

Code: Select all

lsblk -f

User avatar
eor2004
Posts: 251
Joined: 2013-10-01 22:49
Location: Puerto Rico
Has thanked: 4 times
Been thanked: 5 times

Re: Trying to update, but updates stop...

#5 Post by eor2004 »

Hi, possible solutions you could or should try:

1) Run as Root "apt clean" and then "apt-autoclean", then run again "apt update" and "apt upgrade" or "apt dist-upgrade"

2) If that doesn't work, then install package "netselect-apt" and run "netselect-apt" in a terminal, so debian searchs for a faster/available repos.

Hope this helps, good luck!
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Trying to update, but updates stop...

#6 Post by stevepusser »

Yes, full partitions could be one cause. You could install inxi and report the output of "inxi -P" so we could see the state of those.

Why is "&& apt-get" tacked onto the update command, when it won't do anything?
MX Linux packager and developer

Post Reply