You are not logged in.
Pages: 1
I recently started getting the following error while running 'apt-get upgrade' on my system. I'm not sure how to go about solving it.
Fetched 2,289 B in 1s (1,177 B/s)
W: Failed to fetch http://httpredir.debian.org/debian/dist … /InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Can someone help me out with fixing this?
cc
Offline
When I get to:
sudo chmod 644 /etc/apt/apt.conf.d/10-no-check-valid-until
I get:
chmod: cannot access '/etc/apt/apt.conf.d/10-no-check-valid-until': No such file or directory
Is it enough to just create the file and rerun the command?
Offline
When I get to:
sudo chmod 644 /etc/apt/apt.conf.d/10-no-check-valid-untilI get:
chmod: cannot access '/etc/apt/apt.conf.d/10-no-check-valid-until': No such file or directory
Is it enough to just create the file and rerun the command?
Don't do that, the echo command before that should have already created it. Try it again and see if it has been created...
echo 'Acquire::Check-Valid-Until "0";' | sudo tee /etc/apt/apt.conf.d/10no-check-valid-until
I don't care what you do at home. Would you care to explain?
Offline
gives the following commands:
echo 'Acquire::Check-Valid-Until "0";' | sudo tee /etc/apt/apt.conf.d/10no-check-valid-until
sudo chmod 644 /etc/apt/apt.conf.d/10-no-check-valid-until
Notice the first contains 10no and the second 10-no. Which is correct?
Offline
It's the first without the hyphen. I'll fix the Announcement post. Thanks!
I don't care what you do at home. Would you care to explain?
Offline
Pages: 1