RPM package management Flashcards

1
Q

what is the naming format RPM package files follow

A

PACKAGE-NAME-VERSION-RELEASE.ARCHITECTURE.rpm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how do you view the rpm packages on CentOS

A

ls -1 *.rpm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

rpm -e

A

removes package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

rpm -F

A

(freshen) upgrades a package only if an earlier version already exists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

rpm -i

A

installs the specified package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rpm -q

A

queries whether the specified package is installed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

rpm -U

A

installs or upgrades the specified package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rpm -V

A

verifies whether the package files are present and the package’s integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

rpm -q

A

queries package management database for installed packages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

rpm -qc

A

lists names and absolute references of package configuration files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

rpm -qi

A

provides information, version, installation date, signatures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

rpm -qR

A

displays various package requirements (dependencies)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

rpm -qs

A

provides state of different files in a package, such as normal (installed), not installed, or replaced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

rpm -V

A

rpm package verification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

verification ? response code

A

unable to perform tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

verification 5 response code

A

digest number has changed

17
Q

verification c response code

A

file is a configuration file for the package

18
Q

verification D response code

A

device number has changed

19
Q

verification G response code

A

group ownership has changed

20
Q

verification L response code

A

link path has changed

21
Q

verification missing response code

A

missing file

22
Q

verification M response code

A

mode

23
Q

verification P response code

A

capabilities have changed

24
Q

verification S response code

A

size of file has change

25
Q

verification T response code

A

time stamp

26
Q

verification U response code

A

user ownership has changed

27
Q

rpm2cpio

A

extract files from RPM package without installing it