[Original] install mercurial-tortoisehg in Ubuntu

Source: Internet
Author: User
Tags gpg mercurial

========================================================== ==========
This article is the original khler, and the original author information and the original link of this article must be kept completely and completely reprinted.
E-mail:Khler@163.com
QQ: 23381103
MSN:Pragmac@hotmail.com
========================================================== ==========

After ubuntu9.10, APT operations are much easier. After 9.10:

1. Add PPA: mercurial

2. Add to PPA: tortoisehg
3. Update Apt
4. Install tortoisehg
5. restart the system
6. OK

The procedure is as follows:

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: Download the key 'd5056dde 'from the HKP server keyserver.ubuntu.com
GPG: Key d5056dde: the Public Key "Launchpad tortoisehg PPA packagers" has been imported
GPG: Total number of processed items: 1
GPG: imported: 1 (RSA: 1)

Hyh @ Ubuntu :~ $ Sudo apt-Get update
Hit http://cn.archive.ubuntu.com lucid release. GPG
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/Universe Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_CN
Hit http://cn.archive.ubuntu.com lucid-Updates release. GPG
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/Universe Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
Hit http://cn.archive.ubuntu.com lucid release
Hit http://cn.archive.ubuntu.com lucid-Updates release
Hit http://cn.archive.ubuntu.com lucid/main packages
Hit http://cn.archive.ubuntu.com lucid/restricted packages
Hit http://cn.archive.ubuntu.com lucid/Main Sources
Hit http://cn.archive.ubuntu.com lucid/restricted sources
Hit http://cn.archive.ubuntu.com lucid/Universe packages
Hit http://cn.archive.ubuntu.com lucid/Universe sources
Hit http://cn.archive.ubuntu.com lucid/multiverse packages
Hit http://cn.archive.ubuntu.com lucid/multiverse sources
Hit http://cn.archive.ubuntu.com lucid-updates/main packages
Hit http://cn.archive.ubuntu.com lucid-updates/restricted packages
Hit http://cn.archive.ubuntu.com lucid-updates/Main Sources
Hit http://cn.archive.ubuntu.com lucid-updates/restricted sources
Hit http://cn.archive.ubuntu.com lucid-updates/Universe packages
Hit http://cn.archive.ubuntu.com lucid-updates/Universe sources
Hit http://cn.archive.ubuntu.com lucid-updates/multiverse packages
Hit http://cn.archive.ubuntu.com lucid-updates/multiverse sources
Hit http://ppa.launchpad.net lucid release. GPG
Ignore http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
Hit http://ppa.launchpad.net lucid release
Hit http://ppa.launchpad.net lucid/main packages
Hit http://security.ubuntu.com lucid-security release. GPG
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/main Translation-zh_CN
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/restricted Translation-zh_CN
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/Universe Translation-zh_CN
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/multiverse Translation-zh_CN
Hit http://security.ubuntu.com lucid-security release
Hit http://security.ubuntu.com lucid-Security/main packages
Hit http://security.ubuntu.com lucid-Security/restricted packages
Hit http://security.ubuntu.com lucid-Security/Main Sources
Hit http://security.ubuntu.com lucid-Security/restricted sources
Hit http://security.ubuntu.com lucid-Security/Universe packages
Hit http://security.ubuntu.com lucid-Security/Universe sources
Hit http://security.ubuntu.com lucid-Security/multiverse packages
Hit http://security.ubuntu.com lucid-Security/multiverse sources
Reading the package list... complete

Hyh @ Ubuntu :~ $ Sudo apt-Get install tortoisehg
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
Some software packages cannot be installed. If you are using the unstable release, this may be
This is because the system cannot meet your requirements. This version may contain software you need.
Packages have not yet been created or they have been removed from the new incoming directory.
The following information may help solve the problem:

The following software packages have dependencies that are not met:
Tortoisehg: Dependency: mercurial (> = 1.6) but it will not be installed
E: damaged Software Package

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: Download the key '323293ee 'from HKP server keyserver.ubuntu.com
GPG: Key 323293ee: the Public Key "Launchpad mercurial PPA packagers" has been imported
GPG: Total number of processed items: 1
GPG: imported: 1 (RSA: 1)

Hyh @ Ubuntu :~ $ Sudo apt-Get update
Hit http://cn.archive.ubuntu.com lucid release. GPG
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/Universe Translation-zh_CN
Hit http://cn.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_CN
Hit http://cn.archive.ubuntu.com lucid-Updates release. GPG
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/Universe Translation-zh_CN
Ignore http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
Hit http://cn.archive.ubuntu.com lucid release
Hit http://cn.archive.ubuntu.com lucid-Updates release
Hit http://cn.archive.ubuntu.com lucid/main packages
Hit http://cn.archive.ubuntu.com lucid/restricted packages
Hit http://cn.archive.ubuntu.com lucid/Main Sources
Hit http://cn.archive.ubuntu.com lucid/restricted sources
Hit http://cn.archive.ubuntu.com lucid/Universe packages
Hit http://cn.archive.ubuntu.com lucid/Universe sources
Hit http://cn.archive.ubuntu.com lucid/multiverse packages
Hit http://cn.archive.ubuntu.com lucid/multiverse sources
Hit http://cn.archive.ubuntu.com lucid-updates/main packages
Hit http://cn.archive.ubuntu.com lucid-updates/restricted packages
Hit http://cn.archive.ubuntu.com lucid-updates/Main Sources
Hit http://cn.archive.ubuntu.com lucid-updates/restricted sources
Hit http://cn.archive.ubuntu.com lucid-updates/Universe packages
Hit http://cn.archive.ubuntu.com lucid-updates/Universe sources
Hit http://cn.archive.ubuntu.com lucid-updates/multiverse packages
Hit http://cn.archive.ubuntu.com lucid-updates/multiverse sources
Get: 1 http://ppa.launchpad.net lucid release. GPG [307b]
Ignore http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
Hit http://ppa.launchpad.net lucid release. GPG
Hit http://security.ubuntu.com lucid-security release. GPG
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/main Translation-zh_CN
Ignore http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main Translation-zh_CN
Get: 2 http://ppa.launchpad.net lucid release [57.3kb]
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/restricted Translation-zh_CN
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/Universe Translation-zh_CN
Ignore http://security.ubuntu.com/ubuntu/ lucid-Security/multiverse Translation-zh_CN
Hit http://security.ubuntu.com lucid-security release
Hit http://security.ubuntu.com lucid-Security/main packages
Hit http://security.ubuntu.com lucid-Security/restricted packages
Hit http://security.ubuntu.com lucid-Security/Main Sources
Hit http://security.ubuntu.com lucid-Security/restricted sources
Hit http://security.ubuntu.com lucid-Security/Universe packages
Hit http://security.ubuntu.com lucid-Security/Universe sources
Hit http://security.ubuntu.com lucid-Security/multiverse packages
Hit http://security.ubuntu.com lucid-Security/multiverse sources
Hit http://ppa.launchpad.net lucid release
Get: 3 http://ppa.launchpad.net lucid/main packages [1, 904b]
Hit http://ppa.launchpad.net lucid/main packages
Download 59.5kb, 3 seconds (14.9kb/s)
Reading the package list... complete

Hyh @ Ubuntu :~ $ Sudo apt-Get install tortoisehg
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
The following additional software packages will be installed:
Mercurial mercurial-common Python-iniparse
Recommended software packages:
Qct Vim Emacs kdiff3 tkdiff meld xxdiff Python-mysqldb Python-pygments
Tortoisehg-Nautilus
The following [new] software packages will be installed:
Mercurial mercurial-common Python-iniparse tortoisehg
0 software packages are upgraded, 4 new software packages are installed, 0 software packages are to be uninstalled, and 0 software packages are not upgraded.
Download the 4, kb software package.
After decompression, 11.7 MB of extra space is consumed.
Do you want to continue? [Y/n]
Get: 1 http://cn.archive.ubuntu.com/ubuntu/ lucid/main Python-iniparse 0.3.1-1 [KB]
Get: 2 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main mercurial-common 1.6.3-0ppa1 ~ Lucid1 [1, 321kb]
Get: 3 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ lucid/main mercurial 1.6.3-0ppa1 ~ Lucid1 [54.8kb]
Obtain: 4 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ lucid/main tortoisehg 1.1.2-1ppa1 [2, 608kb]
Download 4, kb, 43 seconds (92.7kb/s)
The selected software package mercurial-common was canceled.
(Reading the database... the system currently has a total of 127088 files and directories installed .)
Extracting mercurial-common (from.../mercurial-common_1.6.3-0ppa1 ~ Lucid1_all.deb )...
The selected software package mercurial was canceled.
Extracting mercurial (from.../mercurial_1.6.3-0ppa1 ~ Lucid1_i386.deb )...
Tortoisehg, a software package that has been deselected, is selected.
Extracting tortoisehg (from.../tortoisehg_1.1.2-1ppa1_all.deb )...
The Python-iniparse software package that was deselected was selected.
Extracting Python-iniparse (from.../python-iniparse_0.3.1-1_all.deb )...
Processing the trigger for man-DB...
Processing the trigger for Doc-base...
Processing 1 added doc-base file (s )...
Registering logs ents with scrollkeeper...
Setting mercurial-common (1.6.3-0ppa1 ~ Lucid1 )...

Setting mercurial (1.6.3-0ppa1 ~ Lucid1 )...

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

Setting tortoisehg (1.1.2-1ppa1 )...

Setting Python-iniparse (0.3.1-1 )...

Processing the trigger for python-support...

Hyh @ Ubuntu :~ $

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.