Your SlideShare is downloading. ×
0
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Debian Policy - 5.6.12 Version
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Debian Policy - 5.6.12 Version

1,582

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,582
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Debian Policy – 5.6.12 Version $4 @ COSCUP 2010
  • 2. $4 http://fourdollars.blogspot.com http://www.plurk.com/fourdollars fourdollars@gmail.com
  • 3. $4 → £4 英屬曼島商肯諾有限公司 Canonical Limited
  • 4. Ubuntu Hardware Summit 2010 9 月 24 日 免費報名參加 http://www.ubuntu.com/uhs2010 http://www.ubuntu.com/uhs2010-zh
  • 5. Agenda  軟體版本號碼  Linux Kernel, Mozilla Firefox  Debian 版本號碼  [epoch:]upstream_version[-debian_version]  Native Debian Package  比大小  Package Maintainer  Debian Package Maintainer  Ubuntu Package Maintainer  PPA / Customized Maintainer  Non-Maintainer Update
  • 6. 軟體版本號碼 major.minor[.build[.revision]] major.minor[.maintenance[.build]] major.minor.release[.bugfix] major.minor[.bugfix]
  • 7. Linux Kernel before 2.6 奇數開發版號 2.3.0 → 2.3.1 → … → 2.3.99-pre1 → … → 2.4.0 2.5.0 → 2.5.1 → … → 2.5.75 → 2.6.0 偶數穩定版號 2.4.0 → 2.4.1 → … → 2.4.33 → 2.4.33.1 → …
  • 8. Linux Kernel after 2.6 2.6.0 → 2.6.1 → … → 2.6.8 → 2.6.8.1 2.6.9, 2.6.10, 2.6.11 → 2.6.11.1 → … 2.6.34 → 2.6.34.1 → … 2.6.35-rc1 → … → 2.6.35-rc6 → … → 2.6.35
  • 9. Mozilla Firefox 3.6.6 → 3.6.7 → 3.6.8 → … 4.0b1 → … → 4.0 → 4.0.1 → …
  • 10. 5.6.12 Version [epoch:]upstream_version[-debian_version]
  • 11. [epoch:] [epoch:]upstream_version[-debian_version] 紀元 [0-9]+ 從缺為零 0:
  • 12. [-debian_version] [epoch:]upstream_version[-debian_version] Debian 版本號碼 [A-Za-z0-9+.~]+ 從缺為零 -0
  • 13. upstream_version [epoch:]upstream_version[-debian_version] 上游軟體的版本號碼 [A-Za-z0-9+.~:-]+ 有 epoch: 才可以使用 : 有 -debian_version 才可以使用 -
  • 14. Linux Kernel Package $ dpkg -l '*linux-image*' | grep ^ii linux-image-2.6.32-24-generic 2.6.32-24.38
  • 15. Mozilla Firefox Package $ dpkg -l '*firefox*' | grep ^ii firefox 3.6.7+build2+nobinonly-0ubuntu0.10.04.1
  • 16. Native Debian Package 沒有使用 [-debian_version] 的 Debian Package [epoch:]upstream_version[-debian_version] $ dpkg -l | less dh-make 0.50 debianutils 3.2.2 debian-policy 3.8.4.0
  • 17. 比大小 dpkg --compare-versions < 版本號 > < 比較關係 > < 版本號 > lt 小於 '<<' le 小於或等於 '<=' eq 等於 '=' ne 不等於 '!=' ge 大於或等於 '>=' gt 大於 '>>'
  • 18. Q&A [epoch:]upstream_version[-debian_version] [A-Za-z0-9+.~:-]+ 3 = 0:3-0 3:1 = 3:1-0 ? 0:3-0 = 3 3.1 = 0:3.1-0 ? 0:3-0 = 3 3+1 = 0:3+1-0 ? 0:3-0 = 3 3-1 = 0:3-1 ? 0:3-0 = 3 3~1 = 0:3~1-0 ? 0:3-0 = 3
  • 19. Linux Kernel Version 2.6.35-rc1 → 2.6.35~rc1 2.6.35~rc1 << 2.6.35 << 2.6.35-rc1 << 2.6.35.1
  • 20. Mozilla Firefox Version 4.0b1 → 4.0~b1 4.0~b1 << 4.0 << 4.0-b1 << 4.0b1 << 4.0.1
  • 21. Debian Package Maintainer 直接打包上傳至 Debian 官方套件庫 linux 2.6.35-rc1 → 2.6.35~rc1-1 firefox 4.0b1 → 4.0~b1-1 debian_version 習慣上從 1 開始
  • 22. Ubuntu Package Maintainer 直接打包上傳至 Ubuntu 官方套件庫 linux 2.6.35-rc1 → 2.6.35~rc1-0ubuntu1 firefox 4.0b1 → 4.0~b1-0ubuntu1 取自 Debian 官方套件庫加上修改 linux 2.6.35-rc1 → 2.6.35~rc1-1ubuntu1 firefox 4.0b1 → 4.0~b1-1ubuntu1 0ubuntu1 << 1 << 1ubuntu1 << 2
  • 23. PPA / Customized Package 直接打包上傳至 PPA 套件庫 linux 2.6.35-rc1 → 2.6.35~rc1-0ubuntu0ppa1 取自 Debian 官方套件庫加上修改 linux 2.6.35-rc1 → 2.6.35~rc1-1ubuntu0ppa1 取自 Ubuntu 官方套件庫加上修改 linux 2.6.35-rc1 → 2.6.35~rc1-1ubuntu1ppa1 0ubuntu0ppa1 << 0ubuntu1 << 0ubuntu1ppa1 << 1 1 << 1ubuntu0ppa1 << 1ubuntu1 << 1ubuntu1ppa1 << 2
  • 24. Non-Maintainer Update Native 1.0.1 → 1.0.1+nmu1 Upstream 1.0-1 → 1.0-1+nmu1 New Upstream 2.0-0+nmu1 Debian Bug report logs - #542288
  • 25. Thanks CC-BY-SA <(_::_)>

×