我正在从 Ubuntu MATE 切换到 Ubuntu raw,我注意到右键单击时的菜单在我的语言环境中没有翻译。我可以在 Launchpad 帮助翻译哪些组件?“主页”图标也没有翻译。我希望在结局 i18n 同步之前进行这些更改。
此致
PS:我说的是“更改背景”“显示设置”等
我正在从 Ubuntu MATE 切换到 Ubuntu raw,我注意到右键单击时的菜单在我的语言环境中没有翻译。我可以在 Launchpad 帮助翻译哪些组件?“主页”图标也没有翻译。我希望在结局 i18n 同步之前进行这些更改。
此致
PS:我说的是“更改背景”“显示设置”等
我正在运行 Groovy,并尝试将figma-linux升级到大约半小时前在 Launchpad 中列出的最新版本。
我目前已经0.6.3-1
安装了版本。我已经运行了apt update
,apt
但没有给我升级到新版本的选项0.6.4
。
$ sudo apt-cache policy figma-linux
figma-linux:
Installed: 0.6.3-1ubuntu0
Candidate: 0.6.3-1ubuntu0
Version table:
*** 0.6.3-1ubuntu0 500
500 http://ppa.launchpad.net/chrdevs/figma/ubuntu groovy/main amd64 Packages
100 /var/lib/dpkg/status
如何将此软件包升级到0.6.4
?
我有一个可以为 groovy 和 xenial 构建的包。Ubuntu groovy 可以libpng-dev
解析为libpng16
. 加上它有libpng12
。Xenial 没有libpng-dev
或libpng16
。它只有libpng12-dev
. 我可以在 xenial 上使用 libpng12 构建应用程序,但我不想在 groovy 上使用 libpng16。
xenial's debhelper
似乎也不提供debhelper-compat
.
因此,我需要Build-Depends: debhelper-compat (=9), libpng-dev(>=1.2.0)
groovy 和Build-Depends: debhelper (>=9.0), libpng12-dev(>=1.2.0)
xenial。
我的包版本是app-1.0-0ubuntu1_i386.deb
Launchpad 似乎不允许在同一个 PPA 中构建相同的源两次。您可以在系列之间复制二进制文件,但不能重建源代码。做出此决定时,启动板似乎忽略了版本的“0-ubuntu1”部分。此外,它不允许上传任何低于它已有的版本。因此,即使我最终在文件中得到了一些依赖Build-Depends:
于系列的debian/control
文件——我也无法从中受益,因为源代码只会构建一次。而且我不想将应用程序版本增加两次,只是为了向后移植到 xenial。
这个问题有什么优雅的解决方案吗?
我为Blanket制作了一个debian 包,并尝试使用 Launchpad 配方构建它。
虽然它在我的计算机(Xubuntu 20.04)中成功构建,但无法在 Launchpad 中构建焦点。这是构建日志的相关部分。
Found ninja-1.10.0 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v
[1/3] glib-compile-resources ../data/resources/blanket.gresource.xml --sourcedir ../data/resources --internal --generate --target data/resources/blanket.gresource --dependency-file data/resources/blanket.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[2/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
FAILED: data/com.rafaelmardojai.Blanket.metainfo.xml
/usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
msgfmt: cannot locate ITS rules for ../data/com.rafaelmardojai.Blanket.metainfo.xml.in
[3/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.desktop.in data/com.rafaelmardojai.Blanket.desktop desktop ../data/../po
ninja: build stopped: subcommand failed.
在我的计算机中(当我运行时debuild
),输出的相关部分是
Found ninja-1.10.0 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v
[1/3] glib-compile-resources ../data/resources/blanket.gresource.xml --sourcedir ../data/resources --internal --generate --target data/resources/blanket.gresource --dependency-file data/resources/blanket.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[2/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.desktop.in data/com.rafaelmardojai.Blanket.desktop desktop ../data/../po
[3/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
dh_auto_test
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test
[0/1] Running all tests.
1/2 Validate desktop file OK 0.01 s
2/2 Validate schema file OK 0.01 s
Ok: 2
并且构建继续成功。正如this所建议的,我添加libappstream-glib-dev
到该build-depends
字段中,但这不起作用。
我在pbuilder
chroot 环境中遇到了同样的错误。当我在 Launchpad 中构建它时,我是否缺少一些构建依赖项?
我正在尝试使用命令从 16 LTS 升级
sudo do-release-upgrade
但它失败了
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge
package to remove software from a Launchpad PPA and
try the upgrade again.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
她想要什么,如何满足她?我试图从中删除所有软件包,launchpad.net
但没有帮助。
我正在尝试在 Launchpad 中构建冰棒(我从 GitHub 克隆了存储库,并尝试使用此包配方构建它),但构建失败。
这是构建日志的相关部分
dpkg-buildpackage: info: source package popsicle
dpkg-buildpackage: info: source version 1.1.0-0~202008031810~ubuntu20.04.1
dpkg-buildpackage: info: source distribution focal
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cargo clean
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
if ! ischroot; then \
make vendor; \
fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules build
dh build
dh_update_autotools_config
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
env CARGO_HOME="$(pwd)/target/cargo" \
dh_auto_build
make -j1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
tar pxf vendor.tar
tar: vendor.tar: Cannot open: No such file or directory
这是完整的构建日志。
但是,当我尝试在我的 Kubuntu 18.04 机器上构建它时,我得到了
name@pc:~/popsicle$ debuild -us -uc
dpkg-buildpackage -rfakeroot -us -uc -ui
dpkg-buildpackage: info: source package popsicle
dpkg-buildpackage: info: source version 1.1.0
dpkg-buildpackage: info: source distribution focal
dpkg-buildpackage: info: source changed by Ian Douglas Scott <[email protected]>
dpkg-source --before-build popsicle
fakeroot debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/archisman/popsicle'
make clean
make[2]: Entering directory '/home/archisman/popsicle'
cargo clean
make[2]: Leaving directory '/home/archisman/popsicle'
if ! ischroot; then \
make vendor; \
fi
make[2]: Entering directory '/home/archisman/popsicle'
mkdir -p .cargo
cargo vendor | head -n -1 > .cargo/config
Updating crates.io index
Downloading crates ...
Downloaded bitflags v1.2.1
并且构建继续进行。
如何在 Launchpad 中构建它?
尝试使用 Launchpad 配方打包源文件时出现以下错误。但是,我可以在我的机器中成功构建包(运行 18.04)
dh: error: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm
这是完整的buildlog,我的debian/control
文件如下。
Source: up-clock
Section: python
Priority: extra
Build-Depends: debhelper (>= 10),
python3,
python3-distutils-extra
Maintainer: Archisman Panigrahi <[email protected]>
Standards-Version: 4.1.4
X-Python-Version: >= 3.5
Package: up-clock
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
gir1.2-glib-2.0,
gir1.2-gtk-3.0,
gir1.2-webkit2-4.0
Description: A beautiful Clock, inspired by Ubuntu Touch homescreen, already on your desktop.
Inspired by Ubuntu Touch homescreen, this clock is able to show you the
time in a way you never seen before. The "clouds" changes colors and
sizes automaticaly awhile showing you the time.
如何解决这个问题?我已经添加python3-distutils-extra
到Build-Depends
.
我试图创建 GPG 密钥
Real name: Political Science
Email address: @
You selected this USER-ID:
"Political Science "
Change (N)ame, (E)mail, or (O)kay/(Q)uit? O
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key 8D32FF6AEEB7BA37 marked as ultimately trusted
gpg: directory '/home/debian/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/home/debian/.gnupg/openpgp-revocs.d/980265BC6D8749B0B57526888D32FF6AEEB7BA37.rev'
public and secret key created and signed.
pub rsa3072 2020-06-11 [SC] [expires: 2022-06-11]
980265BC6D8749B0B57526888D32FF6AEEB7BA37
uid Political Science
sub rsa3072 2020-06-11 [E] [expires: 2022-06-11]
现在,我无法理解以上哪一项是我应该同步到密钥服务器的密钥
debian@osboxes:~/$ gpg --keyserver keyserver.ubuntu.com --send-keys 8749B0B57526888D32FF6AEEB7BA37
gpg: "8749B0B57526888D32FF6AEEB7BA37" not a key ID: skipping
debian@osboxes:~/$ gpg --keyserver keyserver.ubuntu.com --send-keys 32FF6AEEB7BA37
gpg: "32FF6AEEB7BA37" not a key ID: skipping
我正在尝试根据此处的答案来执行此操作
DEBUG Considering changefile 73927/ubuntu/brightness-controller_2.3.4-0~202004250741~ubuntu20.04.1_source.changes
DEBUG Finding fresh policy
INFO Processing upload brightness-controller_2.3.4-0~202004250741~ubuntu20.04.1_source.changes
INFO Upload was rejected:
INFO File brightness-controller_2.3.4-0~202004250741~ubuntu20.04.1.tar.xz already exists in Brightness Controller, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.
INFO Files specified in DSC are broken or missing, skipping package unpack verification.
INFO Committing the transaction and any mails associated with this upload.
我从 GitHub 存储库中导入了代码,并尝试使用 Launchpad 中的源打包接收器将其打包为焦点和 groovy。该软件包为 groovy 成功构建,但在焦点上显示此错误。
我已经这样做了很多次以在 PPA 中制作包。如何解决这个问题,为什么会发生这种情况?
我试图找到适用于 Ubuntu 16.04 LTS的BleachBit 包的在线源代码存储库。
所以我开始访问https://packages.ubuntu.com上的搜索并找到源包。
单击页面右侧的两个Debian Source Repository ( Subversion ) →
或在底部的链接↓
把我带到了不存在的(404)页面anonscm.debian.org
。
然后我尝试访问Launchpad 上的 Bleachbit 页面以获取其源代码。有趣的是,我只能获得不太新的Ubuntu 14.04 (trusty) 分支的代码。
如何在线查看实际包版本的源代码?