Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.
apt-get install tomcat7 tomcat7-admin로 tomcat을 설치할때 E: Sub-process /usr/bin/dpkg returned an error code (1) 오류가 발생시
1. /var/lib/dpkg/info 폴더로 이동(cd /var/lib/dpkg/info)한후 파일들을 백업한다.
2. 에러가 나는 패키지를 삭제한다.
3. 재설치해준다.
-----------------------------오류 메세지------------------------
root@gsda1:/var/lib/dpkg/info# apt-get install tomcat7 tomcat7-admin
Reading package lists... Done
Building dependency tree
Reading state information... Done
tomcat7 is already the newest version (7.0.68-1ubuntu0.1).
tomcat7-admin is already the newest version (7.0.68-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
19 | Ubuntu에서 sbt및 scala설치하기 | 2017.06.20 | 3764 |
18 | CentOS에서 리눅스(Linux) 포트 열기, 방화벽 설정/해제 등. | 2016.03.14 | 3696 |
17 | ubuntu 12.4에서 eclipse설치후 기동시 library(swt-gtk*)관련 오류 | 2014.04.23 | 3652 |
16 |
우분투 서버에 GUI로 접속하기
![]() | 2018.05.27 | 3651 |
15 | linux에서 특정 포트를 사용하는 프로세스 확인하기 | 2017.04.26 | 3650 |
14 | 프로세스를 확인해서 프로세스를 삭제하는 shell script예제(cryptonight) | 2018.02.02 | 3549 |
13 | [vi]블럭 및 문서내 복사등에 관련된 명령어 | 2017.02.17 | 3502 |
12 | [Dovecot] -ERR [SYS/PERM] Permission denied | 2017.06.13 | 3493 |
11 | VPS에서는 root로 실행해도 swap파일을 만들지 못하게 만들어 두었지만 swap파일을 생성하는 방법 | 2017.06.20 | 3475 |
10 | lubuntu 호스트 네임변경 | 2014.08.03 | 3371 |
9 | nc -l 7777 : 7777포트에서 입력을 받는다. | 2017.03.23 | 3320 |
8 | [shell script]test.txt에 space로 분리된 내용을 일어들이는 예제 | 2017.02.21 | 3241 |
7 | [CentOS] 네트워크 설정 | 2018.03.26 | 3217 |
6 | tar를 이용한 리눅스 백업 | 2018.05.13 | 3195 |
5 | uEnv.txt위치및 내용 | 2014.07.09 | 2829 |
4 | 파일명 혹은 확장자 일괄 변경하는 방법 | 2017.01.26 | 2811 |
3 | 파일은 남겨두고 파일 내용만 지우고자 할 때. | 2017.08.30 | 2710 |
2 |
센서테스트
![]() | 2015.05.25 | 2395 |
1 |
HAX is not working and emulator runs in emulation mode 메세지가 나오는 경우
![]() | 2015.05.25 | 2268 |