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

Re: Synaptic messed up




On 06/26/2014 08:13 AM, Tony Baldwin wrote:
On Wed, Jun 25, 2014 at 11:16:56PM -0400, Maureen L Thomas wrote:
On 06/25/2014 09:21 PM, Tony Baldwin wrote:
On Wed, Jun 25, 2014 at 08:18:41PM -0400, Maureen L Thomas wrote:
I had an orange triangle show up where the upstate square usually
shows.  I clicked on it and got the following messages.

Error message:

Fetch failed: W:Failed to fetch ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/main/source/Sources
Unable to fetch file, server said 'Failed to open file. '

, W:Failed to fetch ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/contrib/source/Sources
Unable to fetch file, server said 'Failed to open file. '

, E:Some index files failed to download. They have been ignored, or
old ones used instead.




I opened synaptic and received the following:


E: The value 'stable-updates' is invalid for APT::Default-Release as
such a release is not available in the sources

E: _cache->open() failed, please report.




  I have no idea what the problem is.  It doesn't matter which of the
U.S. sites I pick I get the same messages.  I deleted synaptic and
re-installed it from the apt-get command line but it is still there.
Although today I did get a security update that worked just fine.

  Any thoughts on what I should do to fix this?
The errors tell us what the problem is.
stable-updates is an invalid value for APT::Default-Release
Probably somewhere in our /etc/apt/source.list you have
"stable-updates" where you should really have
"wheezy-updates".

Do us a favour and paste in the content of your /etc/apt/source.list

Tony
https://tonybaldwin.info
Here is the content of sources.list.save


deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://debian.cc.lehigh.edu/debian/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://http.us.debian.org/debian/ wheezy contrib non-free main
deb http://ftp.de.debian.org/debian wheezy-backports main non-free
deb-src http://ftp.de.debian.org/debian wheezy-backports main non-free
deb http://debian.cc.lehigh.edu/debian/ wheezy-updates main
deb-src http://debian.cc.lehigh.edu/debian/ wheezy-updates main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
You replied directly to me, and not the list.
I do not see "stable-updates" in here, but this is a back-up file from
when the sources.list was last edited. It's still possible that it was
edited and somewhere has "stable-updates" in it.

Tony


How do I find out what is suppose to be there or how do I fix it? I have basic knowledge of the command line so if someone would tell me how to fix it I will attempt to do so.


Reply to: