Compile old non-existing UCA packages (by quqi99)

标签: deb
907人阅读 评论(0) 收藏 举报
分类:

**作者:张华 发表于:2016-08-05
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明
http://blog.csdn.net/quqi99 )**

For example, we want to use qemu 1:2.2+dfsg-5expubuntu9.6~cloud0, but those packages don’t exist anymore in UCA.

$ sudo apt-cache madison qemu-system
qemu-system | 1:2.5+dfsg-5ubuntu10.2~cloud0 | http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/mitaka/main amd64 Packages
qemu-system | 1:2.2+dfsg-5expubuntu9.7~cloud5 | http://ppa.launchpad.net/ubuntu-cloud-archive/kilo-staging/ubuntu/ trusty/main amd64 Packages
qemu-system | 2.0.0+dfsg-2ubuntu1.26 | http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
qemu-system | 2.0.0+dfsg-2ubuntu1.26 | http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
qemu-system | 2.0.0~rc1+dfsg-0ubuntu3 | http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
      qemu | 2.0.0~rc1+dfsg-0ubuntu3 | http://archive.ubuntu.com/ubuntu/ trusty/main Sources
      qemu | 2.0.0+dfsg-2ubuntu1.26 | http://archive.ubuntu.com/ubuntu/ trusty-updates/main Sources
      qemu | 2.0.0+dfsg-2ubuntu1.26 | http://security.ubuntu.com/ubuntu/ trusty-security/main Sources
      qemu | 1:2.2+dfsg-5expubuntu9.7~cloud5 | http://ppa.launchpad.net/ubuntu-cloud-archive/kilo-staging/ubuntu/ trusty/main Sources

But we can compile them by ourself.

#https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/kilo-staging/+packages?field.name_filter=qemu&field.status_filter=superseded&field.series_filter=
wget https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/kilo-staging/+files/qemu_2.2+dfsg-5expubuntu9.6~cloud0.debian.tar.gz
wget https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/kilo-staging/+files/qemu_2.2+dfsg-5expubuntu9.6~cloud0.dsc
wget https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/kilo-staging/+files/qemu_2.2+dfsg.orig.tar.xz
dpkg-source -x qemu_2.2+dfsg-5expubuntu9.6~cloud0.dsc
cd qemu-2.2+dfsg/
sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file devscripts
sudo apt-add-repository ppa:ubuntu-cloud-archive/kilo-staging
sudo apt-get update
sudo apt-get build-dep qemu
dpkg-checkbuilddeps
DEB_BUILD_OPTIONS=nocheck debuild -us -uc

$ ls
qemu-2.2+dfsg
qemu_2.2+dfsg-5expubuntu9.6~cloud0_amd64.build
qemu_2.2+dfsg-5expubuntu9.6~cloud0_amd64.changes
qemu_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu_2.2+dfsg-5expubuntu9.6~cloud0.debian.tar.gz
qemu_2.2+dfsg-5expubuntu9.6~cloud0.dsc
qemu_2.2+dfsg.orig.tar.xz
qemu-guest-agent_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-kvm_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-arm_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-common_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-mips_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-misc_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-ppc_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-sparc_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-system-x86_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-user_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-user-binfmt_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-user-static_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
qemu-utils_2.2+dfsg-5expubuntu9.6~cloud0_amd64.deb
1
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1407464次
    • 积分:16298
    • 等级:
    • 排名:第659名
    • 原创:300篇
    • 转载:10篇
    • 译文:0篇
    • 评论:299条