“已解决”deb打包的时候显示错误。
Tofloor
poster avatar
zhaolu2000
deepin
2020-10-15 19:59
Author
本帖最后由 zhaolu2000 于 2020-10-16 17:31 编辑

我执行下面这条命令进行deb打包。

dpkg -b . ac.deb

在deepin深度V20上却提示我。

dpkg-deb: 错误: 软件包的名字含有不是小写字母或 -+ 的字符

这明显牛头不对马嘴,我的软件包的名字只是ac.deb。

有谁在deepin深度V20上进行deb打包吗?遇到过这个错误吗?

谢谢


Reply Favorite View the author
All Replies
不会开车有驾照
deepin
2020-10-15 20:16
#1
是不是在中文状态下输入的?
Reply View the author
jingle
deepin
2020-10-15 20:17
#2
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-15 20:34
#3
dpkg -b . ../ac.deb
Reply View the author
zhaolu2000
deepin
2020-10-16 00:23
#4
问题解决了,

我在control文件中的Package 这一栏原本有大写字母。现在改为如下小写,就没有问题了。
Package: escanner-east-image-universal

谢谢大家的回复。
Reply View the author
kirin2020
deepin
2020-10-16 01:00
#5
楼主有详细打包教程吗??我也想学打包
Reply View the author
走钢丝
deepin
2020-10-16 01:06
#6
本帖最后由 lidanger 于 2020-10-15 17:08 编辑
https://bbs.deepin.org/post/203863
楼主有详细打包教程吗??我也想学打包

不熟悉命令的话可以用 debreate

  1. sudo apt install debreate
Copy the Code

然后一步一步跟着来就行了



Reply View the author
zhaolu2000
deepin
2020-10-16 02:05
#7
https://bbs.deepin.org/post/203863
楼主有详细打包教程吗??我也想学打包

https://blog.csdn.net/hebbely/article/details/78521476
Ubuntu下的deb打包、安装与卸载

我是看着这份帖子照着做的,deb打包很容易的。
Reply View the author
kirin2020
deepin
2020-10-16 03:31
#8
https://bbs.deepin.org/post/203863
不熟悉命令的话可以用 debreate

我下载了debreat试用了一下,根本没打包成deb包,反而是生成一个超大约好几个G的文件夹,晕,时间又长。什么回事?我是按网上视频操作的,不知道为什么不生成deb包,而是一个文件夹。
Reply View the author
走钢丝
deepin
2020-10-16 03:33
#9
https://bbs.deepin.org/post/203863
我下载了debreat试用了一下,根本没打包成deb包,反而是生成一个超大约好几个G的文件夹,晕,时间又长。 ...

你都说下你怎么做的,我不知道你问题在哪儿。按说最后一步就是生成 deb 包。

Reply View the author
kirin2020
deepin
2020-10-16 04:20
#10
https://bbs.deepin.org/post/203863
https://blog.csdn.net/hebbely/article/details/78521476
Ubuntu下的deb打包、安装与卸载

这个教程确实很简单,只修改DEBIAN 目录下的一个 control 文件就可以了,其它教程却还有什么run.sh、info等文件,好象比这个复杂很多呀。我都晕了。到底什么回事??
Reply View the author
kirin2020
deepin
2020-10-16 04:23
#11
https://bbs.deepin.org/post/203863
你都说下你怎么做的,我不知道你问题在哪儿。按说最后一步就是生成 deb 包。

...

我是按这个视频一步一步做的,应该很简单,但就是最后没有生成deb包而已

https://www.bilibili.com/video/av285729392/
Reply View the author