A few days ago I had an issue with the update manager, the problem was resolved however during the responses it came up that kubuntu was trying to connect to a non-existent repository. The updated started on their own again, but if I manually run it it is still trying to connect to http://ppa.launchpad.net natty/main Sources. I was told this is not a real repository and to remove it. When I go into the software sources I have six repositories checked that are some version of what this one says, but none are an exact match. I don't want to do the wrong thing here, I'm not sure which if any to uncheck. Also as an afterthought, the "toolbox" in the upper right corner of the screen no longer says toolbox with the golden swirl icon, it just says "unnamed", I have no idea when this happened or how, any thoughts?
Announcement
Collapse
No announcement yet.
[solved] which repository to remove
Collapse
This topic is closed.
X
X
-
Re: which repository to remove
In a terminal (konsole) run:
sudo apt-get update
At the end of this run, there will be one or more lines that say "Failed to fetch" and the location of the repository.
You should then be able to find the repository listed in /etc/apt/sources.list.d
There will be several .list files there, you can either delete the relevant file, or edit it and comment out the repository in the file.
If you need more help with this, please post the output of
sudo apt-get update
and
ls /etc/apt/sources.list.d
We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking
- Top
- Bottom
-
Re: which repository to remove
W: Failed to fetch http://ppa.launchpad.net/kubuntu-/pp...source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kubuntu-/pp...-i386/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kubuntu/ppa...source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kubuntu/ppa...-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
This is the error section of the update above
google-chrome.list kubuntu--ppa-natty.list
google-chrome.list.distUpgrade kubuntu-ppa-natty.list
google-chrome.list.save kubuntu--ppa-natty.list.save
kubuntu-ppa-backports-natty.list kubuntu-ppa-natty.list.save
This is the output of the directory.
- Top
- Bottom
Comment
-
Re: which repository to remove
There is something wrong with the kubuntu--ppa-natty.list and kubuntu-ppa-natty.list files. The output of the update program looks like those files were not properly written.
I believe the correct kubuntu-ppa-natty.list file would be:
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ natty main
deb-src http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ natty main
What I would do is delete the two files, and try adding the ppa manually:
cd /etc/apt/sources.list.d
sudo rm kubuntu--ppa-natty.list kubuntu-ppa-natty.list
sudo add-apt-repository ppa:kubuntu-ppa/ppa
sudo apt-get update
See if that fixes it.
For further information on kubuntu repositories:
https://launchpad.net/~kubuntu-ppa
We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking
- Top
- Bottom
Comment
-
Re: which repository to remove
Can't speak to kpackagekit as I don't use it.
Did the sudo apt-get update give you a message about an authentication problem? The add-apt-repository should have installed the required gpg key for verification. If a key is missing, the update should give you a warning about it.
If not try:
sudo apt-get -d dist-upgrade
This will download the update files without isntalling them, but what we are really looking for is an error message about installing unauthenticated packages. You can answer N when it asks if you want to install the files to get out of the program. Please post any error messages about authentication you get from either update or dist-upgrade.
One other thing -- as I said I don't use kpackagekit, but there may be an option somewhere in there to refresh or re-read the repositories. If so, you might try that.We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking
- Top
- Bottom
Comment
-
Re: which repository to remove
I get no error message with either of those, these updates have been showing in the package kit since before we started all this so I'm quite sure all these updates were likely recieved during the manual update. There are 173 of them and i feel the problem may be related to this thread http://kubuntuforums.net/forums/index.php?topic=3118432 which also showed up today. I don't see any way to clear them but am just as happy to use the terminal to get updates so its not a huge deal
- Top
- Bottom
Comment
-
Re: which repository to remove
Yes, that's where the updates are coming from.
If you're not getting the authentication warning, then you're good to go.We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking
- Top
- Bottom
Comment
Comment