[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get update problem



On Mon, Sep 22, 2014 at 06:20:38PM -0700, John Conover wrote:
> 
> Running "apt-get update" on one of my machines gives:
> 
>     W: Failed to fetch copy:/var/lib/apt/lists/partial/Debian%20GNU_Linux%207%20%5fWheezy%5f%20-%20Official%20Snapshot%20i386%20LIVE_INSTALL%20Binary%2020140723-18:32_dists_wheezy_main_binary-i386_Packages  Failed to stat - stat (2: No such file or directory)
> 
>     E: Some index files failed to download. They have been ignored, or old ones used instead.
> 
> and apt-get stops.    
> 
> Can this be repaired without a reinstall?

Of course!

What is the output of:

grep -v '^$\|^#\|^\s*\#' /etc/apt/sources.list{,.d/*}


Is this the first time you are running "apt-get update" on this machine.

Personally, I'd run as root

# rm /var/lib/apt/lists/partial/* 

then try running "apt-get update" again, and see if that fixes it.

It won't do any harm. 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: