For the last week or so I've been receiving this error message when I execute apt-get update.
Err:13 http://security.debian.org stretch/updates/main Translation-en
Could not open file /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_i18n_Translation-en.bz2 - open (13: Permission denied) [IP: 128.101.240.215 80]
E: Failed to fetch http://security.debian.org/dists/stretc ... slation-en Could not open file /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_i18n_Translation-en.bz2 - open (13: Permission denied) [IP: 128.101.240.215 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I'm not overly concerned about missing security updates for a week or so.
Just seems odd the problem has not been corrected by now.
Tom
[Solved] Stretch Repository Errors
[Solved] Stretch Repository Errors
Last edited by outlaw on Fri Feb 23, 2018 2:08 pm, edited 1 time in total.
Re: Stretch Repository Errors
Weird. You might want try using MX Repo to have the Debian repo switched to the fastest.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Stretch Repository Errors
I wonder if this is related somehow
Running the updater via synaptic this morning, I was asked if I wanted to replace the Debian list, which, if we take a look at it, will have some ramifications on one of our tools to select the local repo. The sliver of text in the Synaptic window has the following and for clarity, I've attached a snapshot of the display which contained the "sliver"
Running the updater via synaptic this morning, I was asked if I wanted to replace the Debian list, which, if we take a look at it, will have some ramifications on one of our tools to select the local repo. The sliver of text in the Synaptic window has the following and for clarity, I've attached a snapshot of the display which contained the "sliver"
Code: Select all
--- /etc/apt/sources.list.d/debian.list 2017-12-28 20:29:30.909604866 +1300
+++ /etc/apt/sources.list.d/debian.list.dpkg-new 2018-02-08 12:19:08.000000000 +1300
@@ -1,11 +1,7 @@
# Debian Stable.
-deb http://ftp.nz.debian.org/debian/ stretch main contrib non-free
+deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
-#deb-src http://ftp.nz.debian.org/debian/ stretch main contrib non-free
-
-# Multimedia Stable.
-# Use to install libdvdcss2 and codecs.
-#deb http://www.deb-multimedia.org stretch main non-free
+#deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free
#stretch backports
#deb http://deb.debian.org/debian stretch-backports main
You do not have the required permissions to view the files attached to this post.
Mike P
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Re: Stretch Repository Errors
and I have chosen "replace" option here (Y).Running the updater via synaptic this morning, I was asked if I wanted to replace the Debian list...
Now I have in /etc/apt/sources.list.d
Code: Select all
debian.list
debian.list.dpkg-old
2nd question:
Also I have mxpm-temp.list in there. Is that normal?
Re: Stretch Repository Errors
That looks like a corrupted file, or one with bad permissions. Open a root Thunar and delete any files found in /var/lib/apt/lists/partial/ . Those are supposed to be temporary files that are removed once the download of the package lists is complete.outlaw wrote:Err:13 http://security.debian.org stretch/updates/main Translation-en
Could not open file /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_i18n_Translation-en.bz2 - open (13: Permission denied)
I've seen this happen before when the root partition became full during an apt-get update so it wouldn't hurt to check your free space.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: Stretch Repository Errors
The new debian.list removes the deactivated deb-multimedia repo, which often causes conflicts (gufw removal, for example) if everything is upgraded from it if activated. Though we recommend against that, some people seem to have forgotten to deactivate it after use, or assume it has our approval if it appears in the list. We recommend saying yes, then tweaking your entries with the repo manager again if necessary.
Re: Stretch Repository Errors
Thank you for your reply Jerry ...your suggestion didn't solve the problem but using a server located closest to me makes sense.
Thank you for your reply Tim.
Deleting all the files from /var/lib/apt/lists/partial/ then running apt-get update generated a new error message:
E: Failed to fetch http://security.debian.org/dists/stretc ... slation-en BZ2_bzread: /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_non-free_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC)
This suggests to me a corrupt file but seems unlikely.
Could someone suggest a alternative / mirror for: deb http://security.debian.org/ stretch/updates main contrib non-free
Thank in advance for any advice or suggestions.
Tom
Naturally nuts no pharmaceuticals required
Thank you for your reply Tim.
Deleting all the files from /var/lib/apt/lists/partial/ then running apt-get update generated a new error message:
E: Failed to fetch http://security.debian.org/dists/stretc ... slation-en BZ2_bzread: /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_non-free_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC)
This suggests to me a corrupt file but seems unlikely.
Could someone suggest a alternative / mirror for: deb http://security.debian.org/ stretch/updates main contrib non-free
Thank in advance for any advice or suggestions.
Tom
Naturally nuts no pharmaceuticals required
Re: Stretch Repository Errors
Looking around for an explanation, I saw several places where users who had the same Read error (-5: DATA_ERROR_MAGIC) message were able to recover by removing everything in /var/lib/apt/lists, including the partial directory. apt-get update worked properly after that. Every once in a while that error pops up if a disk is going bad but unless the new download of that file was into the exact same sectors it occupied the first time, that's fairly unlikely.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: Stretch Repository Errors
Thank you Tim your suggestion appears to have solved the problem.
Initially I only deleted the files in the partial directory.
Tom
Naturally nuts no pharmaceuticals required
Initially I only deleted the files in the partial directory.
Tom
Naturally nuts no pharmaceuticals required