AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[packages](server)

Martin Hope
Silkograph
Asked: 2021-04-18 04:28:28 +0800 CST

如何在 Oracle Linux 7.9 上安装 snapd

  • 0

我正在尝试在 Oracle Linux Server 7.9 上安装 snapd 在许多站点上,我看到建议按如下方式安装 spand

 sudo yum install epel-release
 sudo yum -y install snapd

但我无法在 Oracle Linux 上安装此存储库(没有可用的软件包 epel-release。)系统中提供了以下存储库

ol7_MySQL80/x86_64 
ol7_UEKR6/x86_64 
ol7_addons/x86_64 
ol7_developer_php74/x86_64
ol7_ksplice 
ol7_latest/x86_64 
ol7_oci_included/x86_64 
ol7_optional_latest/x86_64 
ol7_software_collections/x86_64 

谁能告诉我如何在 Oracle Linux 7.9 上安装 snapd?

yum installation packages oracle-linux
  • 1 个回答
  • 2038 Views
Martin Hope
YorSubs
Asked: 2020-11-14 08:30:21 +0800 CST

CentOS 使用较旧的存储库

  • 0

我经常在 CentOS 上发现我在互联网上找到了一个包的引用,并且页面上说“这个包在 repo 中可用”,所以我执行 sudo yum install (因为我知道我有那个 repo)并且它出现空白。我看到了几十次(如此之多,以至于如果它在互联网页面上说“这是在回购中”,我知道只有 50% 的机会是真的。

举个小例子:财富。您将看到的每一页都表明它在 EPEL 存储库中。好的,伟大的 yum install repo epel-release 然后 sudo yum install fortune。没有这样的包存在!!!

我在这里发现该软件包似乎已经在 CentOS 6 EPEL 中,但在那之后就没有了。https://pkgs.org/download/fortune

所以,在那种情况下:

• 我应该如何将 CentOS 6 EPEL(也许还有 CentOS 7)repo 添加到我的 CentOS 8 安装中?,以及

• 告诉我的系统如果包不在 8 中时只使用 7,如果包不在 7 中则只使用 6?

• 另外,RPMforge 仍然是一个有效的存储库吗?我看到一个页面说它已死/已弃用,但人们还在使用它吗?如果是,我该如何添加它(也许这对我有很多包有帮助)?

linux centos yum packages repository
  • 2 个回答
  • 928 Views
Martin Hope
wruckie
Asked: 2020-11-11 14:30:43 +0800 CST

名称中带有“{u}”的 Ubuntu 20.04 软件包

  • 1

升级到 Ubuntu 20.04 后,某些软件包的名称中有“{u}”。我一直在寻找答案,但看起来谷歌在搜索过程中会立即忽略花括号,或者这不会发生太多。有人可以帮助我提供文档链接吗?这些包名中的{u}表示什么?

user@server:~# sudo aptitude update && sudo aptitude upgrade && sudo apt-get autoremove
Hit http://mirrors.linode.com/ubuntu focal InRelease
Hit http://mirrors.linode.com/ubuntu focal-updates InRelease
Hit http://mirrors.linode.com/ubuntu focal-backports InRelease
Hit http://security.ubuntu.com/ubuntu focal-security InRelease
Hit http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease

The following packages will be REMOVED:
  ack{u} libargon2-0{u} libfile-next-perl{u} libicu65{u}
  python-pkg-resources{u}
0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 34.4 MB will be freed.
Do you want to continue? [Y/n/?]
packages apt ubuntu-20.04
  • 1 个回答
  • 107 Views
Martin Hope
Roman Newaza
Asked: 2020-06-23 05:41:34 +0800 CST

安装 Fpart 时 Ubuntu 正在设置 MySQL

  • 1

我正在尝试安装 fpart,但出现 mysql 错误:

# apt install fpart
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-aws-headers-4.4.0-1090 linux-aws-headers-4.4.0-1092 linux-aws-headers-4.4.0-1094 linux-aws-headers-4.4.0-1095 linux-aws-headers-4.4.0-1096 linux-aws-headers-4.4.0-1098
  linux-aws-headers-4.4.0-1100 linux-aws-headers-4.4.0-1101 linux-aws-headers-4.4.0-1102 linux-aws-headers-4.4.0-1104 linux-aws-headers-4.4.0-1105 linux-aws-headers-4.4.0-1106
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  fpart
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
2 not fully installed or removed.
Need to get 36.2 kB of archives.
After this operation, 119 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 fpart amd64 0.9.2-1 [36.2 kB]
Fetched 36.2 kB in 0s (318 kB/s) 
Selecting previously unselected package fpart.
(Reading database ... 358221 files and directories currently installed.)
Preparing to unpack .../fpart_0.9.2-1_amd64.deb ...
Unpacking fpart (0.9.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-server-5.7 (5.7.30-0ubuntu0.16.04.1) ...
insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Setting up fpart (0.9.2-1) ...
Errors were encountered while processing:
 mysql-server-5.7
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

显然,列表中没有mysql这样的依赖:

# apt depends fpart
fpart
  Depends: libc6 (>= 2.4)
  Depends: rsync (>= 3.1.1)
  Depends: sudo (>= 1.8.12)

这种行为的原因可能是什么?也许有未完成的 MySQL 安装?

# apt list --installed | grep -i mysql
dbconfig-mysql/xenial,now 2.0.4ubuntu1 all [installed,automatic]
mysql-client/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 all [installed]
mysql-client-5.7/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 amd64 [installed,automatic]
mysql-client-core-5.7/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 amd64 [installed,automatic]
mysql-common/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 all [installed]
mysql-server/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 all [installed]
mysql-server-5.7/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 amd64 [installed,automatic]
mysql-server-core-5.7/xenial-updates,xenial-security,now 5.7.30-0ubuntu0.16.04.1 amd64 [installed,automatic]
php-mysql/xenial-updates,now 1:7.0+35ubuntu6.1 all [installed]
php7.0-mysql/xenial-updates,xenial-security,now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,automatic]

所以# ps aux | grep -i mysql | grep -v grepMySQL 没有运行

ubuntu packages apt
  • 1 个回答
  • 119 Views
Martin Hope
Vixxs
Asked: 2020-05-07 23:21:09 +0800 CST

Debian 测试包的安全性是否可以与 Ubuntu “稳定”相媲美

  • 0

我注意到 Ubuntu 有更新的软件包,我想知道它是否有更多的支持或者他们不那么谨慎。原来是后者:

“Ubuntu 软件包基于 Debian 不稳定分支的软件包,每六个月同步一次。” *

您可能已经知道 Debian 软件包是:Stable > Testing > Unstable。并且对于具有测试状态的包需要连续 10 天收到 0 个错误。

所以我有两个问题,Ubuntu 是不是故意有点像 Debian 的豚鼠?

并且,测试中的 Debian 软件包(安装在 Debian Stable 上)与标准 Ubuntu 软件包相比,安全性和稳定性如何。

*报价来源

ubuntu debian packages package-management
  • 1 个回答
  • 2472 Views
Martin Hope
jrd1989
Asked: 2016-12-09 09:38:19 +0800 CST

将 CentOS 6.8 客户端添加到 Spacewalk

  • 0

我正在尝试将CentOS 6.8客户端添加到Spacewalk 2.6,以便可以推出更新。为了添加客户端,我需要先安装一些软件包:rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin rhncfg-actions。

当我尝试使用 yum 安装它们时,出现以下错误:

错误:包:rhnlib-2.6.3-1.el7.noarch (spacewalk-client)
要求:python(abi) = 2.7

我读到CentOS 6 需要 python 2.6.6并且升级它会破坏 yum。我尝试安装 python 2.7,但如果我运行“python”,它仍然指向 2.6.6。我尝试在 /.bashrc 中添加别名并指向 python2.7。我尝试再次安装,但它说安装了 2.6.6,我需要 2.7。

我觉得必须有一个解决方法。如果有一种方法可以在不需要软件包的情况下添加客户端,我将非常感谢您的帮助/帮助。

谢谢

yum installation packages python spacewalk
  • 1 个回答
  • 583 Views
Martin Hope
emmerich
Asked: 2016-11-22 02:52:18 +0800 CST

如何使用 puppet 使新安装的软件包从主节点同步到节点?

  • 0

我有一组机器(Ubuntu 服务器),它们在地理上是分开的,用于开发相同的代码库。有时我需要从我的站点在机器上安装包,然后通过 ssh 连接到所有其他站点并在那里安装包。我想自动化这个,如果我在我的机器(主)上安装了一个新包,它将自动安装到其他包。这个过程不需要是即时的,它可以在一夜之间完成。

为此,我尝试将 puppet 与“包”资源一起使用,但这意味着我需要为每个新安装的包添加另一个条目。没有其他方法吗(比如检查已安装的包并在新包中插入一个新条目)?

我还查看了 puppet 的 apt 模块,但找不到与此直接相关的任何内容。

synchronization puppet packages apt
  • 1 个回答
  • 268 Views
Martin Hope
user630702
Asked: 2016-11-06 19:22:50 +0800 CST

apache2-api-20120211 - 如何安装它?没有安装候选

  • 0

Cloudflare 模块依赖于 apache2-api-20120211,但没有安装候选。

什么是 apache2-api 包虚拟包?除了 apache2-bin 在Trusty (14.04) 及更高版本上提供它之外,没有任何关于此的信息?Launchpad 中还有Saucy i386 (13.04)的 PPA 。

对于 Precise (12.04),我应该如何处理这个问题?有什么想法吗?

我可以只提取 deb 文件并修改控制文件clouldflare package并从 Depends 中删除apache2-api-20120211,重建和安装。我不确定这是否会破坏任何东西。即使它没有破坏任何东西,下次有来自cloulflare的更新时,我将不得不重新打包它。

apache-2.2 packages
  • 1 个回答
  • 1197 Views
Martin Hope
richelliot
Asked: 2016-10-28 02:54:41 +0800 CST

apt-get 因未满足的依赖关系而失败:Breaks、Depends、Recommends - 这一切意味着什么?

  • 0

我试图通过在我的 Ubuntu 12.04 服务器上运行以下命令来修补 Dirty Cow 漏洞:

sudo apt-get update && sudo apt-get dist-upgrade

这会导致以下错误:

The following packages have unmet dependencies:
 lsb-base : Breaks: upstart (< 1.12.1-0ubuntu8)
            Breaks: upstart:i386 (< 1.12.1-0ubuntu8)
 plymouth : Depends: initramfs-tools but it is not going to be installed
            Recommends: plymouth-theme-ubuntu-text but it is not going to be installed or
                        plymouth-theme
 udev : Depends: initramfs-tools (>= 0.92bubuntu63) but it is not going to be installed
        Depends: util-linux (> 2.15~rc2)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我需要做什么才能修复这些错误?

ubuntu packages apt ubuntu-12.04
  • 1 个回答
  • 749 Views
Martin Hope
Jesse_Pinkman
Asked: 2016-08-12 01:10:06 +0800 CST

如何在服务器上安装旧包?

  • 0

我被赋予了安装 PHP 5.3.29 和 MySQL 5.5 的任务,但它们都是旧的 - 是否有一些带有旧包的存储库?或者我如何得到它们?我必须用 yum 安装它。

非常感谢

yum installation packages
  • 1 个回答
  • 39 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve