Ubuntu :: Curl Permission Error With /usr/local/bin/repo?

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


ADVERTISEMENT

Fedora Servers :: Cannot Create Local 13 Repo: Pycurl Error 6?

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

CentOS 5 Server :: Cannot Create Local Fedora 13 Repo: PYCURL ERROR 6

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

General :: Error: /usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info: Permission Denied

Sep 3, 2011

I am trying to install Python module on my machine. While installing, there is an error on terminal.It was OK until this step:

Writing

/usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info

Then it shows an error:

error: /usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info: Permission denied
m?PS. I use Ubuntu 11.04 and I am quiet new on Linux World.

View 1 Replies View Related

General :: Curl - Curl API To Configure Only The Required Protocol?

Jun 24, 2010

Is there any curl API to configure only the required protocol. If I have proper openssl installed, the installed curl will have all the protocols (like HTTP, HTTPS, FTP, File etc...) supported by default. Is there any way to allow or disallow only some of the protocol at the runtime. Say I need to support only HTTPS, FILE and I dont want to allow HTTP. Is there any way to do this?

View 1 Replies View Related

Server :: RHEL 6 Local YUM Repo?

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

Software :: Installing From Local Repo

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

Debian :: Tell To Apt-get To Install A Package From A Local Repo?

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

OpenSUSE :: Removing A Repo - Error "can't Find The Data For The 'problem' Repo"

Nov 20, 2010

I wasn't paying proper attention when adding a repo to yast and need to find the file were the info is saved to delete this. The problem is that whenever i use yast it comes up with an error code saying that it can't find the data for the 'problem' repo. Have tried zypper rm but that comes up with a similar error advising that the data is in a format that was not expected. My thinking is to track the file were the yast repo source details are saved, delete this and then just add the repos that i use back.

View 6 Replies View Related

Debian Configuration :: Local Repo - Apt-get Failing Release.gpg

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

Debian :: Setting Up Info Of Local Repo In Installation

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

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 View Related

CentOS 5 Server :: Making A Local Repo With Groups?

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

Fedora Installation :: Creating Local Repo For HTTP / FTP Installs

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

OpenSUSE :: Download With Rsync All Packages And Make Local Repo?

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

OpenSUSE Install :: Hdd Local Repo - Release Will Be Not Supported Anymore

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

Networking :: Curl And Wget Error 400 Bad Request?

Nov 9, 2010

I use slackware current, and curl and wget give the following errors:

Code:
repo@cannabis ~]$ wget -r http://users.telenet.be/reggersjans
--2010-11-09 13:48:14-- http://users.telenet.be/reggersjans
Resolving users.telenet.be (users.telenet.be)... ::ffff:74.117.221.11, 74.117.221.11
Connecting to users.telenet.be (users.telenet.be)|::ffff:74.117.221.11|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request

[Code]...

View 7 Replies View Related

Slackware :: Php Curl Can't Resolve Host Getting Error?

Jan 26, 2011

I have a strange problem with using curl function in php on slackware machines. So far I tested this on 2 PCs. I din't test it on any other distributions, so I don't know if it's only slackware problem.

Problem is that I can't use php curl in normal way. It can be tested wit simple code:

Code:
$ch = curl_init("url");
$content = curl_exec($ch);
if (curl_error($ch)) {
echo(curl_error($ch) . "<br>");
}
echo($content);
When I'm opening this php script in browser I'm getting error message:

Code:
Couldn't resolve host 'google.lv'
but I can use curl command in terminal, also it works when I run this php script in terminal like:

Code:
php ./curl_test.php
So problem is not in curl or php itself, but in apache, because this happens only when this script is running in apache.

Searching google a lot, I got to conclusion that apache can't read /etc/resolve.conf file during startup. Strange thing is that it happens only when httpd starts during system startup, but if I'm stopping httpd and starting it again manually, it works as it should until I'll reboot my PC. Restarting httpd also do not work, I need to do start -> stop.

I think that apache reads /etc/resolve.conf only when it starting up and as I have DHCP, maybe network is still not ready at the moment of httpd startup.

I didn't try to configure php as php-cgi instead of apache module, I think then it would work normally because each php script would be separate process and it would read dns information each time, so the same like starting php script in terminal with command:

Code:
php ./curl_test.php
I think there are some ways to workaround it, e.g. delay somehow start of httpd during system startup, or something like that, but I want to find reason of this problem and make it work without any workaround.

View 1 Replies View Related

Fedora Installation :: Edit Yum.conf To Make Yum Install From Local Repo

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

OpenSUSE Multimedia :: Create A Local Repo For A Vlc By Downloading All The Required Packages?

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

General :: How Much Disk Space Needed To Setup Local Repo Mirror

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

SUSE :: Registration Error - Curl: (7) Could't Connect To Host

Feb 17, 2010

I have two suse linux server. Recently we got the license key. In one server i could able to register successfully. Another server is throwing an error.i am using yast-software- Novel customer center configuration. After selecting configure now, i am getting error has follows Execute curl command failed with 7 curl: (7) could't connect to host.

View 3 Replies View Related

General :: Using CURL To Download All Files In Certain Folder - Except 404 Error Page?

May 6, 2011

I'm using cURL in ubuntu to download some files like

While some files may be missing from this sequence but when I just use curl -O [url]

cURL will download a 404 error page for those missing ones. How can I avoid this?

View 1 Replies View Related

Slackware :: Running Multi For 32 Bit Support - Error Loading CURL Library

Jun 27, 2010

I'm running Slack 13.1 64 bit. I'd like to try running multi for 32 bit support so I can run a 32 bit version of firefox using the 32 bit flash plugin. Here's what I did: - followed Alien Bob's Wiki and download and installed all the *txz files. - installed a bunch of required libraries following the instructions on the Wiki - installed the 32 bit 10.1 version of the flash player plugin in $HOME/.mozilla/plugins/ - started the 32 bit 3.6.3 version of firefox; it seems to work fine. - go to about plugins and verify that Shockwave Flash (libflashplayer.so) is version 10.1 r53 and it is enabled. - run "ldd libflashplayer.so" and verified that all libraries are found. - run "ldd /usr/lib/firefox-3.6.3/firefox-bin" and verified all libraries are found. - go to [URL]... and click on "test your adobe flash player installation" I will get this error: Adobe Flash Player error: could not load cURL library - I verified (repeatedly) that I do have what I think is the correct package. How can I fix (or start debugging) this error?

View 7 Replies View Related

Software :: CURL Post Data Command From Shell - HTTP Error Code 408

Jan 29, 2011

I am trying to connect to the web interface found at [URL] using curl. This first requires login information to be entered at [URL], but I am having an issue with the login process. I am trying to submit the following form via POST:

Code:
<form action="j_security_check" method="post" id="login_form" name="login_form">
<center> <table style="background: #cac1cf;FONT-SIZE: 12px;">
<tr> <td align="center" colspan="2">Please enter your username and password:</td>
</tr> <tr> <td align="right">Username</td>
<td> <input name="j_username" style="width: 250px" id="j_username" type="text"/> </td>
</tr> <tr>
<td align="right">Password</td>
<td> <input style="width: 250px" name="j_password" id="j_password" type="password"/> </td>
</tr> <tr> <td colspan="2" align="center">
<input value="Enter" name="enter" type="submit"/>
<input value="Clear" name="Clear" type="reset"/>
</td> </tr> </table> </center> </form>
The command that I am using for this is the following:

Code:
curl -c cookies -b cookies -L -d "j_username=user%40domain.com&j_password=pass" [URL]
The command is properly formatted as far as I can tell. I tested it with another website using a similar authentication scheme using different POST variables specific to the form and it worked fine.

When I run the above command with the -v tag, it reveals this:
Code:
* Connected to lcl.uniroma1.it (151.100.4.74) port 80 (#0)
> POST /sso/j_security_check HTTP/1.1
> User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: lcl.uniroma1.it
> Accept: */*
> Content-Length: 44
> Content-Type: application/x-www-form-urlencoded
>
} [data not shown]
< HTTP/1.1 408 The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
< Date: Sat, 29 Jan 2011 15:26:41 GMT
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1554
< Connection: close
<
{ [data not shown]
103 1554 100 1554 0 52 5081 170 --:--:-- --:--:-- --:--:-- 10223*
Closing connection #0

I cannot tell why the login timeout is expired when I try to do this, and my investigation toward this end has been fruitless. I saw a brief snippet on Google that vaguely suggested that the underscores in the domain name were at fault, but replacing these with their encoded counterparts did nothing to resolve the issue (that, and underscores should be fine when sent unencoded according to the standards). I have extensively perused the man pages and have come up with nothing to adequately explain this behavior. I also talked to a friend who has worked with curl in his line of work, but he mostly has experience in the context of PHP and has not dealt with this issue before. I am running GNU/Linux 2.6.35-22-generic-pae.

View 3 Replies View Related

Ubuntu Servers :: Fcannot Access Cgi-bin From Local-host - Permission Forbidden

Jun 16, 2011

Using httpd - everything usually works but I have written a cgi script and placed in cgi-bin but i cannot access this dir and keep getting forbidden messages. I have tried adding my root and usual user to the /etc/group file against the user stipulated in the httpd.conf file but i still can't access the cgi script i wrote (in browser - localhost/cgibin/myscrippt.cgi) when i place it in the cgi-bin under htdocs. i have also chmod 755 directory and files.

View 1 Replies View Related

General :: Error 'Method "curlQuery" Of Class "Twitter" Reported An Error: CURL Library Not Installed

Jan 19, 2010

I am installed cUrl from http://packages.ubuntu.com/lucid/amd64/curl/download for my ubuntu 9.0 with php 5.2 ,Apache 2.0.It was installed by gkebi package installer. but when i display phpinfo() curl not found since i was attempt to use phptwitter class. what is the proble i have? When i am trying to install again package installer shows same version of curl already found, but phptwitterclass shows following error 'Method "curlQuery" of class "Twitter" reported an error: CURL library not installed.'

View 1 Replies View Related

Programming :: CSH Permission Denied When Accessing Local File

Mar 9, 2011

I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script

Code:
#!/bin/csh
echo Enter a file name
$< = FILE ##Name of file
echo enter a size (in kilobytes) to monitor
SIZETOMON = $< ##Size value that's input by user
du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor
while (1)
if $SIZE > $SIZETOMON then
echo ALERT: File size is greater than $SIZETOMON
end

And here's the output
Code:
/home/lucer/foo.txt: Permission denied.
Badly placed ()'s.

I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.

View 14 Replies View Related

General :: Fix Error"CURLOPT_USERNAME \ Undeclared "in Curl Ftp Programming?

Jun 9, 2010

i have written file transfer program using libcurl.

#include <stdio.h>
#include <curl/curl.h>
#include <curl/types.h>

[code]....

View 1 Replies View Related

Ubuntu :: Wubi Error Windows 7 - Error Message Permission Denied

Oct 23, 2010

[code]...

Gives error message permission denied. I've seen this in your forums but I still haven't found the fix. I've tried the latest release Wubi downloader too. This one is ran from a CD. Version 10.04

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved