Using Debian Packages Flashcards

1
Q

what is the basic format for dpkg

A

dpkg [options] ACTION PACKAGE-FILE

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

dpkg -c

A

displays contents of a package file

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

dpkg -C

A

searches for broken installed packages and suggests how to fix them

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

dpkg –configure

A

reconfigure an installed package

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

dpkg –get-selections

A

displays currently installed packages

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

dpkg -i

A

installs package, but if already installed, upgrades it

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

dpkg -I

A

displays information about an uninstalle;d package file

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

dpkg -l

A

lists all installed packages matching a specified pattern

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

dpkg -L

A

lists the installed files associated with a package

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

dpkg -p

A

displays information about an installed package

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

dpkg -P

A

removes an installed package, including config files

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

dpkg -r

A

removes an installed package but leaves the configuration files

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

dpkg -s

A

displays the status of the specified package

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

dpkg -S

A

locates the package that owns the specified files

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