nix:obnovlenie_po_raznyx_distributivov
Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
| nix:obnovlenie_po_raznyx_distributivov [2024/02/27 09:43] – [Решение проблем] san | nix:obnovlenie_po_raznyx_distributivov [2025/10/05 16:57] (текущий) – [Решение проблем] san | ||
|---|---|---|---|
| Строка 83: | Строка 83: | ||
| dpkg -l | grep " | dpkg -l | grep " | ||
| </ | </ | ||
| + | Определить к какому установленому пакету принадлежит файл | ||
| + | < | ||
| + | dpkg-query -S путь/ | ||
| + | </ | ||
| + | Вывести список файлов в установленном пакете | ||
| + | < | ||
| + | dpkg -L package_name | ||
| + | </ | ||
| ==== Решение проблем ==== | ==== Решение проблем ==== | ||
| Строка 90: | Строка 97: | ||
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 | ||
| </ | </ | ||
| + | apt-key с некоторых пор depecated. Вместо него пользуемся командой подобной этой: | ||
| + | < | ||
| + | gpg --no-default-keyring --keyring / | ||
| + | </ | ||
| Предупреждение "Key is stored in legacy trusted.gpg keyring (/ | Предупреждение "Key is stored in legacy trusted.gpg keyring (/ | ||
| < | < | ||
| Строка 116: | Строка 127: | ||
| dnf - почти прозрачно заменяет yum в свежих версиях RHEL,Centos | dnf - почти прозрачно заменяет yum в свежих версиях RHEL,Centos | ||
| + | ===== Alpine ===== | ||
| + | Пакет apk-tools предоставляет программу [[https:// | ||
| + | < | ||
| + | add Add new packages or upgrade packages to the running system | ||
| + | del Delete packages from the running system | ||
| + | fix Repair packages or system | ||
| + | update Update the index of available packages | ||
| + | info Prints information about installed or available packages | ||
| + | search Search for packages or descriptions with wildcard patterns | ||
| + | upgrade Upgrade the currently installed packages | ||
| + | cache Maintenance operations for locally cached package repository | ||
| + | version Compare version differences between installed and available packages | ||
| + | index create a repository index from a list of packages | ||
| + | fetch download (but not install) packages | ||
| + | audit List changes to the file system from pristine package install state | ||
| + | verify Verify a package signature | ||
| + | dot Create a graphviz graph description for a given package | ||
| + | policy Display the repository that updates a given package, plus repositories that also offer the package | ||
| + | stats Display statistics, including number of packages installed and available, number of directories and files, etc. | ||
| + | manifest Display checksums for files contained in a given package | ||
| + | </ | ||
| ===== Дебиан, | ===== Дебиан, | ||
| ==== PackageKit ==== | ==== PackageKit ==== | ||
| Строка 129: | Строка 161: | ||
| ==== yum/apt ==== | ==== yum/apt ==== | ||
| В [Open]Suse можно установить apt, в Ubuntu/ | В [Open]Suse можно установить apt, в Ubuntu/ | ||
| + | |||
| + | ===== Дополнительные репозитории дебиан ===== | ||
| + | |||
| + | ==== Postgresql ==== | ||
| + | [[https:// | ||
| + | |||
| + | < | ||
| + | sudo apt install curl ca-certificates | ||
| + | sudo install -d / | ||
| + | sudo curl -o / | ||
| + | </ | ||
| + | Create / | ||
| + | |||
| + | < | ||
| + | deb [signed-by=/ | ||
| + | </ | ||
| + | |||
| + | (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: | ||
| + | |||
| + | < | ||
| + | sudo sh -c 'echo "deb [signed-by=/ | ||
| + | </ | ||
| + | |||
| + | Finally, update the package lists, and start installing packages: | ||
| + | |||
| + | < | ||
| + | sudo apt update | ||
| + | sudo apt install postgresql-15 | ||
| + | </ | ||
| + | |||
| + | ==== Репозитории HP Enterpise ==== | ||
| + | |||
| + | [[hard: | ||
| + | |||
| + | ==== Репозитории MySQL ==== | ||
| + | [[https:// | ||
| {{tag> | {{tag> | ||
nix/obnovlenie_po_raznyx_distributivov.1709016224.txt.gz · Последнее изменение: — san
