Ubuntu Installation :: Add-apt-repository Not Working?
May 13, 2010
So I'm running what I believe to be the latest version of Ubuntu Server Edition 10.04 Lucid Lynx.
1. How do I find what version I'm running on the command line?
As it is, Sun's JDK was removed so I need to add it per the release notes.
However, following the instructions and running this command:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
Computer reply's with "command not found". Running a whereis on add-apt-repository, it appears it is not installed.
Today I installed Fedora12 from the DVD, so this is my first contact with all of you. The last years I ran very well with gentoo, but the time for system maintenance got to big the last few times I updated the system, so I decided to change and here am I. The Problem: My system is newly installed from the DVD and I was trying to run the first update, but got the following errormassage by KPackageKit:
Code: Error Type: Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main backend.dispatcher(sys.argv[1:]) File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher self.dispatch_command(args[0], args[1:])
[Code]...
It occured after informing me about the amount of packages that need to be updated and a message about some dependencies that have to be newly installed. At the moment I'm a bit lost about what to do. Also I realy don't know which system-information would be useful - let me know and I will answer.
I installed Fedora 13 in my new system from DVD image. Now I want to update all repositories. I coul'nt update. error message as below: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again
I updated my up to date F12 to F13. I have what must be a 640X480 display with no way to change it. I get an error:
"Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again" on all Yum commands so no yum installs are possible. I don't have the /usr/bin/GLX command So theAIGLX doesn't work.
I just did a fresh install of F14 using a Live USB. I can't do a yum update, I'm getting Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.I've done a yum clean all and I've tried coping the .repos from another F14 system that's working fine.
just installed a fresh copy of fedora 12 and getting this error when trying to update the system.
Code:
Error Type: <class 'yum.Errors.RepoError'> Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main()
Running System>Adminstration>Software Udates, I get the following errors
[code]...
Similarly, if I click on System>Add/Remove Software>Package Collections, I get No groups could be found. A cache refresh should fix this. I don't see how to do a cache refresh. I tried rpm --rebuilddb, which didn't do any good and um clean all which also did no good. I did manage to do the updates with yum updates But I don't want to have to use yum at the command line all the time to do updates.
I have a new install of opensuse 11.2 with gnome as desktop & gdm as window manager. Login OK. I added the Gnome community repositories & packman & ran an update. Now, with gdm login gives just wallpaper & no desktop. If I change to xdm as window manager I can login OK. The installed version of gdm is gdm-2.28.2-1.3.i586.
I want to move my working copy of an SVN repository from /usr to /homeCan I just move the repository using mv or is there something else that needs to be done?The same goes for deleting a working copy of a repository, if I wanted to delete my working copy could I just go ahead and delete it or is there some administration that needs to be done first?
I tried to install emergent using following guide:[URL](Ubuntu) However, I did not succeed, it seems that it could not install emergent properly. My far worse problem now is that it messed up my software center and update manager. I get following error message when starting the software-center:
Code:
Traceback (most recent call last): File "/usr/share/software-center/softwarecenter/apt/aptcache.py", line 105, in open self._cache = apt.Cache(GtkMainIterationProgress()) File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
[code]....
Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Malformed line 59 in source list /etc/apt/sources.list (dist parse)'
I installed a new source for multimediaI made the necessary updatessome paquets were created other were deleted.And now I don't have any sound, when it was working before I added the new repository
In kdesvn there is the Subversion->Ceneral->check out repository and there is also the File->open,
1) what is the difference between these two?
2) Also is there a way every time I launch kdesvn to have the same repository loaded in the same working directory?
3) When I change something into a file should I do file or whole folder commit? I am not sure what will be the best based on that I only write one comment which in the first case associates with the file only and in the latter associates with the whole folder.
Suse 11.0 nvidia software repository not working when the updater is run, and it gives an error message which indicates it must be out dated and no longer used. Here is the site in my repository for nvidia; [URL], I did try to add a new nvidia repository site with that Yast tool, but I could not get it to fully work. The new one I did find was as a ftp type, not [URL]. With this older Suse 11.0, and kernel 2.6.25.20-0.7-pae, then is it true that there may not be any more nvidia display driver updates available.? So then I should just remove that nvidia repository from the list, and be okay if the kernel does not update too much newer version, right ?
I have Fedora 13 in a VPS. I cannot work with yum. I got this error: [Errno 256] No more mirrors to try # yum list Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again.
I am trying to configure DNS on my CentOS 5. When i am trying to install BIND using YUM, i am getting the following error.
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 12] Ti meout: <urlopen error timed out> Trying other mirror.Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Pl ease verify its path and try again. I am able to ping from Linux to windows OS. But when iam trying to do
Error Type: <class 'yum.Errors.RepoError'> Error Value: Error getting repository data for installed, repository not found File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main code....
It mentioned bug report but I don't know where that is. I'll try later.
I installed FC10, but do not find xfig (command not found)..then I do password:xxxxxxx, and then do the following $yum install xfig, and I get the following error Loaded plugins: refresh-packagekit [URL].. [Errno 14] HTTP Error 401: Unauthorized Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386.
yum is completely broken. I cannot install or update any software. yum is always throwing:
Code: Loaded plugins: presto, refresh-packagekit Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&arch=x86_64 error was 14: PYCURL ERROR 7 - "" Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again I have tried globally to disable the gpg check as stated in other threads. I have no proxies or such in yum.conf or in my bashrc. If I manually click on the link it will resolve in firefox so I am sure it is not my net connection per se, it seems yum or curl is adding a : to the end of the url thats why it wont resolve properly.
I have done a yum clean all , which didnt really help either. reinstalling the rpmfusion repos isnt an option either as I start getting curl errors in the terminal. I am really at a loss here and am completely out of ideas as I cant install any updates or software , at first I thought the repositories were having problems with the holidays but this has been going on for 4 days now. /var/log/messages isnt showing anything either.
I did a clean install of Fedora 12 (AMD64) two days ago and I have been trying to update the packages. But it won't work. I keep getting these errors. I tried both Software Update and command-line utility to update. code...
While installing CodeLite on F13,there is some error:
[root@localhost ~]# yum install codelite Loaded plugins: presto, refresh-packagekit Could not retrieve mirrorlist HTTP Error 404 : mirroslist Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
what i should do to resolve this question?(the computer can conntect to network,because I'm in China?) I have googling this question,but those methods didn't work
I recently registered a Red Hat 5 machine. It registered ok and was able to do a yum update. Now, yum update gives this error:
Loaded plugins: rhnplugin, security There was an error communicating with RHN. RHN support will be disabled. Error communicating with server. The message was:
Temporary failure in name resolution Could not retrieve mirrorlist <red hat mirror url here>error was [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again I can ssh into the machine, and I can open up Firefox and browse the web. I have another Red Hat 5 machine set up and working fine, and I've checked that the /etc/yum.conf, /etc/sysconfig/rhn/up2date, .bash_profile, and /etc/hosts files are all the same (except for hostnames and ip addresses). I'm fairly new to Red Hat, and I don't know what other configuration files to check.
I've been trying to get my wireless working on the livecd to make sure its possible before I install it, but, I get a ton of errors when I install RPM's
Code:
Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1649, in install_files txmbr = self.yumbase.installLocal(inst_file)
[code]....
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again I get that one trying to install a driver installer from [URL]