General :: Yum Repo Change Results In Mirror Path Errors
Mar 24, 2011
I just changed repos back to a standard CentOS base repo due to the custom one I was using needing https, and due to a proxy issue, only have http.When I run yum update, it finds that the path for the mirrors is off slightly giving me 404 errors.
View 7 Replies
ADVERTISEMENT
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
Sep 14, 2009
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
View 7 Replies
View Related
May 31, 2011
Current script:-
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
View 7 Replies
View Related
Jul 1, 2011
i want install goldendict and source downloaded and i want compile it. for compile i need this packages :
Building under Linux: Make sure you have those dependency packages installed: libvorbis-dev, zlib1g-dev, libhunspell-dev, x11proto-record-dev, qt4-qmake, libqt4-dev, g++, libxtst-dev, libphonon-dev. They can be named slightly different in different distributions
View 5 Replies
View Related
Sep 27, 2010
I'm wondering if its possible to add an external, non-Ubuntu mirror to my mirror server?
We have a few packages which need to be deployed during kickstart (Cinelerra and Eclipse plugins), and I would like to put them into my mirror repo so they are grabbed during kickstart, rather than manually adding them after the system is up.
View 1 Replies
View Related
Jan 21, 2010
After reading a lot of docs, I'm still having problems using wget to download a Centos repo from a mirror. Here's my best attempt so far:
$cd /repos/centos/5.4
$wget -r -nH --cut-dirs=3 -np [URL]
Of course I get all the unwanted index files etc, but I seem to get a lot of other downloads from the mirror, not just their 5.4 directory. It's like it's following other links on the web pages. Maybe I should be using "ftp://" instead of "http://" considering it's an ftp site, but I seem to have connection problems that way.
View 1 Replies
View Related
Apr 17, 2010
Release upgrade ends up with error:
"Error during update. A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. The server may be overloaded. Restoring original system state".
When doing do-release-upgrade -d to upgrade from karmik to lucid. I using local mirror ftp://ubuntu.snacho.ru (also have http that works but not browseable). When I change lines in /etc/apt/sources.list from local mirror to official [URL] all works fine. I don't want to download 1Gb from internet (because of traffic cost). What is wrong with local mirror ? I can communicate with its owner, but what he needs to change on the mirror ?
View 1 Replies
View Related
May 24, 2010
I want to set up an installation server for CentOS 5.5, using PXE for boot, kickstart for package selection (one for server), and NFS for share all files needed.I've succesfully completed a fresh installation of CentOS5 from the DVD for one of my servers (virgil), and I've copied the anaconda-ks.cfg generated by the installer to my install server (beatrix).
Next, I've properly configured the /etc/dhcpd.conf , the /tftpboot/pxelinux.cfg/<IP_CODED> and the /etc/exports for NFS sharing on beatrix.Then, I've copied all the first DVD of CentOS5 content in this folder on beatrix: /opt/CentOS_install I've tried to start virgil from ethernet, and all has gone ok, with the kickstart and so on! But I've decided to apply the updates (new kernel, sudo, xorg, ...), so I've deleted the old rpms from /opt/CentOS_install/CentOS and copied the new ones (downloaded from http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/). So, I've launched the following commands to recreate the repodata:
root@beatrix:/opt/CentOS_install/ # mv repodata/comps.xml CentOS/
root@beatrix:/opt/CentOS_install/ # rm -fr repodata
root@beatrix:/opt/CentOS_install/ # createrepo -p -o /opt/CentOS_install/ -g comps.xml /opt/CentOS_install/CentOS
But when I try to reinstall virgil, an error message appears, telling me that a package (perl-DBI-...) isn't present in the media.After some debugging, I've noticed that in the /opt/CentOS_install/repodata/primary.xml.gz there isn't the correct path for the rpms. If you look at the original primary.xml, the "path" is like:path="CentOS/abcxyz.rpm" while in the generated file (with createrepo) the path is:
path="abcxyz.rpm".How can I recreate the repodata with the correct path information?
View 6 Replies
View Related
Mar 14, 2009
I want to enable User Directories in Apache. So in httpd.conf I set:
Code:
<IfModule mod_userdir.c>
#UserDir enabled // commented out
UserDir public_html
</IfModule>
Directory /home/kees is listed has the following file permissions: drwx--x--x 32 kees kees
Directory /home/kees/public_html has the following file permissions: drwxr-xr-x 2 root root
Directory public_html has two files: index.html and index.php, both with file permissions: -rwxr-xr-x 1 root root If I now try to open http://myhost/~kees/index.html (or index.php) in my browser I get a 403 Forbidden error. If I look in my error log I see the following messages if I first try to open the index.html and then the index.php file:
[Code]...
View 4 Replies
View Related
Apr 2, 2011
I have been getting these errors while running update manager and I can't seem to find specific information or how to resolve these problems. Was hoping someone could please provide me with some details about why they are occurring so I can deal with them myself next time and how I can go about fixing them now.
Quote:
W: Failed to fetch http://mirror.pacific.net.au/linux/u...ic/Release.gpg Could not connect to mirror.pacific.net.au:80 (61.8.0.17), connection timed out
W: Failed to fetch http://mirror.pacific.net.au/linux/u...tion-en_GB.bz2 Unable to connect to mirror.pacific.net.au http:
[code]....
View 9 Replies
View Related
Mar 12, 2011
I was changing my sudoers file to give permission of using "sudo" command to all root commands, asking for the password. It works, it's fine. The problem I'm having is with the variable PATH to my user, I think.
In terminal:
normal user:
Code:
ataias@ataias-notebook:~/Downloads$ echo $PATH
/usr/local/bin:/bin:/usr/bin
super user:
Code:
root@ataias-notebook:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
As many commands are in /sbin/, root can use them without writing "/sbin/" but I can't do the same cause it's not in my path.
while root do this:
Code:
shutdown -h now
I should do:
Code:
sudo /sbin/shutdown -h now
and I want to use only
Code:
sudo shutdown -h now
I want to change my user's path variable to make it equal to root's path. how to change it? I don't know many things of shell still.
View 5 Replies
View Related
Oct 16, 2010
I want to add my current working directory to the PATH variable and make it permanant in my .bash_profile so I can run my testscript without using the ./ charactors.can this be done?
View 5 Replies
View Related
Jun 8, 2011
im trying to do a zypper update for opensuse 11.1 and i get an error from the packman (essentials) repo,
it says that i can't find ./i586/libgupnp-1_0-3-0.13.0-3.2.i586.rpm in Index of /pub/linux/misc/packman/suse/11.1/Essentials
but I've checked and It IS there.I paste the complete error below.
[Code]...
View 9 Replies
View Related
Nov 18, 2010
In Linux, Is there a way to remember/change a path to a USB device? In my case, I need linux to remember that my USB serial adapter will stay on /dev/ttyUSB0, but when I unplug it and plug it back in, it switches to /dev/ttyUSB1. I'm using a debian-based distro(mint)
View 1 Replies
View Related
Sep 20, 2010
when i tried install any package using add/remove software it's go download in the web what i need package.i need change the installation source via cd or dvd drive,.So i want to change the installation source path.Please guide to me how to change the installation source path.
View 5 Replies
View Related
Jan 6, 2011
I have configured 3 drives on my machine.sda1 less than 10 GBsda2 less than 10 GBsda3 450 GBI have installed a software in /usr/share/MyApplicationand as I see /usr/share stays at sda2 and only 2 Gb is free but my application needs more than 3 GB free to run because it creates a temporary file greater than 3 GB during execution.Knows anybody any way how to make MyApplication stays in sda3 drive.
View 9 Replies
View Related
Oct 20, 2010
Trying to clean up my system having removed some factory repos so now I have the standard 4, update, oss, non-oss & packman. When updating and switchine to packman I get many Wrong Digest errors and when downloading many NO KEY messages.
What is the significance of the no key message. How can I renew keys from repo sites and what should I do about the Wrong Digest warnings?
View 2 Replies
View Related
Jan 16, 2011
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
View 14 Replies
View Related
Mar 22, 2011
Quote:
[root@localhost srvmdk]# yum install git
Loaded plugins: axelget, fastestmirror, langpacks, presto, refresh-packagekit
Adding en_US to language list
Loading mirror speeds from cached hostfile
[code]....
whenever I try to install something via yum, it automatically downloads stuff from mirror.cse.iitk.ac.in as shown above. However, i thinks there's some problem in that mirror because installation freezes after sometime and I have to start again. How do I change my mirror to another one, possibly nearest and fastest to me other than that?
PS: I use plugins axel and fastestmirror.
View 2 Replies
View Related
Apr 8, 2011
When I go to openSUSE Download Mirrors - Overview, after I click the "http" of the mirror I want, where do I click down to after that to get the proper url? It just keeps opening new folders, so what's the url I need to put in yast, say for the argonne national laboratory (usa) mirror?
View 2 Replies
View Related
Apr 6, 2010
I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:
$ time ./foo > /dev/null >> output_from_time_command.txt
View 1 Replies
View Related
Apr 12, 2011
i want to remove a path, but is in use.. How can i kill the zombie processes?
[Code]....
I guess i was wrong deleting first the disks that formed the path, but now how could i kill those zombie processes without a reboot?
[Code]....
View 2 Replies
View Related
May 30, 2010
I have laptop Dell Vostro V13:
[code]...
I'll provide this info, if this can help to improve Debian on this hardware. I always see this ACPI errors in dmesg:
[ 0.084001] ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node (20090903/nsaccess-429)
[ 0.084001] ACPI Error (psargs-0359): [^LPCB.EC0_.LANW] Namespace lookup failure, AE_NOT_FOUND
[ 0.084001] ACPI Error (psparse-0537): Method parse/execution failed [] (Node c14edd50), AE_NOT_FOUND
i also attached full dmesg, and some outputs. Hope, that this can be useful for core developers.
View 1 Replies
View Related
Oct 8, 2010
I use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
View 6 Replies
View Related
Feb 21, 2011
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
View 2 Replies
View Related
Apr 26, 2011
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
View 3 Replies
View Related
Apr 24, 2010
Actually i am getting message as => File '/repodata/repomd.xml' not found on [URL] but URL provided doesn`t exist.
View 2 Replies
View Related
Dec 1, 2009
I upgraded to F12 recently and due to SELinux I installed OpenOffice from repo. Now, I open an .ods file I made with orig. OpenOffice 3.1.1 on F11, and find that the font has become bold italic all through the 13 sheets and I can't change it. How can I change it to back non-bold, non-italic? I've looked through Options, but can't find anything useful for this.
View 5 Replies
View Related
Feb 6, 2011
I was installing yum from the server folder. first i copied the server folder in a folder which was at root then i change the current directory to server and then create a repo by using following command
Server]# rpm ivh createrepo then tab to get the correct name
then ]# createrepo .
]#cd /etc/yum.repos.d/
]# cp -apr rhel_debug_info.repo yum.repo
]# vi yum.repo
[Code]...
how can i completely install the yum so that i can install my necessary packages
View 1 Replies
View Related