复制图中的的镜像源信息到/etc/apt/sources.list中,然后更新以下,就可以拉取了,命令如下:
sudo apt update sudo apt install hello方法二:
1.下载图片中框框内的所有文件(deb文件不需要)到一个目录下
2.使用命令解压可以获得全部源代码,可以用源代码编译或者上传。
jian@ubuntu:~/jian$ ls hello_1.0-1.debian.tar.xz hello_1.0-1.dsc hello_1.0.orig.tar.xz jian@ubuntu:~/jian$ dpkg-source -x hello_1.0-1.dsc gpgv: Signature made Thu 13 May 2021 04:34:42 PM CST using RSA key ID 287B8C6B gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hello_1.0-1.dsc dpkg-source: info: extracting hello in hello-1.0 dpkg-source: info: unpacking hello_1.0.orig.tar.xz dpkg-source: info: unpacking hello_1.0-1.debian.tar.xz > jian@ubuntu:~/jian$ ls hello-1.0 hello_1.0-1.debian.tar.xz > hello_1.0-1.dsc hello_1.0.orig.tar.xz
3.进入hello-1.0目录中,然后修改其中debian目录下的changelog文件,具体参考
jian@ubuntu:~/jian$ cd hello-1.0 jian@ubuntu:~/jian/hello-1.0$ vi debian/changelog
4.修改源代码
5.commit代码生成patch
jian@ubuntu:~/jian/hello-1.0$ dpkg-source --commit
6.debuild
jian@ubuntu:~/jian/hello-1.0$ debuild -S -sa -nc
7.把代码推上自己的ppa中
dput devppa:liruijian/kylinos-desktop/test



