I've got a repository (3rd party, but not a launchpad one) in my APT sources list that takes a long time to respond on apt-get update.What I was wondering was if I could keep a local mirror of just that repository, and have apt-get update refer to it instead of the normal one, then leave a cron job to check the normal one for any updates.
I have several SLES 11sp1 servers and using SMT (Subscription Management Tool) to provide local mirroring and prevent all the unnecessary web traffic to update all these machines.
I found this article which is working out quite nicely to mirror the openSUSE 11.3 Updates which prevents all my openSUSE 11.3 machines from all going out getting the same update.
Code:
[URL]
I am looking to try and do the same with openSUSE 11.4 and with openSUSE 11.4 using the Tumbleweed repos. Has anyone done this or can someone provide some insight on what I need to do. I am thinking I can run this command
I should use* to provide me with openSUSE 11.4 Updates. For the Tumbleweed repo would I do the same and would that work?
Code:
smt-setup-custom-repos --name OpenSUSE_Tumbleweed --description "OpenSUSE Tumbleweed" --exturl http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ --productid *don't know what productid I should use*
Again I don't know what productid I should use or if it really even matters, could I use one that is not being used? I am trying to limit how many machines go out to the Internet to pull down updates. I would really like to have one system (SMT) pulll down any new files and all my clients get their updates from the SMT server.
I've set up a test machine with Ubuntu 10.04. It has two drives making one RAID 1 drive using mdadm. This RAID drive is where /home is mounted. I like to break things just to see what happens and to know what to do to resolve it before it happens for real. So I physically removed one of the drives that made up the RAID 1 (while it was off).
I then rebooted the machine. I thought since it was mirrored then /home would mount correctly using the other mirror. What actually happened was on the Ubuntu splash screen it said there was a problem mounting /home. I skipped the mounting, logged in and looked in /proc/mdstat. It reported one drive that was inactive it did not report the missing drive.
Currently I backing up the MBR, the C and the other partitions to an external USB HDD and from there I restore them if needed. I use the SystemRescueCd and commands like dd if=/dev/sd* of=/mnt/PC_name/backupmbr.1 count=1 bs=512 and ntfsclone --save-image --output /mnt/PC_name/PC_name_c.img /dev/sd*1 etc. I want to clone the HDD the way, however, that I omit the external USB drive. I want to connect the new HDD to the PC and do the cloning directly from one disc to the other.
My questions are:
- Can you provide me with the exact command? - Is that a difference if the disc is SATA or IDE? - Can I copy the disc even if the old disc don't wan to boot?
I have a mail server on Fedora 8. I would like to have a mirror to this server so that it takes over in case my server goes down.I dont know how to go about it.
I've always been under the impression that when using the console only a notebook's display is used. Apparently this is not the case as I just booted off of a SystemRescueCD and the display on the notebook was mirrored on my external HDMI connected monitor. I have a feeling this is set somewhere in the kernel, but where?
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.
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 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 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 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...
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.
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]
when i was trying to install perl with fedora using yum: # yum install perl i got the following error: Loaded plugins: presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again