This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
управление_по_в_ubuntu [2011/01/18 14:13] val |
управление_по_в_ubuntu [2011/02/10 16:54] val |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Использование dpkg ===== | ===== Использование dpkg ===== | ||
+ | |||
+ | <code> | ||
+ | # cat /var/lib/dpkg/status | ||
+ | </code> | ||
==== Установленные пакеты ==== | ==== Установленные пакеты ==== | ||
Line 10: | Line 14: | ||
==== Содержимое пакета ==== | ==== Содержимое пакета ==== | ||
<code> | <code> | ||
- | root@hostX:~# dpkg-query -L libpam-opie | + | root@hostX:~# dpkg -L libpam-opie |
</code> | </code> | ||
==== В какой пакет входит файл ==== | ==== В какой пакет входит файл ==== | ||
<code> | <code> | ||
- | root@hostX:~# dpkg-query -S /etc/ldap/ldap.conf | + | root@hostX:~# dpkg -S /etc/ldap/ldap.conf |
</code> | </code> | ||
Line 22: | Line 26: | ||
==== Файл /etc/apt/sources.list ==== | ==== Файл /etc/apt/sources.list ==== | ||
<code> | <code> | ||
- | ... | + | root@gate:~# cat /etc/apt/sources.list |
- | deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted | + | </code><code> |
- | deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted | + | deb http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse |
- | + | deb-src http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse | |
- | deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted | + | deb http://ru.archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse |
- | deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted | + | deb-src http://ru.archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse |
- | ... | + | deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse |
+ | deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse | ||
</code> | </code> | ||