Sponsored Content
Operating Systems Linux SuSE Createrepo & reposync packages Post 302921223 by Junaid Subhani on Wednesday 15th of October 2014 05:58:11 PM
Old 10-15-2014
Createrepo & reposync packages

Hi guys,

I have a SUSE 10 box and is missing 2 commands:

reposync
createrepo

When I try to search for these using zypper :

Code:
server:/tmp # zypper search createrepo
Restoring system sources...
Not found: Media Exception
Not found: Media Exception
/repodata/repomd.xml (http://<REPO>) is unsigned, continue? [y/n]: y
Parsing metadata for -20131017-145927...
Parsing metadata for SUSE Linux Enterprise Server 10 SP4...
No packages found.

If I try to install it from another location (web) , it requires me to install dependencies. The dependencies require even MORE dependencies.

Is there a way to get a repo to install all packages required ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Search for & edit rows & columns in data file and pipe

Dear unix gurus, I have a data file with header information about a subject and also 3 columns of n rows of data on various items he owns. The data file looks something like this: adam peter blah blah blah blah blah blah car 01 30 200 02 31 400 03 57 121 .. .. .. .. .. .. n y... (8 Replies)
Discussion started by: tintin72
8 Replies

2. Red Hat

createrepo...YUM installation

i have 5 cd's of RHEL 5. how do i know which cd is the createrepo package in... is there any command or flags you can add to rpm command to install and the install processes will automatically ask for certain # of cd... (0 Replies)
Discussion started by: dplinux
0 Replies

3. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

4. Shell Programming and Scripting

replace & with &amp; xml file

Hello All I have a xml file with many sets of records like this <mytag>mydata</mytag> <tag2>data&</tag2> also same file can be like this <mytag>mydata</mytag> <tag2>data&</tag2> <tag3>data2&amp;data3</tag3> Now i can grep & and replace with &amp; for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies

5. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

6. Red Hat

Installing yum and createrepo

Hello all, I'm stuck with a problem on REDHAT Enterprise (uname -r show: 2.4.21-57.ELsmp) The only way to install package is using RPM, but since I'm a newbie I got a lot of dependencies warnings. I installed yum, but the problem now is that I'm not able to create a local repository to install... (6 Replies)
Discussion started by: Lord Spectre
6 Replies

7. Shell Programming and Scripting

Replace & sign to &amp word

Hi, I have text file abc.txt. In this file, I have the following data. Input: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith & Mrs Smith Mr Smith& Mrs Smith Mr Smith &Mrs Smith Output: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith &amp Mrs Smith Mr Smith&amp... (4 Replies)
Discussion started by: naveed
4 Replies

8. Red Hat

'yum install createrepo' issue

Hi, Here is the issue: # yum install createrepo Warning, could not load sqlite, falling back to pickle Setting up Install Process Setting up repositories file://var/yum_rpm/repodata/repomd.xml: OSError: No such file or directory: '/yum_rpm/repodata/repomd.xml' Trying other mirror. Cannot... (5 Replies)
Discussion started by: aixlover
5 Replies

9. SuSE

'createrepo' not found on SLES 10.3

Hello All, I'm trying to configure a SLES 10.3 machine as our Zypper server. I created the zypper directories with all the RPMs, made the directory structure accessible over HTTP but I'm stuck at the final stage: createrepo. Looks like 'createrepo' is not present on this version :confused: ... (3 Replies)
Discussion started by: satish51392111
3 Replies

10. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies
reposync(1)															       reposync(1)

NAME
reposync - synchronize yum repositories to a local directory SYNOPSIS
reposync [options] DESCRIPTION
reposync is used to synchronize a remote yum repository to a local directory, using yum to retrieve the packages. OPTIONS
-h, --help Display a help message, and then quit. -c CONFIG, --config=CONFIG Config file to use (defaults to /etc/yum.conf). -a ARCH, --arch=ARCH Act as if running the specified arch (default: current arch, note: does not override $releasever. x86_64 is a superset for i*86.). --source Also download .src.rpm files. -r REPOID, --repoid=REPOID Specify repo ids to query, can be specified multiple times (default is all enabled). -t, --tempcache Use a temp dir for storing/accessing yum-cache. -p DESTDIR, --download_path=DESTDIR Path to download packages to: defaults to current directory. -g, --gpgcheck Remove packages that fail GPG signature checking after downloading. exit status is '1' if at least one package was removed. -u, --urls Just list urls of what would be downloaded, don't download. -l, --plugins Enable yum plugin support. -n, --newest-only Download only newest packages per-repo. -q, --quiet Output as little information as possible. EXAMPLES
Sync all packages from the 'updates' repo to the current directory: reposync --repoid=updates Sync only the newest packages from the 'updates' repo to the current directory: reposync -n --repoid=updates Sync packages from the 'updates' and 'extras' repos to the current directory: reposync --repoid=updates --repoid=extras Sync all packages from the 'updates' repo to the repos directory: reposync -p repos --repoid=updates Sync all packages from the 'updates' repo to the repos directory excluding x86_64 arch. Edit /etc/yum.conf adding option exclude=*.x86_64. Then: reposync -p repos --repoid=updates FILES
reposync uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum configura- tion will be used. /etc/yum.conf /etc/yum/repos.d/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. 27 April 2007 reposync(1)
All times are GMT -4. The time now is 11:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy