������� rpm ������ �� ������ ��� ��������� ��. ���������� �������� ������� ��������� �� ������ ��������, ����������� � �������������.
��� �������� ������� ������������ ����� -e. �������� ��������� ���������:
# rpm e xcopilot |
������������ ��� ����� ��� ������ � ����������. ���� ����������� ��������� ������ ������������ ������, � ����� ������, ����������� ������� ��������� �� �������� ������:
# rpm e jikes-1.16-1 |
��� ���������� ���� � ������ �������� �������� ���������� ����� �����������������.
������� ��������, ��� �� ��� � ������� ���������, ������������ ����� --test. ���� �� ������ ������� ������� ����� �������������� ��, ����� ���������, ����� ���������� � ���������� ������� ���� �����������������:
# rpm e --test syslinux error: Failed dependencies: syslinux is needed by (installed) mkbootdisk-1.4.8-1 |
3.3.1 ��� �� ������ �����?
��������� ����� ��������, ����� ���������, ��� �� ����� ��� ����������. �� ����� ����� ���������, ��� �� ����� ������. ��������:
# rpm -q jikes jikes-1.16-1 # rpm -e jikes-1.16-1 # rpm -q jikes package jikes is not installed |
3.3.2 �������� ������ ������� ����� ��������
����� ������� ������ �������, ����������� ������ � ��������� ������:
rpm -e aspell-en-ca-0.33.7.1-16 aspell-en-gb-0.33.7.1-16
|
3.3.3 �����, ���������� ��� ������ ��������
����� --allmatches �������� rpm ������� ��� ������, ����� ������� �������� ������, �������� ��������������� � ��������� ������. ���� �����, ��� ���� ����� ������������� �������, � ����� �� �������, ������ ����� ��������� � ���������� �� ������ ��������.
����� --nodeps ��������� ������� ����� ���� � ��� ������, ���� � ������� ��� ��� ���� ��������� �� ���� ������. ������������� ���� � �� �������� ����� ����� ��������� �������.
����� --repackage �������� ������� ��������� ������ � rpm-�����, ������� �������� � ���������� ��� ����� �������. �� ��������� ��� /var/spool/repackage. �����, ����������� � ������� ����� --repackage �� �������� ����������� ������� � ��� ������ ����������.
������� ������ ��������� ��� �������� ����� ������������ ����� --noscripts � --notriggers. ������ --noscripts ����� ����� ��������� --nopreun � --nopostun. ��������������, --nopreun �������� ���������� �������� ����� ��������� ������, � --nopostun - ��������, ������� ������ ���� ���������� ����� ��������. ����� ������� ������� ����������� ����� --notriggers, ��� ��������� --notriggerun ��� --notriggerpostun.
����� - ������ ����� rpm
����� - ��������� ������� � �������� �����
����������