SLES 12 SP1
How can I add package to my local repository server?
In my network I have local repository server.
I would like to add to its content one package - in this example: nmap-7.60-1.x86_64.rpm (so I do not need to manually copy and install it on every node)
I simply copied it to the dir where local repository server keeps all other packages. Now, if I try to install it I get this:
Code:
# zypper install nmap
Loading repository data...
Reading installed packages...
'nmap' not found in package names. Trying capabilities.
No provider of 'nmap' found.
Resolving package dependencies...
Nothing to do.
And this is repo list:
Code:
# zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-----------+-----------+---------+-----------+---------+----------+--------+--------------------------------------+--------
1 | localrepo | localrepo | Yes | ( p) Yes | No | 99 | rpm-md | http://10.181.208.55:8080/localrepo/ |