Oddball schreef:
Well, thnx for this info :)
I am going to try it rightaway...
Well, after refreshing i pasted the line and imediately began to argue,
not giving me a chance to name a pkg, or hit enter....
I attached the output.
If you look close at it, you will notice some very 'unfriendly' habits
of zypper...
--
Enjoy your time around,
Oddball (Now or never...)
OS: Linux 2.6.25-rc8-12-default x86_64
Current user: oddball@AMD64x2-sfn1
System: openSUSE 11.0 (x86_64) Alpha3
KDE: 4.00.68 (KDE 4.0.68 >= 20080402) "release 3.1"
oddball@AMD64x2-sfn1:~> sudo zypper refresh
root's password:
* Downloading repository 'KDE4-stable-community' metadata.
* Building repository 'KDE4-stable-community' cache
* Downloading repository 'KDE4-unstable-desktop' metadata.
* Building repository 'KDE4-unstable-desktop' cache
* Downloading repository 'KDE4-Unstable-extra' metadata.
* Building repository 'KDE4-Unstable-extra' cache
* Downloading repository 'KDE4-stable-extra' metadata.
* Building repository 'KDE4-stable-extra' cache
* Downloading repository 'KDE4-stable-desktop' metadata.
* Building repository 'KDE4-stable-desktop' cache
* Downloading repository 'Factory' metadata.
* Building repository 'Factory' cache
* Downloading repository 'Non-oss' metadata.
* Building repository 'Non-oss' cache
* Downloading repository 'Mozilla' metadata.
* Building repository 'Mozilla' cache
* Downloading repository 'Debug' metadata.
* Building repository 'Debug' cache
All repositories have been refreshed.
oddball@AMD64x2-sfn1:~> zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in
Too few arguments. At least one package name is required.
install (in) [options] ...
Install resolvables with specified capabilities or RPM files with specified location. A capability is NAME[OP<VERSION>], where OP is one of <, <=, =, >=, >.
Command options:
-r, --repo Install resolvables only from repository specified by alias.
-t, --type <type> Type of resolvable (package, patch, pattern, product)
Default: package
-n, --name Select resolvables by plain name, not by capability
-C, --capability Select resolvables by capability
-f, --force Install even if the item is already installed (reinstall)
-l, --auto-agree-with-licenses Automatically say 'yes' to third party license confirmation prompt.
See 'man zypper' for more details.
--debug-solver Create solver test case for debugging
-R, --force-resolution Force the solver to find a solution (even agressive)
-D, --dry-run Test the installation, do not actually install
oddball@AMD64x2-sfn1:~>
oddball@AMD64x2-sfn1:~> zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in Yast
Root privileges are required for installing or uninstalling packages.
oddball@AMD64x2-sfn1:~> su
Password:
AMD64x2-sfn1:/home/oddball # zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in
Too few arguments. At least one package name is required.
install (in) [options] ...
Install resolvables with specified capabilities or RPM files with specified location. A capability is NAME[OP<VERSION>], where OP is one of <, <=, =, >=, >.
Command options:
-r, --repo Install resolvables only from repository specified by alias.
-t, --type <type> Type of resolvable (package, patch, pattern, product)
Default: package
-n, --name Select resolvables by plain name, not by capability
-C, --capability Select resolvables by capability
-f, --force Install even if the item is already installed (reinstall)
-l, --auto-agree-with-licenses Automatically say 'yes' to third party license confirmation prompt.
See 'man zypper' for more details.
--debug-solver Create solver test case for debugging
-R, --force-resolution Force the solver to find a solution (even agressive)
-D, --dry-run Test the installation, do not actually install
AMD64x2-sfn1:/home/oddball #
AMD64x2-sfn1:/home/oddball # zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in yast
Reading installed packages...
Warning: package 'yast' not found
Nothing to do.
AMD64x2-sfn1:/home/oddball # zypper lu -t package | awk -F\| '/yast2/ { print $3}' | xargs zypper in yast2
Reading installed packages...
skipping package 'yast2' (the newest version already installed)
Nothing to do.
AMD64x2-sfn1:/home/oddball #