Programming :: GIT - Remote Repository Moved - How To Tell My Local Repo To Use The New One
Jan 12, 2010
I have a local git repository that pushes to a remote repository. That remote repository moved to a new server. How do I make "git push" and "git pull" push/pull to/from the new repo?
View 3 Replies
ADVERTISEMENT
Nov 14, 2010
I have the need to SSH into a Slackware 12 box to provide remote support. I got this, but it doesn't provide for a real 2-way communication.
while : ;
do read -p "Enter text to Local: " TXT ;
DISPLAY=:0 Kdialog --inputbox "$TXT" ;
done
So this loops and all, but it doesn't have a history and I have to wait for a return from the Local operator. If the operator has changed focus I can be waiting all day for a response and I would have to start another session to post a second comment.
What is nice is that it's small and I can create the .sh when I remote in.
-----Update since I started
I now have two scripts to take over from the first one. I have to have 4 SSH running to get this to work.
1 SSH to move(archive) and create a chat.txt; it also fires off a .sh that fires off a console that tails a chat.txt so the operator can see the chat history
2nd SSH to fire off a .sh that loops a Local kdialog input box that appends the chat.txt 3rd SSH to tail -f the chat.txt file on the remote so I can see the chat history 4th SSH to loop a read -p on the SSH so I can append the chat.txt
View 5 Replies
View Related
Jun 28, 2011
I ran mv -n /desktop /user/local/bin and as a result everything on my desktop is gone. I tried the opposite mv -n /user/local/bin /desktop in the hopes of undoing it but now only one of those directories will exist at one time. What should I do? How badly did I screw things up?
View 3 Replies
View Related
Apr 5, 2011
Okay I finally decided to install openSUSE and I have a few questions. First and biggest, how do I add the packman repository as one repo? and will doing so add tumbleweed?
View 9 Replies
View Related
Aug 18, 2011
I'm trying to build a local YUM repository for RHEL 6 and am running into an issue. I can get the repo to build, but I cannot get the gruoplist. I can't find a comps.xml file to run the createrepo -g command against, like there is in RHEL 5. Here's what I have so far:
mkdir /yumrepo
copied RHEL 6 DVD contents to /yumrepo/rhel6
createrepo /yumrepo/rhel6/Packages
(repo builds its lis of 3500+ packages)
yum list shows the lsit of all files within the repo correctly.
I run gpk-application, and I receive the error "The group list was invalid." I need to create the group list. But I can't figure out how? Can someone please explain what I'm missing here? Never had this much trouble with 5, but I know a lot has changed with 6.
View 4 Replies
View Related
Sep 13, 2010
I have created a local repository to install linux with. (class assignment) Created the following file structure off of /html directory;
/yum/base/13/i386
/yum/updates/13/i386
copied the contents of the packages from my fedora dvd;
mount /dev/cdrom /mnt
cd /mnt/Packages
cp -v * /var/www/html/yum/base/13/i386
cd /
umount /mnt
using rsync against fedora mirror updated the base to have compete set of .rpm packages from the Everything directory. Ran createrepo /var/www/html/yum/base/13/i386 Verified repodata folder was created and the contents are correct, shown below
[Code]....
Boot the PC and start the install using a kickstart file (if you need to see it let me know), all runs fine until it gets to the point of resolving dependency then it errors out - unable to resolve dependency against the repository. May not be the exact phrasing but generally speaking to that effect.
View 2 Replies
View Related
Feb 13, 2011
I have a local repository, and declare also a remote one, I want to tell to apt-get to install a package from a local repo, if it exists. it seems that it begins from the remote. here is my sources:
deb file:/home/CD1 squeeze main
deb file:/home/extra6 /
deb http://ftp.fr.debian.org/debian squeeze main non-free contrib
View 1 Replies
View Related
Aug 8, 2011
I am trying to create a local debian repo for 3rd party apps and my own deb's. I have done the following: dpkg-scanpackages debian | gzip -9c> debian/Packages.gz Which did create a file called Packages.gz in the directory However, when I do apt-get update on a client machine I get the following error: W: Failed to fetch [URL] Could not connect to 10.1.1.10:8080 (10.1.1.10). - connect (111: Connection refused) W: Failed to fetch [URL] Unable to connect to 10.1.1.10:8080: W: Some index files failed to download, they have been ignored, or old ones used instead.
View 1 Replies
View Related
Aug 2, 2010
I'm trying to grab "repo" using curl and put it into /usr/local/bin/ but I can't seem to figure out why I'm getting a permission error:
Code:
$ sudo curl https://android.git.kernel.org/repo > /usr/local/bin/repo
bash: /usr/local/bin/repo: Permission denied
[code]....
View 1 Replies
View Related
Apr 15, 2010
I've created a local repository, my web server (apache) is up and running and my repo is inside it, so I want to install debian using it, in the stage of enter manually the info of the debian mirror I put:
1. debian archive mirror hostname:
192.168.10.1
2. debian archive mirror directory:
/repo
But after this, the installation tell me that it doesn't find the repo, I tried several ways, like: http://192.168.10.1; /repo/; /repo/ binary/ but nothing. What is the correct syntax to use my local repo?
View 1 Replies
View Related
Apr 9, 2010
i just installed centos 5.4 and trying to make my local repo have groups listing of packages like the mirrors do
so i can make an spin off of the OS to my needs for web servers only / so on but
i cant get my head around the groups making part of the creatrepo
does anyone have any tips or hints or know how to make group listing of the packages
i copyed the DVD to hard drive and the repo .XML files they came with it and tryed that way but no luck yet
im running out of things to try
View 5 Replies
View Related
Jul 15, 2009
I'm having trouble installing Fedora 11 using the URL method. When I put in a F11 netinstall CD, or even Disc 1, I press tab on the first option and add "askmethod" to the end of the text. Each time I point the installer to my local FTP and press enter after typing in the FTP url, the installer just hangs there. I've even tried deleting ALL the files from the F11 folder on my FTP server and downloaded ALL the files at:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/
Still...the same thing.
When I pointed the installer to:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/
Everything worked fine, albeit slow as it was DL from the NCSU FTP server.
Am I doing something wrong with my FTP server? It is anon, so there is no authentication issues.
View 5 Replies
View Related
Aug 16, 2010
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?
View 3 Replies
View Related
Nov 28, 2010
in home I do not have internet connection, but in work I have internet connection, in home I install Fedora 14 for my 6 years old daughter and she use it for play games like supertux and openarena and .So I want install opensuse for my daughter and I want test it. for fedora , I download all packages with rsync in work and move them to home by USN flash and then I make localrepo in home and install all packages , I need , I want do this for OpenSUSE , all of us know DVD , does not has all packages , I need , so I have to download all packages and make localrepo in home and install all packages , I need , Can I do this for OpenSuse or not ,I want download all packages need by OpenSuse by rsysc and make loacl repo, How I can do this for Opensuse ?
View 9 Replies
View Related
May 9, 2010
leaving the discussion is this logical or not. If I download the whole www folder to my hdd for example: from [URL] to /mnt/repos/oss/ and replace in package manager source [URL] with local one file://mnt/repos/oss will this work as it works from http server? What i want to do is to backup chosen repos before my linux release will be not supported anymore.
View 9 Replies
View Related
Mar 14, 2009
I have successfully installed fedora 10 and have rpmfusion in my /home/ directory. i don't know how to edit yum.conf to make yum install from this local repo. i tried once. But when i tried to install vlc i got an error saying some lib****** files are missing and missing dependencies.
View 2 Replies
View Related
Jun 17, 2010
I dont have a internet connection and I want to install VLC. I want to create a local repo for a vlc by downloading all the required packages. I tried to do by downloading all the packages from from VLC repo and create a local repo but failed. Its say this dependency failed and that dependency failed. i tried to manually install each and every dependency but still the problem exists.
View 2 Replies
View Related
Jan 30, 2010
I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?
View 3 Replies
View Related
Aug 16, 2010
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]...
View 5 Replies
View Related
May 11, 2010
I have setup a deb mirror that is syncing the Ubuntu repositories to my local server. I am maintaining various versions of Ubuntu, from Hardy through to Lucid. I am trying to get a copy of just "Karmic" repo's to my local HDD. The problem is all the packages are under one folder /pool:
main multiverse restricted universe How would I sync all the packages for just Karmic and not the other distro's to my local HDD.
View 1 Replies
View Related
Mar 25, 2011
I am running Ubuntu 10.10 as my OS. I also have an .iso file of OpenSuse. It has a lot of packages on it. Can I add it as local repository so that instead of downloading the files from net, if they are available on DVD then I can use them.
View 4 Replies
View Related
Jan 6, 2011
I freshly installed debian lenny using the 5 DVD set that I downloaded from debian.org. I want to create a local repository for all packages that are available in DVD so that I do not insert the disc everytime I install a new software. I have searched various forums but not able to figure the right way to do it.
View 1 Replies
View Related
Apr 12, 2010
how to make a local repository from dvd.?
View 6 Replies
View Related
Jan 30, 2009
I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
View 1 Replies
View Related
Feb 16, 2010
I am organizing for the 14th march a Linux installation fest, and I would like to have a local server with all packets that I will need to complete the installation.BUT I would like to have these packets in a way that is usuable by yum, so like having a local repository server.You will agree with me that I cannot mirror the entire repository server (for disk space) but some packets yes, but I don't know how.
View 4 Replies
View Related
Feb 24, 2010
Well 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.
View 4 Replies
View Related
Mar 6, 2010
I 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 Related
Jun 3, 2010
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 Related
Jan 10, 2011
I would like to set up a local repository, that serves my LAN, and store it packages I found on the web (using pkgs.org for example) , can you please link me a guide regarding this ?
View 6 Replies
View Related
Mar 21, 2011
I have a Fedora 12 and OpenSuse DVD with me. It consists of lots of packages and hence to install these packages I don't have to download them. What I want to do is copy the package folder on my local machine and then add them as repository in Synaptic Packet Manager.
View 1 Replies
View Related