Red Hat :: Create Local Yum Repository...when Show Error Set Up Update Prosses?
Dec 31, 2009how to create yum repository in rhel 5.3
View 1 Replieshow to create yum repository in rhel 5.3
View 1 RepliesI've made a terrible mistake that I changed files in /etc/yum.repo.d and /etc/yum.conf.Now I can't get update by yum update, saying that ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again. Now I'd like to reset everything to default.What can I do now?
View 8 Replies View RelatedWell my local LUG has developed a cooperation with the university. Their major is music. So we would like to develop a local repository to help the updates to be faster. I checked the How to set up a local Yum Repository on Fedora 8. I guess it's same with 12.
My questions are:
1. How much space do we need?
2. Since we might setup repository for another distro, is it a way to be done with other distro? The above address describes only how to make it in Fedora.
3. Since we'll have it installed and will be usefull for the university, can we make it available to the rest of the world? Maybe contact someone for this.
How to create a local APT repository for the intranet so that everyone in the local intranet can install directly from my local repository instead of communicating to the internet?
View 2 Replies View RelatedHere's the details to this mornings update error:
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 just installed Fedora Core 12 and when attempting use the update utility am receiving the following error:
[code]...
Recently i was able to setup a server which can work as a local yum repocitory in my envornment.However when i tried to update the packages in my repocitory using rsync from mirrors.kernel.org its giving a timeout error. The error i am getting is "rsync error: error in socket IO (code 10) at clientserver.c(107) [receiver=2.6.8]" I am having repocitory for centos 4.4 and 5.2(both 32 and 64 bit versions)
View 2 Replies View RelatedI use a local repository for ubuntu and when i use update manager it always shows gpg warning and shows that the information is out of date. Is there any way to suppress this warning. ( In Ubuntu 9.10 ) , so that update manager never compain about the local repository.
View 1 Replies View RelatedWe have several linux hosts at our site. I would like to set one of the servers to offer a local update service rather than have each host contact the public servers for update information. This would greatly speed the updates for each host since we only have a DSL connection (about 1.2Mbps transfer rate). Is there a tutorial somewhere that describes how to set up a "shadow" update server?
View 9 Replies View RelatedIf I try to do a software update, I get an error message. It is:
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
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:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
Why I can't update? Everything else works fine compiz, codecs, flash, java etc.
I am new to Linux and recently installed to Fedora12 to my Dell Inspiron 6400 and when trying to install updates I get this error
"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 backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 699, in dispatcher self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)"
I have a problem. When I start Yast, and it tries to download the update repository, there is a checksum error. The problem is, that this error is always there, it occured about 2 weeks ago and never disappeared. When I change the update repository to a specific one, I chose a german one, there is still that checksum error. If I say yast I want to still use the repository with the error, there comes another checksum error, if i say i dont care about that one either, it says
Code:
"Download failed:./repodata/primary.xml.gz could not be retrieved from http://download.opensuse.org/update/11.2/Progress:-[DownloadCommand.cc:195] caught EOF from server"
This is more technical. I installed F12 and then I tried to update the system (system - administration - softwareupdate). I receive the following error:
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
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:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
Is there a need to set more my repo?
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.
But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:
[local]
name=CentOS-$releasever - local packages for $basearch
baseurl=url
enabled=1
After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:
Quote:
[local]
name=Fedora $releasever - $basearch
baseurl=http://icld:8080/fedora/$releasever/local/$basearch
enabled=1
gpgcheck=0
protect=1
Yum returns the following error message:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again
The path is definitely correct - copying the url and pasting it into a webbrowser returns the correct repomd.xml file, so does pasting it to wget.
Any ideas? Does createrepo need any parameters in order to create a working Fedora repository?
I've got Opera for Linux on my Debian Lenny system, installed by adding their repository to my APT config, and it works great. Just recently there was an update. When I downloaded it, it could not install because the signature could not be verified.
W: GPG error: [url] lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9A2F76A9D1A0061
Why would that happen now when I already had the repository correctly setup in my apt files? I tried re-installing the key and that didn't change anything. Is there a problem with a public key server somewhere?
The problem is next: when I try to install kde 5 into my debian wheezy system (now have kde4), I add 'kubuntu-ppa/next' repo and then try to make 'apt-get update' from 'su'. But I catch next message:
W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/ne ... ce/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/ne ... 4/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/ne ... 6/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I installed F12 on a laptop of a friend of mine, and I'm getting errors upon recent updates. I don't know what is causing it, but I do get the following error message.
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()
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:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
I have just installed Fedora on my laptop. I tried to install the updates but there is something wrong:
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()
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:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in _is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
I have the following problem since yesterday.
Trying to update manually provides the following error message
I can't access fedora.project.org any more!
All other web access runs fine as usual.
I just did latest update and I get the following error message "The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. Failed to fetch [URL] 404 Not Found. Some index files failed to download, they have been ignored, or old ones used instead."
View 8 Replies View RelatedThis is the error: Could not download all repository indexes The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. I see that it is usually a problem with the etc/apt/sources.list file. I tried to fix mine from looking at others but cant solve the problem.
[Code]....
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:[local]
name=CentOS-$releasever - local packages for $basearch
[code]...
Some while ago I decided to add Firefox repository directly through terminal. (Idea born when I saw in one old page (yes, never look for info in old pages ) "tutorial" how to do it.) The whole idea was simple: just add one line in terminal.The line was like this:sudo add-apt-repository ppa:mozillateam/firefox-stableBut since that, when I try to update through update manager I get errors:Quote:
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E
W: GPG error: http://archive.canonical.com lucid Release: The following signatures couldn't
[code]....
Whenever I get the update notification I end up with this error screen: Could not download all repository indexes
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
GPG error:[url] ubuntu Release: The following signatures were invalid: NODATA 1 NODATA 2Failed to fetch [url] returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.
I never used Fedora and triyng to make a update but show some error. I have a Dell Inspiron 6400 in Fedora 12.
View 2 Replies View Relatedjust 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()
[code]....
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 am using 10.04 and I have to problems with my network connection. I can access the internet etc... When I go to check the Update Manager, I receive the attached error.
View 6 Replies View RelatedI've been trying to update Fedora 15 for weeks. I always end up with a transaction error and the update stalls. The error reads: GPG keys listed for RPM Fusion for Fedora Rawhide-free repository are installed but they are not correct for this package. Check that the correct key urls are configured for this repository.
This is far too involved for a linux newbie, I think my only option is to reformat and reinstall. This is so frustrating, there are 250 MB of updates available that I can't access.
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()
[code]....