Инструменты пользователя

Инструменты сайта


nix:obnovlenie_po_raznyx_distributivov

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
nix:obnovlenie_po_raznyx_distributivov [2023/10/03 10:52] – [Решение проблем] sannix:obnovlenie_po_raznyx_distributivov [2024/09/10 14:11] (текущий) – [Debian,Ubuntu] san
Строка 83: Строка 83:
 dpkg -l | grep "ii" | awk '{print $2}' | xargs -n 1 -IX sh -c "apt policy X 2>/dev/null | tr '\n' ' ';printf '\n'" | tee all_packages.txt dpkg -l | grep "ii" | awk '{print $2}' | xargs -n 1 -IX sh -c "apt policy X 2>/dev/null | tr '\n' ' ';printf '\n'" | tee all_packages.txt
 </file> </file>
 +Определить к какому установленому пакету принадлежит файл 
 +<file> 
 +dpkg-query -S путь/к/файлу 
 +</file> 
 +Вывести список файлов в установленном пакете 
 +<file> 
 +dpkg -L package_name 
 +</file>
 ==== Решение проблем ==== ==== Решение проблем ====
  
Строка 100: Строка 107:
 cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d
 </file> </file>
 +См. также [[https://devicetests.com/solving-apt-key-deprecated-warning]]
  
 ===== RHEL,Centos ===== ===== RHEL,Centos =====
Строка 128: Строка 136:
 ==== yum/apt ==== ==== yum/apt ====
 В [Open]Suse можно установить apt, в Ubuntu/Debian можно установить yum В [Open]Suse можно установить apt, в Ubuntu/Debian можно установить yum
 +
 +===== Дополнительные репозитории дебиан =====
 +
 +==== Postgresql ====
 +[[https://wiki.postgresql.org/wiki/Apt]]
 +
 +<file>
 +sudo apt install curl ca-certificates
 +sudo install -d /usr/share/postgresql-common/pgdg
 +sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
 +</file>
 +Create /etc/apt/sources.list.d/pgdg.list. The distributions are called codename-pgdg. In the example, replace bookworm with the actual distribution you are using. File contents:
 +
 +<file>
 +deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main
 +</file>
 +
 +(You may determine the codename of your distribution by running lsb_release -c). For a script version of the above file creation, presuming you are using a supported release:
 +
 +<file>
 +sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
 +</file>
 +
 +Finally, update the package lists, and start installing packages:
 +
 +<file>
 +sudo apt update
 +sudo apt install postgresql-15
 +</file>
 +
 +==== Репозитории HP Enterpise ====
 +
 +[[hard:hpe_repository|]]
 +
 +==== Репозитории MySQL ====
 +[[https://dev.mysql.com/downloads/]]
  
 {{tag>linux}} {{tag>linux}}
nix/obnovlenie_po_raznyx_distributivov.1696319542.txt.gz · Последнее изменение: 2023/10/03 10:52 — san

Если не указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki