I was missing inifiles .. how supermin works, but returns an error:
> supermin -v --names bash supermin 4.1.1
selected package handler: zypp-rpm
+ unset LANG LC_COLLATE
+ tmpdir=/tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp
+ cache_dir=/tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp/cache-dir
+ pkg_cache_dir=/tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp/pkg_cache_dir
+ zypper --verbose --verbose --root /tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp/root --reposd-dir /etc/zypp/repos.d --cache-dir /tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp/cache-dir --pkg-cache-dir /tmp/supermin547e0fe6bded584f8986e84e3cda32ec.tmp/pkg_cache_dir --gpg-auto-import-keys --no-gpg-checks --non-interactive install --auto-agree-with-licenses --download-only bash
Verbosity: 2
Entering non-interactive mode.
Entering 'no-gpg-checks' mode.
Warning: Turning on '--gpg-auto-import-keys'. New repository signing keys will be automatically imported!
Non-option program arguments: 'bash'
Initializing Target
Failed to mount [server]:/vol/vol2/sles_images/repository/suse/SLES11/SP2/ia32e on /var/tmp/AP_0x8DLPyL: Mounting media failed (mount: only root can do that)
Abort, retry, ignore? [a/r/i/?] (a): a
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Retrieving repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' data...
Checking whether to refresh metadata for SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234
Retrieving repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' metadata [\]
Failed to mount [server]:/vol/vol2/sles_images/repository/suse/SLES11/SP2/ia32e on /var/tmp/AP_0x40mPGL: Mounting media failed (mount: only root can do that)
Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' metadata [error]
Repository 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' is invalid.
[|] Valid metadata not found at specified URL(s)
History:
- Failed to mount [server]:/vol/vol2/sles_images/repository/suse/SLES11/SP2/ia32e on /var/tmp/AP_0x40mPGL: Mounting media failed (mount: only root can do that)
- Can't provide /media.1/media
Please check if the URIs defined for this repository are pointing to a valid repository.
Problem loading data from 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234'
Resolvables from 'SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234' not loaded because of error.
Reading installed packages...
Force resolution: No
'bash' not found in package names. Trying capabilities.
No provider of 'bash' found.
real 0m0.091s
user 0m0.052s
sys 0m0.016s
supermin: external shell program failed, see earlier error messages