Hi Martin,
* Martin Simons <
mjcm....@gmail.com> [May 07. 2015 11:06]:
> Dear CFEngineer,
>
> It is an opensuse minimal issue, not so pretty because it has been there
> for quite a while:
>
https://forums.opensuse.org/showthread.php/479195-installing-tomcat-on-minimal-server-install
>
> Problem: tomcat-7.0.42-4.4.6.noarch requires tomcat-lib = 7.0.42-4.4.6,
> but this requirement cannot be provided
> uninstallable providers: tomcat-lib-7.0.42-4.4.6.noarch[repo-update]
> Solution 1: deinstallation of
> patterns-openSUSE-minimal_base-conflicts-13.1-13.6.1.x86_64
well, you configured the system to be 'minimal' in YaST and this is
reflected by the patterns-openSUSE-minimal_base-conflicts package.
Installation of 'tomcat' conflicts (obviously ;-)) with the 'minimal'
requirement.
>
> If you remove the conflicting package, then the reward is:
[...]
> error: unpacking of archive failed: cpio: lstat failed - Not a directory
This looks like a packaging problem in tomcat.
>
> Only Debian minimal installs seem to be minimal, Red Hat and Suse minimal
> installs are not minimal at all. The even install wireless packages!
Yeah, there's an ongoing debate about what is 'minimal'. Ask three
people, get five answers. :-/
Here's a writeup I did last year about a truly minmal SLES 12
system. This should give you an idea ;-)
"The approach I took starts with the normal installation workflow in
YaST. Network and registration can be skipped as neither are needed
for the purpose.
In the installation settings page, click on 'Software' and de-select all
patterns. Then click on the 'Details...' button. Now go to 'Options'
and check 'Ignore Recommended Packages for Already Installed Packages'
[sic]
Although no patterns are selected at this time, the 'Installation
Summary' still shows many packages as selected, resulting in about
530MB in package size. Apparently de-selecting patterns does not
de-select packages.
Right-clicking on a package in the 'Installation Summary' list gives
an 'all in this list' option, which can be used to 'not install' all
remaining packages.
This leaves glibc and filesystem, both are enforced by YaST and the
only packages which cannot be skipped. YaST won't complain if you
leave a kernel or a bootloader out.
A truly minimal system can be installed by searching and selecting
the following packages:
kernel-default, grub2, syslinux + perl-Bootloader-YAML (bnc#885496),
zypper
This package selection is sufficient to boot, login, and run zypper in
the bash shell. Its about 350 MB in ~180 packages and 400MB on disk.
As a comparison, the 'minimal' pattern is twice this size (376 packages,
880MB on disk).
Zypper can now install a configuration management system which can be
used to bring up network and install the application stack."
Extra points for guessing the 'configuration management system' I'm
referring to in the last paragraph ;-)
Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany