技术并艺术着

张华的技术Blog

Compile old non-existing UCA packages (by quqi99)

**作者:张华 发表于: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
阅读更多
版权声明:本文为博主原创文章,如需转载,请注明出处! https://blog.csdn.net/quqi99/article/details/52154964
文章标签: deb
个人分类: Linux Kernel
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

Compile old non-existing UCA packages (by quqi99)

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭