dpkg

2008/05/20 10:42
# dpkg 명령어

# sudo dpkg --configure -a

# 오류

/var/lib/dpkg/info/*.list 오류   ???

# sudo dpkg --configure -a 오류 해결
->
ubuntu:/etc/apt/sources.list.d$ sudo dpkg --configure -a
dpkg: `/var/lib/dpkg/available' 파일 4335번 줄 근처에서 파싱 오류 꾸러미 `libgnome2-canvas-perl':
 `Depends' 필드, 꾸러미 이름(`
ubuntu:/etc/apt/sources.list.d$ cd /var/lib/dpkg

위와 같은 에러가 발생할 경우

ubuntu:/var/lib/dpkg$ ls
alternatives   cmethopt        info   statoverride      status-old
available      diversions      lock   statoverride-old  triggers
available-old  diversions-old  parts  status            updates

ubuntu:/var/lib/dpkg$ sudo vi available
ubuntu:/var/lib/dpkg$ sudo dpkg --configure -a

편집기로 available를 불러낸 다음 에러가 발생한 4335번 줄로 가서 4335줄을 포함하고 있는 모든 Package 라인을 삭제한 다음 sudo dpkg --configure -a 를 실행한다.(다음 에러 발생시 똑같이 반복한다.)

삭제는 다음과 같다.

Package: xserver-xorg-input-vmmouse
Priority: optional
Section: x11
Installed-Size: 92
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 1:12.4.3-1ubuntu1
Replaces: xserver-xorg (<< 6.8.2-35)
Provides: xserver-xorg-input-2
Depends: libc6 (>= 2.7-1), xserver-xorg-core (>= 2:1.4)
Size: 14676
Description: X.Org X server -- VMMouse input driver to use with VMWare
 This package provides the driver for the X11 vmmouse input device.
 .
 The VMMouse driver enables support for the special VMMouse protocol
 that is provided by VMware virtual machines to give absolute pointer
 positioning.
 .
 The vmmouse driver is capable of falling back to the standard "mouse"
 driver if a VMware virtual machine is not detected. This allows for
 dual-booting of an operating system from a virtual machine to real hardware
 without having to edit xorg.conf every time.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 <URL:http://xorg.freedesktop.org>
 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
 .
 This package is built from the X.org xf86-input-vmmouse driver module.
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>

Package: libexempi3
...

삭제시
Package: xserver-xorg-input-vmmouse 부터
...
Package: libexempi3 사이에 있는 모든 라인을 삭제한다.

참고
dpkg 패키지 관리 툴
http://wiki.kldp.org/KoreanDoc/debpkg.txt

'컴퓨터 > 리눅스' 카테고리의 다른 글

우분투 설정  (0) 2008/05/20
apt  (2) 2008/05/20
dpkg  (0) 2008/05/20
Ubuntu Releases  (0) 2008/04/26
수동 fsck /dev/sda1  (0) 2008/04/20
/sbin/init  (0) 2008/04/01
Posted by iamiam

트랙백 보낼 주소 :: http://jejucity.org/trackback/65 관련글 쓰기

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절

◀ PREV : [1] : ... [72] : [73] : [74] : [75] : [76] : [77] : [78] : [79] : [80] : ... [127] : NEXT ▶

BLOG main image
제주오알지 by iamiam

카테고리

분류 전체보기 (127)
갤러리 (2)
컴퓨터 (110)
자료실 (2)
미디어 (4)
기타 (4)
공지사항 (1)
트랙백 (2)
Total : 98,402
Today : 25 Yesterday : 51