Synaptic error msg after upgrade from Natty to Oneric
Received the following error message when trying to start Synaptic after upgrading from Natty to Oneric. Where and how to correct?
E: The value 'unstable' is invalid for APT::Default-
E: _cache->open() failed, please report.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Kyle Pearson
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Can you give the output of:
sudo do-release-upgrade
Thanks
Revision history for this message
|
#2 |
Request for additional information:
Sudo do-release-upgrade reports:
"Checking for a new ubuntu release
No new release found"
--
Sign me <<email address hidden>
Ubuntu <http://
Je ne sais quoi 1202 <http://
Sintel <http://
dicis, quando, et cui
)'(
http://
On Sat, Oct 15, 2011 at 2:35 AM, actionparsnip <
<email address hidden>> wrote:
> Your question #174349 on synaptic in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Can you give the output of:
>
> sudo do-release-upgrade
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
Try this:
Be sure you have a network connection active
Open a terminal by pressing ctrl+alt+t
if doesn't work press ctrl+alt+f1 and made login with your user and password, then type:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get -f upgrade
sudo apt-get -f dist-upgrade
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
give your user password when requested, you don't see nothing when you type it, then press enter.
Revision history for this message
|
#4 |
Thank you very very much for your kind suggestions. I tried your potential
solution and it did not work. Same msg appears:
"E: The value 'unstable' is invalid for APT::Default-
release is not available in the sources
E: _cache->open() failed, please report."
Paradoxically both UpDateManager and Ubuntu Software Center work. The
problem is with Synaptic and somewhere in /etc/apt/ near as I can reason it
out.
On Sat, Oct 15, 2011 at 1:50 PM, marcobra (Marco Braida) <
<email address hidden>> wrote:
> Your question #174349 on synaptic in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> marcobra (Marco Braida) proposed the following answer:
> Try this:
>
> Be sure you have a network connection active
>
> Open a terminal by pressing ctrl+alt+t
> if doesn't work press ctrl+alt+f1 and made login with your user and
> password, then type:
>
> sudo dpkg --configure -a
> sudo apt-get -f install
> sudo apt-get -f upgrade
> sudo apt-get -f dist-upgrade
> sudo apt-get autoremove
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo reboot
>
> give your user password when requested, you don't see nothing when you
> type it, then press enter.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
What is the output of:
lsb_release -a; cat /etc/apt/
Thanks
Revision history for this message
|
#6 |
It just returns the contents of the apt sources list with no indication or
pointers as to what might be the fault. Cleaned out all the PPA references
just in case there might be something there that caused it. The result was
still the same reference as before. Even went to another identical upgraded
drive that works and copied the files from /etc/apt thinking that would
solve the problem. Still got the same error msg. After two plus days of this
I am a bit tired so I figure there isn't much left to try. Waiting for a
friend to do a clean install and send me a copy of his /etc/apt so I can
compare.
Sources list:
lsb_release -a; cat /etc/apt/
LSB Version:
core-2.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
universe multiverse
deb-src http://
universe multiverse
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb http://
multiverse universe
deb-src http://
Appreciate the help but this one looks more and more like its time to nuke
and start over.
On Sat, Oct 15, 2011 at 6:40 PM, actionparsnip <
<email address hidden>> wrote:
> Your question #174349 on synaptic in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> What is the output of:
>
> lsb_release -a; cat /etc/apt/
>
> Thanks
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#7 |
Ok and the output of:
cat /etc/apt/
Thanks
Revision history for this message
|
#8 |
Out put from cat /etc/apt/
$ cat: /etc/apt/
On Sat, Oct 15, 2011 at 7:30 PM, actionparsnip <
<email address hidden>> wrote:
> cat /etc/apt/
Revision history for this message
|
#9 |
I'm getting the exact same problem, except with the word "natty" flagged, rather than "unstable".
I've grepped all the files located within /etc/apt, but the only places i find "natty" are in lines flagged as comments.
I've cleaned out apt, deleted all the cruft from apt, and reinitiated the upgrade following the steps above.
The problem has not gone away.
The upgrade took place yesterday night.
My computer is a Compaq CQ40 laptop, AMD64 processor, 2 G of RAM; fwiw, i had some problems yesterday when i ran out of space on my /usr partition.
Looking forward to any help y'all can give, and if i find anything i'll pop back on and let y'all know.
Cheers --
Revision history for this message
|
#10 |
The problem is in the /root/.
Cheers --
Revision history for this message
|
#11 |
Interesting. Don't have any help to offer at this point. Logic has failed so
I've started trying juju. Deleted Synaptic and reinstalled, cleaned the
cache, replaced /etc/apt folder with a clean install /etc/apt folder (if you
try beware of the gpg issues), looked at log files and in
/var/cache/
haven't "pinned" any external repositories and have removed all PPA
references. At this point I am given to believe that it is a reference in
some obscure "apt" file that points to "unstable." I figure if I can find
that file and change unstable to stable that might solve the problem... just
got your latest message and found the unstable reference and changed it.
Problem solved. Thanks.
On Sun, Oct 16, 2011 at 11:35 AM, Kyle Pearson <
<email address hidden>> wrote:
> Your question #174349 on synaptic in Ubuntu changed:
> https:/
>
> Kyle Pearson posted a new comment:
> I'm getting the exact same problem, except with the word "natty"
> flagged, rather than "unstable".
>
> I've grepped all the files located within /etc/apt, but the only places
> i find "natty" are in lines flagged as comments.
>
> I've cleaned out apt, deleted all the cruft from apt, and reinitiated
> the upgrade following the steps above.
>
> The problem has not gone away.
>
> The upgrade took place yesterday night.
>
> My computer is a Compaq CQ40 laptop, AMD64 processor, 2 G of RAM; fwiw,
> i had some problems yesterday when i ran out of space on my /usr
> partition.
>
> Looking forward to any help y'all can give, and if i find anything i'll
> pop back on and let y'all know.
>
> Cheers --
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#12 |
Tried the solution as found by Kyle Pearson and it resolved the problem for me. Thanks Kyle.
Kyle Pearson proposed the following answer:
The problem is in the /root/.
--
Found it on the last line before the closing "};" changed "unstable" to "stable."
Revision history for this message
|
#14 |
Similar problem upgrade from xubuntu natty to oneiric. Synaptic throws error. I reported bug #880003.
Thanks to this thread I have fixed the problem.
/root/.
I reasoned there must be some other thing in the configuration so I did
sudo apt-get remove synaptic
sudo apt-get autoremove
sudo apt-get install synaptic.
Synaptic now launched correctly.
I will update my bug report.
Revision history for this message
|
#15 |
I had the same problem with oneric to presise upgrade. I fixed it by changing in /root/.
DefaultDistro "oneric";
to
DefaultDistro "";
Then synaptic worked again. You can then go in and set your preferred distribution again, if you choose.