日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 运维知识 > Ubuntu >内容正文

Ubuntu

【原】Ubuntu中安装 mercurial - TortoiseHG

發(fā)布時(shí)間:2025/7/25 Ubuntu 52 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【原】Ubuntu中安装 mercurial - TortoiseHG 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

=================================================
本文為khler原作,轉(zhuǎn)載必須確保本文完整并完整保留原作者信息及本文原始鏈接
E-mail: khler@163.com
QQ:?????23381103
MSN:???pragmac@hotmail.com
=================================================


Ubuntu9.10后對(duì)apt的操作方便了很多。以下針對(duì)9.10后:

1、加入ppa:mercurial

2、加入ppa:TortoiseHG
3、update apt
4、install TortoiseHG
5、重啟系統(tǒng)
6、OK了

具體操作如下:

hyh@ubuntu:~$ sudo add-apt-repository ppa:tortoisehg-ppa/releases
[sudo] password for hyh:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 61EC6AF562E4A619C1156F71F2A97597D5056DDE
gpg: 下載密鑰‘D5056DDE’,從 hkp 服務(wù)器 keyserver.ubuntu.com
gpg: 密鑰 D5056DDE:公鑰“Launchpad TortoiseHg PPA Packagers”已導(dǎo)入
gpg: 合計(jì)被處理的數(shù)量:1
gpg:?????????????? 已導(dǎo)入:1? (RSA: 1)

hyh@ubuntu:~$ sudo apt-get update
命中 http://cn.archive.ubuntu.com lucid Release.gpg
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_CN??????? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_CN? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/universe Translation-zh_CN??? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_CN? ?
命中 http://cn.archive.ubuntu.com lucid-updates Release.gpg?????????????????? ?
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
命中 http://cn.archive.ubuntu.com lucid Release?????????????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates Release?????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/main Packages???????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/restricted Packages?????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/main Sources????????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/restricted Sources??????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/universe Packages???????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/universe Sources????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/multiverse Packages?????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/multiverse Sources??????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/main Packages???????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/restricted Packages?????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/main Sources????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/restricted Sources??????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/universe Packages???????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/universe Sources????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/multiverse Packages?????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/multiverse Sources??????????? ?
命中 http://ppa.launchpad.net lucid Release.gpg?????????????????????????????? ?
忽略 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
命中 http://ppa.launchpad.net lucid Release?????????????????????????????? ?
命中 http://ppa.launchpad.net lucid/main Packages????????????????????????? ?
命中 http://security.ubuntu.com lucid-security Release.gpg
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-zh_CN
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-zh_CN
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-zh_CN
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-zh_CN
命中 http://security.ubuntu.com lucid-security Release
命中 http://security.ubuntu.com lucid-security/main Packages
命中 http://security.ubuntu.com lucid-security/restricted Packages
命中 http://security.ubuntu.com lucid-security/main Sources
命中 http://security.ubuntu.com lucid-security/restricted Sources
命中 http://security.ubuntu.com lucid-security/universe Packages
命中 http://security.ubuntu.com lucid-security/universe Sources
命中 http://security.ubuntu.com lucid-security/multiverse Packages
命中 http://security.ubuntu.com lucid-security/multiverse Sources
正在讀取軟件包列表... 完成

hyh@ubuntu:~$ sudo apt-get install tortoisehg
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹(shù)????? ?
正在讀取狀態(tài)信息... 完成????? ?
有一些軟件包無(wú)法被安裝。如果您用的是 unstable 發(fā)行版,這也許是
因?yàn)橄到y(tǒng)無(wú)法達(dá)到您要求的狀態(tài)造成的。該版本中可能會(huì)有一些您需要的軟件
包尚未被創(chuàng)建或是它們已被從新到(Incoming)目錄移出。
下列信息可能會(huì)對(duì)解決問(wèn)題有所幫助:

下列軟件包有未滿足的依賴關(guān)系:
? tortoisehg: 依賴: mercurial (>= 1.6) 但是它將不會(huì)被安裝
E: 破損的軟件包

hyh@ubuntu:~$ sudo add-apt-repository ppa:mercurial-ppa/releases
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 41BD8711B1F0EC2B0D85B91CF59CE3A8323293EE
gpg: 下載密鑰‘323293EE’,從 hkp 服務(wù)器 keyserver.ubuntu.com
gpg: 密鑰 323293EE:公鑰“Launchpad Mercurial PPA Packagers”已導(dǎo)入
gpg: 合計(jì)被處理的數(shù)量:1
gpg:?????????????? 已導(dǎo)入:1? (RSA: 1)


hyh@ubuntu:~$ sudo apt-get update
命中 http://cn.archive.ubuntu.com lucid Release.gpg
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_CN??????? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_CN? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/universe Translation-zh_CN??? ?
命中 http://cn.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_CN? ?
命中 http://cn.archive.ubuntu.com lucid-updates Release.gpg?????????????????? ?
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-zh_CN
忽略 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
命中 http://cn.archive.ubuntu.com lucid Release?????????????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates Release?????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/main Packages???????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/restricted Packages?????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/main Sources????????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/restricted Sources??????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/universe Packages???????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/universe Sources????????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/multiverse Packages?????????????????? ?
命中 http://cn.archive.ubuntu.com lucid/multiverse Sources??????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/main Packages???????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/restricted Packages?????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/main Sources????????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/restricted Sources??????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/universe Packages???????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/universe Sources????????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/multiverse Packages?????????? ?
命中 http://cn.archive.ubuntu.com lucid-updates/multiverse Sources??????????? ?
獲取:1 http://ppa.launchpad.net lucid Release.gpg [307B]???????????????????? ?
忽略 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
命中 http://ppa.launchpad.net lucid Release.gpg
命中 http://security.ubuntu.com lucid-security Release.gpg
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-zh_CN
忽略 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
獲取:2 http://ppa.launchpad.net lucid Release [57.3kB]
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-zh_CN
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-zh_CN
忽略 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-zh_CN
命中 http://security.ubuntu.com lucid-security Release
命中 http://security.ubuntu.com lucid-security/main Packages
命中 http://security.ubuntu.com lucid-security/restricted Packages
命中 http://security.ubuntu.com lucid-security/main Sources
命中 http://security.ubuntu.com lucid-security/restricted Sources
命中 http://security.ubuntu.com lucid-security/universe Packages
命中 http://security.ubuntu.com lucid-security/universe Sources
命中 http://security.ubuntu.com lucid-security/multiverse Packages
命中 http://security.ubuntu.com lucid-security/multiverse Sources
命中 http://ppa.launchpad.net lucid Release????????? ?
獲取:3 http://ppa.launchpad.net lucid/main Packages [1,904B]
命中 http://ppa.launchpad.net lucid/main Packages
下載 59.5kB,耗時(shí) 3秒 (14.9kB/s)
正在讀取軟件包列表... 完成


hyh@ubuntu:~$ sudo apt-get install tortoisehg
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹(shù)????? ?
正在讀取狀態(tài)信息... 完成????? ?
將會(huì)安裝下列額外的軟件包:
? mercurial mercurial-common python-iniparse
建議安裝的軟件包:
? qct vim emacs kdiff3 tkdiff meld xxdiff python-mysqldb python-pygments
? tortoisehg-nautilus
下列【新】軟件包將被安裝:
? mercurial mercurial-common python-iniparse tortoisehg
升級(jí)了 0 個(gè)軟件包,新安裝了 4 個(gè)軟件包,要卸載 0 個(gè)軟件包,有 0 個(gè)軟件包未被升級(jí)。
需要下載 4,002kB 的軟件包。
解壓縮后會(huì)消耗掉 11.7MB 的額外空間。
您希望繼續(xù)執(zhí)行嗎?[Y/n]
獲取:1 http://cn.archive.ubuntu.com/ubuntu/ lucid/main python-iniparse 0.3.1-1 [19.0kB]
獲取:2 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main mercurial-common 1.6.3-0ppa1~lucid1 [1,321kB]
獲取:3 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main mercurial 1.6.3-0ppa1~lucid1 [54.8kB]?????????????????????????????????????????? ?
獲取:4 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main tortoisehg 1.1.2-1ppa1 [2,608kB]?????????????????????????????????????????????? ?
下載 4,002kB,耗時(shí) 43秒 (92.7kB/s)???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?
選中了曾被取消選擇的軟件包 mercurial-common。
(正在讀取數(shù)據(jù)庫(kù) ... 系統(tǒng)當(dāng)前總共安裝有 127088 個(gè)文件和目錄。)
正在解壓縮 mercurial-common (從 .../mercurial-common_1.6.3-0ppa1~lucid1_all.deb) ...
選中了曾被取消選擇的軟件包 mercurial。
正在解壓縮 mercurial (從 .../mercurial_1.6.3-0ppa1~lucid1_i386.deb) ...
選中了曾被取消選擇的軟件包 tortoisehg。
正在解壓縮 tortoisehg (從 .../tortoisehg_1.1.2-1ppa1_all.deb) ...
選中了曾被取消選擇的軟件包 python-iniparse。
正在解壓縮 python-iniparse (從 .../python-iniparse_0.3.1-1_all.deb) ...
正在處理用于 man-db 的觸發(fā)器...
正在處理用于 doc-base 的觸發(fā)器...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
正在設(shè)置 mercurial-common (1.6.3-0ppa1~lucid1) ...

正在設(shè)置 mercurial (1.6.3-0ppa1~lucid1) ...

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version

正在設(shè)置 tortoisehg (1.1.2-1ppa1) ...

正在設(shè)置 python-iniparse (0.3.1-1) ...

正在處理用于 python-support 的觸發(fā)器...

hyh@ubuntu:~$

?

?

?

?

轉(zhuǎn)載于:https://www.cnblogs.com/khler/archive/2010/08/27/1810365.html

總結(jié)

以上是生活随笔為你收集整理的【原】Ubuntu中安装 mercurial - TortoiseHG的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。