'2011/01'에 해당되는 글 2건

  1. 2011.01.26 [error] E: Sub-process /usr/bin/dpkg returned an error code (1)
  2. 2011.01.14 Repo 설치 및 설정

apt-get으로 패키지를 설치할 때 패키지가 깨지거나 하는 등의 문제로 아래의 에러를 내며 설치가 되지 않는 경우가 종종 생긴다.

E: Sub-process /usr/bin/dpkg returned an error code (1)

아래는 설치하려는 패키지의 파일이 다른 패키지에도 포함되어 있어 덮어씌우기를 해야하는 상황이다.

이럴 땐 패키지 파일이 있는 디렉토리로 이동해 아래처럼 강제로 덮어씌우는 옵션을 줘서 설치한다.

root@ubuntu:/var/cache/apt/archives# dpkg -i --force-overwrite 패키지명

'Web > Ubuntu' 카테고리의 다른 글

hostname 변경  (0) 2011.02.19
iso 이미지 만들기, cd 굽기  (0) 2011.02.12
shell 한글 입력  (0) 2010.11.12
[error] setuid  (0) 2010.05.06
싱글모드 부팅  (0) 2010.05.06
Posted by jazzlife
,

Repo 설치 및 설정

old/Git 2011. 1. 14. 19:19

 

Public key 생성

$ ssh-keygen –t rsa

$ cat ~/.ssh/id_rsa.pub

내용을 복사한다.

 

git.lge.com에서 gerrit 방문한다.

 

과정을 완료 했으면 ~/.ssh/known_hosts 복사한 host key 붙여넣는다.

 

$ vi ~/.ssh/known_hosts

 

 

$ git config --global user.name “Your AD Account”

$ git config --global user.email “Your E-mail”

$ git config --global merge.tool kdiff3

 

- Public key Check
       $ ssh -p 29468 165.243.137.26 

 

$ cd ~
$ mkdir bin

$ curl http://android.git.kernel.org/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

 

$ mkdir p500_gingerbread
$ cd p500_gingerbread.

 

$ repo init -u ssh://YourADAccount@165.243.137.26:29468/p500_gingerbread/manifest.git -b p500_gingerbread_master

 

$ repo sync

$ repo start p500_gingerbread_master –all

'old > Git' 카테고리의 다른 글

git 작업취소  (0) 2010.08.07
git 요약  (0) 2010.07.27
Subversion Git 사용법  (0) 2010.05.14
Eclipse Plugins  (0) 2010.02.01
Git과 SVN 통합  (0) 2010.02.01
Posted by jazzlife
,