메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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)

번호 제목 날짜 조회 수
541 pom.xml에서 build.gradle로 변환 2015.09.14 310
540 AIX 7.1에 Hadoop설치(정리중#2) 2016.09.20 310
539 spark 2.0.0를 windows에서 실행시 로컬 파일을 읽을때 발생하는 오류 해결 방법 2017.01.12 311
538 /etc/logrotate.d 을 이용한 catalina.out 나누기 file 2017.01.19 312
537 RDF4J의 RESTFul API처리 클래스 소스 파악(web module위주) 2017.08.30 313
536 elasticsearch에서 모든 인덱스(색인)을 삭제하는 방법 2019.06.09 313
535 프로그래밍 언어별 딥러닝 라이브러리 정리 file 2016.10.05 314
534 각 서버에 설치되는 cloudera서비스 프로그램 목록(CDH 5.14.0의 경우) 2018.03.29 314
533 spark 2.3.0을 설치하가 위해서 parcel에 다음 url을 입력한다. 2018.07.15 316
532 start-all.sh로 spark데몬 기동시 "JAVA_HOME is not set"오류 발생시 조치사항 2016.08.01 318
531 숭실대 교수님등 강의영상(바이오데이터마이닝, 빅데이터분산컴퓨팅, 컴퓨터 그래픽스, 데이터베이스응용및 프로그램밍, 데이터베이스, 의생명영상처리, 웹그로그래밍, 데이터마이닝, 컴퓨터구조) file 2017.06.13 318
530 [Active Directory] AD Kerberos보안 설정 변경 방법 (Maximum lifetime for user ticket, Maximum lifetime for user ticket renewal) 2024.03.12 319
529 로컬의 라이브러리파일들을 dependency에 포함시키는 방법 2016.08.09 321
528 down된 broker로 메세지를 전송하려는 경우의 오류 내용및 조치사항 2016.08.12 322
527 Jena는 기본적으로 multi thread환경을 지원하지 않는다. 2016.08.16 322
526 VPS에서는 root로 실행해도 swap파일을 만들지 못하게 만들어 두었지만 swap파일을 생성하는 방법 2017.06.20 322
525 mongodb 2.6.6 설치(64bit) 2015.09.30 324
524 federated query 예제 2017.01.19 324
523 [vi]블럭 및 문서내 복사등에 관련된 명령어 2017.02.17 324
522 [postgresql 9.x] PostgreSQL Replication 구축하기 2018.07.17 324
위로