小编ssc*_*rth的帖子

如何安装 wxpython 4 ubuntu 18.04

我正在尝试在我的 Ubuntu 18.04 机器上安装 wxPython 4。

sudo pip install wxpython
Run Code Online (Sandbox Code Playgroud)

我首先收到此警告

    The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/user/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If …
Run Code Online (Sandbox Code Playgroud)

python command-line wxpython

7
推荐指数
1
解决办法
2万
查看次数

如何在 LaunchPad 上针对私有 PPA 进行身份验证?

我是 LaunchPad 上私人 PPA 的维护者。尽管如此,我还是不知道如何正确地对其进行身份验证。我有一个以

 https://private-ppa.launchpad.net/...
Run Code Online (Sandbox Code Playgroud)

在我的sources.list,但运行apt-get update结果

W: Failed to fetch https://private-ppa.launchpad.net/...: 401  Authorization Required
Run Code Online (Sandbox Code Playgroud)

我需要在哪里输入我的凭据?sources.list作为喜欢的一部分

https://username:password@private-ppa.launchpad.net/...
Run Code Online (Sandbox Code Playgroud)

?如果是的话,这些username是什么password?这是我用来登录 LaunchPad Web 界面的用户名吗?但这是我的 Ubuntu One 电子邮件地址,而不是用户名。另外对于密码,我应该使用哪一个?如果我直接在浏览器中输入 PPA 的 URL,我会收到一条提示:

A username and password are being requested by https://private-ppa.launchpad.net. The site says: "Token Required"
Run Code Online (Sandbox Code Playgroud)

该消息指的是什么令牌?

编辑:我是否受到https://bugs.launchpad.net/launchpad/+bug/860273上的错误的影响?如果是这样,我如何生成访问令牌?

launchpad apt ppa authentication

5
推荐指数
1
解决办法
1737
查看次数

如何提高其他用户的 PPA 中可用的软件包版本?

在为 Ubuntu 15.04 寻找最新版本的 CMake 3.2 时,我遇到了这个 PPA。但是,我想使用 3.2.3 版而不是 CMake 3.2.1。我如何轻松地建立在为该 PPA 所做的现有工作的基础上来实现这一目标?我想像一些工作流程

  1. 将包从 PPA 复制到我自己新创建的 PPA
  2. 以某种方式下载 3.2.1 版的现有构建配方(使用dget?)
  3. 在某些文件中增加版本字符串,调整更改日志等。
  4. 将构建配方推回 Launchpad 以查看它是否构建

到目前为止,我只能找到有关如何从上游源创建新 PPA/包的说明(涉及 Bazaar 分支和其他什么不),但没有简单的说明如何构建现有 PPA 包(最好不涉及 Bazaar)。

请注意,我没有任何构建/发布 PPA 的经验,而且我是从头开始的。

package-management ppa cmake

4
推荐指数
1
解决办法
244
查看次数