Почему dpkg -L не показывает файлы в каталоге / usr / lib для этого пакета?

Я установил пакет golang-1.8 из этого ppa, и я вижу, что он установил некоторые вещи в /usr/lib, а именно:

/usr/lib$ ls -lha go-1.8/ total 48K drwxr-xr-x 4 root root 4,0K Abr 24 01:39 . drwxr-xr-x 190 root root 32K Abr 24 01:39 .. drwxr-xr-x 2 root root 4,0K Abr 24 01:39 bin lrwxrwxrwx 1 root root 35 Abr 10 01:59 doc -> ../../share/doc/golang-1.8-doc/html lrwxrwxrwx 1 root root 45 Abr 10 01:59 favicon.ico.gz -> ../../share/doc/golang-1.8-doc/favicon.ico.gz drwxr-xr-x 6 root root 4,0K Abr 10 01:59 pkg lrwxrwxrwx 1 root root 22 Abr 10 01:59 src -> ../../share/go-1.8/src lrwxrwxrwx 1 root root 23 Abr 10 01:59 test -> ../../share/go-1.8/test -rw-r--r-- 1 root root 7 Abr 10 01:49 VERSION

(эти файлы даже перечислены в PPA page)

Однако, запуск dpkg -L golang-1.8 (даже с помощью sudo) возвращает только материал в /usr/share:

/usr/lib$ dpkg -L golang-1.8 /. /usr /usr/share /usr/share/doc /usr/share/doc/golang-1.8 /usr/share/doc/golang-1.8/changelog.Debian.gz /usr/share/doc/golang-1.8/copyright

. Это связано с тем, что , в то время как имя пакета golang-1.8, оно установлено в разделе /usr/lib/go-1.8? Или потому, что это было загружено из PPA?

P.S .: Я запускаю ubuntu 16.04 LTS

1
задан 24 April 2017 в 08:33

3 ответа

Файлы, созданные с помощью конкретных сценариев установки, не указаны.

Из man dpkg:

dpkg-query actions See dpkg-query(1) for more information about the following actions. -l, --list package-name-pattern... List packages matching given pattern. -s, --status package-name... Report status of specified package. -L, --listfiles package-name...

Из man dpkg-query:

-L, --listfiles package-name... List files installed to your system from package-name. When mul‐ tiple package-name are listed, the requested lists of files are separated by an empty line, with the same order as specified on the argument list. However, note that files created by package- specific installation-scripts are not listed.
1
ответ дан 22 May 2018 в 23:17

Файлы, созданные с помощью конкретных сценариев установки, не указаны.

Из man dpkg:

dpkg-query actions See dpkg-query(1) for more information about the following actions. -l, --list package-name-pattern... List packages matching given pattern. -s, --status package-name... Report status of specified package. -L, --listfiles package-name...

Из man dpkg-query:

-L, --listfiles package-name... List files installed to your system from package-name. When mul‐ tiple package-name are listed, the requested lists of files are separated by an empty line, with the same order as specified on the argument list. However, note that files created by package- specific installation-scripts are not listed.
1
ответ дан 18 July 2018 в 14:23

Файлы, созданные с помощью конкретных сценариев установки, не указаны.

Из man dpkg:

dpkg-query actions See dpkg-query(1) for more information about the following actions. -l, --list package-name-pattern... List packages matching given pattern. -s, --status package-name... Report status of specified package. -L, --listfiles package-name...

Из man dpkg-query:

-L, --listfiles package-name... List files installed to your system from package-name. When mul‐ tiple package-name are listed, the requested lists of files are separated by an empty line, with the same order as specified on the argument list. However, note that files created by package- specific installation-scripts are not listed.
1
ответ дан 24 July 2018 в 20:23

Другие вопросы по тегам:

Похожие вопросы: