Trying to update, but updates stop...

New to Debian (Or Linux in general)? Ask your questions here!

Trying to update, but updates stop...

Postby darekpawel » 2019-12-06 06:22

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
darekpawel
 
Posts: 4
Joined: 2019-12-06 06:16

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

Postby L_V » 2019-12-06 08:03

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}'
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

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

Postby darekpawel » 2019-12-06 09:19

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.
darekpawel
 
Posts: 4
Joined: 2019-12-06 06:16

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

Postby L_V » 2019-12-06 09:40

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
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

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

Postby eor2004 » 2019-12-07 00:08

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!
OS: Debian 10 Buster 64-bit DE: MATE 1.20 CPU: AMD Phenom II X4 925 @ 2.8GHZ RAM: 8GB CORSAIR XMS2 PC2-6400U DDR2 (CM2X2048-6400C5C) GPU: ATI Radeon HD 3200 Mobo: Gigabyte GA-MA78GPM-DS2H HDD: Hitachi 2TB (HUA723020ALA641) 7200RPM
User avatar
eor2004
 
Posts: 217
Joined: 2013-10-01 22:49
Location: Puerto Rico

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

Postby stevepusser » 2019-12-07 01:03

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?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.5, Mesa 19.3.3, 5.5 kernels, KeepassXC 2.5.3, Nvidia-driver 440.59, LibreOffice 6.4.1~rc1
User avatar
stevepusser
 
Posts: 11440
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable