LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2020, 12:04 PM   #1
EthanUsedWindows10
LQ Newbie
 
Registered: Mar 2020
Distribution: Debian 10
Posts: 12

Rep: Reputation: Disabled
Question Debian Software Giving Me Error, "Unable To Download Updates, failed to refresh cache" on Debian 10


I am a very new Debian 10 user, just started a few days ago. During that time, the sudo command didn't work but I got it fixed. However, when I went to the Debian Softare Store, if gave me an error that said, "Unable To Download Updates, failed to refresh cache" I didn't do anything to fix this, as I didn't want to mess anything up.
 
Old 03-23-2020, 12:24 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Never heard of the Debian software store. Have you opened a terminal and typed
Code:
apt update
and if so, what happens?
 
Old 03-23-2020, 12:28 PM   #3
EthanUsedWindows10
LQ Newbie
 
Registered: Mar 2020
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
it says this

Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
 
Old 03-23-2020, 12:30 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Sorry, my fault: you will need to run:
Code:
sudo apt update
and provide your user's password when asked.
 
Old 03-23-2020, 12:34 PM   #5
EthanUsedWindows10
LQ Newbie
 
Registered: Mar 2020
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
its ok

also it say this

Hit:1 https://dl.winehq.org/wine-builds/debian buster InRelease
Get:2 https://packages.debian.org/buster/synaptic buster InRelease
Err:2 https://packages.debian.org/buster/synaptic buster InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
E: Failed to fetch https://packages.debian.org/buster/s...ster/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.debian.org/buster/synaptic buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
Old 03-23-2020, 12:37 PM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
It appears you have added repositories to your
Code:
/etc/apt/sources.list
. Is this correct? None of the ones listed above are I believe, default.
 
Old 03-23-2020, 12:41 PM   #7
EthanUsedWindows10
LQ Newbie
 
Registered: Mar 2020
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
yes its correct
 
Old 03-23-2020, 12:43 PM   #8
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Remove or comment out the entries you added and then update. I don't use Debian so can't help solve why those entries do not work but I am sure there is a solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Updates failed, wifi gone, "running in software rendering mode", revert failed toddly Linux - Newbie 47 05-22-2019 08:53 PM
[SOLVED] unable to change cache type for LVM cache wowbaggerHU Slackware 4 02-16-2017 04:06 PM
Tor downloaded in centOS 7 but is failing to start and giving an error mesage that is "Failed to parse/validate config: Failed to bind one " th3g3ntl3man Linux - Newbie 1 01-20-2017 10:44 AM
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 02:00 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration