how can I reset to default, or find out how my software sources were originally set when I upgraded to 9.10?
In error, I changed the check-marks in my software sources: / ubuntu software, other software and updates. I would like to know how to reset them to the same as when I upgraded from 9.04 to 9.10. Is there a default setting, a screen shot available or something I can do in terminal. I believe I have allowed untrusted software to run and update.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu yelp Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- GPAULIEG
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Why do you think you have untrusted software running? What's happening?
Everything in the Ubuntu repositories should be clean (ie. no malware). You might have dodgy software if you added a suspicious repository in the "Other Software" tab or installed a suspicious application using a .deb file.
You shouldn't need to reset your repositories to defaults. Removing repositories after you've installed software from them is usually a bad idea because you won't get the updates.
Revision history for this message
|
#2 |
go to system - administration - soft ware sources there you will find a "revert" button.
David
in TN
Revision history for this message
|
#3 |
All software sources on the "Ubuntu Software" tab are repositories hosted by Ubuntu, and there shouldn't be trust issues with them. If you only have trusted Ubuntu sources enabled and you still get a warning about unauthenticated software sources or something similar, try refreshing package information for example by clicking "Reload" in Synaptic Package Manager. (If you change your software sources, you should also be prompted for refreshing package information, so that should also do it.)
As for software sources on the "Other Software" tab, the Canonical Partner repository is an official Canonical software source and shouldn't cause any trust issues. The entry for that repository is "http://
If you have other sources than the Canonical Partner repository and an Ubuntu CD listed on the "Other Software" tab, those may be ones you've added yourself.
The defaults for the "Updates" tab are to enable security updates and recommended updates but to disable pre-released and unsupported updates. Any of these update settings shouldn't cause any trust issues, however, since all updates sources configurable on that tab are trusted Ubuntu sources.
The revert button doesn't actually revert your configuration to default values but just reverts any changes you've made since opening the Software Sources configuration.
If you still have issues, can you give a better description of the problem you're facing, the exact error message you get (if any), etc.?
Revision history for this message
|
#4 |
When I "run" update manager this happens:
several updates show available, I choose to install them all
a pop up screen says
"apply the following changes?"
This is your last opportunity to look through the list of marked changes before they are applied"
"Warning"
You are about to install software that can't be authenticated. Doing this could allow a malicious individual to damage or take control of your system"
then etc..etc..
Let me clarify the key to my issue is self inflicted!I made changes to the Other software tab and update tab and did not save a copy of what they were!!!
Under Ubuntu Software-only source code is unchecked, set to main server
Under Other Software http://
Under Update tab: only pre-released updates and unsupported updates are unchecked.
I am very appreciative of your efforts and time!!!!
Revision history for this message
|
#5 |
Looks like you had Medibuntu and it was disabled when you updated. After you re-enabled it, the key wasn't added so now you're having key errors.
Delete the repository entirely from Software Sources, then follow the instructions on this page in the "Adding the Repository" section.
https:/
You can copy and paste their big long command into Terminal (Ctrl + Shift + V, or Edit > Paste to paste).
Revision history for this message
|
#6 |
There are a few options I can think of that could cause such issues. Could you try and find out the following pieces of information and let us know?
1. How long has the issue persisted? Just for a day or two? Several days? Weeks? Do you remember doing something particular with your software sources just before the problem with updates appeared? Did the problem occur right after you enabled the Medibuntu repositories?
2. When you try to apply updates and the warning appears, can you try and open the details of the warning? It should allow you to view which packages the updater is unable to authenticate. Are all packages being updated suffering from this, or just specific packages?
3. Also, I've sometimes seen temporary package authentication problems even with official Ubuntu repositories, perhaps due to the package information refresh being interrupted or something. Those temporary problems have been solved by refreshing the package information. That's why I asked if you could try that. If you haven't done it yet, could you click the "Check" button in Update Manager to re-check for updates and try applying the updates again? Does that have any effect?
4. You mentioned that you believe there's something wrong with your "Other Software" settings. If the suggestions given above didn't help, have you tried temporarily unchecking the Medibuntu or other entries on the "Other Software" tab?
5. The keys used for authenticating packages are listed on the "Authentication" tab. You should have one entry for the Ubuntu Archive Automatic Signing Key and probably one for the Ubuntu CD Image Automatic Signing Key. Also, if you use other archives such as Medibuntu, there should probably be a separate key for that, too. Does it look like any keys are missing?
6. Judging by your previous message it looks like your Medibuntu software sources are for Ubuntu 9.04 and not for 9.10. Is this on purpose?
Revision history for this message
|
#7 |
Ryan-here is a copy of my terminal session-it shows the original issue I was trying to correct when I made changes to software sources (see the failed to fetch portion)
paul@paul-
[sudo] password for paul:
--2010-01-11 20:10:51-- http://
Resolving www.medibuntu.
Connecting to www.medibuntu.
HTTP request sent, awaiting response... 200 OK
Length: 272 [text/plain]
Saving to: `/etc/apt/
100%[==
2010-01-11 20:10:51 (18.6 MB/s) - `/etc/apt/
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Err http://
404 Not Found [IP: 91.189.88.46 80]
Fetched 198B in 1s (164B/s)
W: GPG error: http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download, they have been ignored, or old ones used instead.
paul@paul-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
app-install-
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 17.1kB of archives.
After this operation, 176kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
app-install-
E: There are problems and -y was used without --force-yes
paul@paul-
Unfortunately, after trying all of this-I am right back to the warning screen when I try to run an update manager
Revision history for this message
|
#8 |
Mike-SORRY FOR THE CAPS
1. How long has the issue persisted? Just for a day or two? Several days-YES @ 5-6 DAYS NOW? Weeks? Do you remember doing something particular with your software sources just before the problem with updates appeared-
2. When you try to apply updates and the warning appears, can you try and open the details of the warning? It should allow you to view which packages the updater is unable to authenticate.-YES HERE YOU GO
libavcodec-extra-52 (version 4:0.5+svn200907
libavcodec-
apport-
libamrnb3 (version 7.0.0.2-
libamrwb3 (version 7.0.0.3-
Are all packages being updated suffering from this, or just specific packages? I DO NOT KNOW THE ANSWER TO THIS QUESTION
3. Also, I've sometimes seen temporary package authentication problems even with official Ubuntu repositories, perhaps due to the package information refresh being interrupted or something. Those temporary problems have been solved by refreshing the package information. That's why I asked if you could try that. If you haven't done it yet, could you click the "Check" button in Update Manager to re-check for updates and try applying the updates again? Does that have any effect? i HAVE BEEN HITTING CHECK AND DOING IT FROM UPDATE MANAGER AND TERMINAL AND GETTING SAME RESULTS
4. You mentioned that you believe there's something wrong with your "Other Software" settings. If the suggestions given above didn't help, have you tried temporarily unchecking the Medibuntu or other entries on the "Other Software" tab? YES, THAT ELIMINATES THE FAILED TO FETCH WARNING AND THEN ADDS THE UPDATES THAT CREATE THE WARNING OF AUTHENTICITY.
5. The keys used for authenticating packages are listed on the "Authentication" tab. You should have one entry for the Ubuntu Archive Automatic Signing Key and probably one for the Ubuntu CD Image Automatic Signing Key. Also, if you use other archives such as Medibuntu, there should probably be a separate key for that, too. Does it look like any keys are missing? THOSE ARE THE ONLY TWO KEYS THAT APPEAR.
6. Judging by your previous message it looks like your Medibuntu software sources are for Ubuntu 9.04 and not for 9.10. Is this on purpose? NO, AND IF THIS IS THE ROOT OF MY ISSUE PLEASE HELP EXPLAIN HOW I CAN RESOLVE IT!
AGAIN-I apologize for the caps-just trying to show my answers!
Revision history for this message
|
#9 |
You have entries for Gutsy, which is no longer supported. That's why you're getting failed entries for it. There's actually no problem with the Medibuntu repository - the first update after adding it gives the GPG error, but the package it installs stops that. The error you're getting in subsequent updates are from Gutsy alone.
Can you open your /etc/apt/
Revision history for this message
|
#10 |
I do not know how to do what you have requested????
Revision history for this message
|
#11 |
maybe this is it???
# See http://
# newer versions of the distribution.
deb http://
## Major bug fix updates produced after the final release of the
## distribution.
deb 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb 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 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://
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://
deb http://
deb http://
deb http://
Revision history for this message
|
#12 |
OK, you'll need to edit your sources.list file.
Go to Applications > Accessories > Terminal. Type in: sudo nano /etc/apt/
Press Ctrl + O then Enter to save your changes, then Ctrl + X to quit.
Then reload your packages and see what happens. If you still get errors you will need to install app-install-
Revision history for this message
|
#13 |
when I typed your first line (sudo nano...etc.. and then hit enter and typed in my password and then hit enter again this came up:
GNU nano 2.0.9 File: /etc/apt/
# See http://
# newer versions of the distribution.
deb http://
## Major bug fix updates produced after the final release of the
## distribution.
deb 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb 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 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://
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://
deb http://
deb http://
deb http://
I changed the two lines from Gutsy to karmic and added ONE # at the begining of each line. I will restart and run check for updates now!
Revision history for this message
|
#14 |
ran update check
pop up says
An error Occurred
The following details were provided:
W: GPG error: http://
going to try second recomendation
Revision history for this message
|
#15 |
did this:
install app-install-
same W:GPG error popped up again, clicked ok-then it offered a few updates that I installed. Not getting the failed to fetch anymore, but still getting same W:GPG error???? Clearly-you have guided me through some progress here, Ryan! Many thanks-could I ask for any last recomendations?
Revision history for this message
|
#16 |
The problem seems to be that for some reason the authentication key for the Medibuntu repositories is missing. Ubuntu uses those keys (listed in Software Sources -> Authentication) to verify the authenticity of packages it's about to install, and for some reason it's missing from your system.
When you earlier removed and re-setup the Medibuntu software sources as Ryan instructed, the "sudo apt-get --yes --quiet --allow-
Could you try installing the authentication keys once more by running the following command? Please include a copy of the output of the command here as well.
sudo apt-get --yes --allow-
Also, could you check if the file /usr/share/
Revision history for this message
|
#17 |
Hi Mike,
here is the outpu from terminal::
paul@paul-
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
medibuntu-keyring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,448B of archives.
After this operation, 49.2kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
medibuntu-keyring
Authentication warning overridden.
Get:1 http://
Fetched 3,448B in 0s (4,122B/s)
Selecting previously deselected package medibuntu-keyring.
(Reading database ... 180076 files and directories currently installed.)
Unpacking medibuntu-keyring (from .../medibuntu-
Setting up medibuntu-keyring (2008.04.20) ...
OK
paul@paul-
yes, there is the file /usr/share/
I am going to restart and try updates again
Revision history for this message
|
#18 |
I restarted, checked for updates-no errors and it said my most recent update was less than one hour ago! I am going to call this PROBLEM SOLVED!!! Ryan, Mike, David-I appreciate all of your responses and time! Best wishes!