Differences between revisions 1 and 2
Revision 1 as of 2011-11-23 14:50:58
Size: 2256
Editor: ?tuxfolder
Comment:
Revision 2 as of 2012-01-31 23:20:19
Size: 2337
Editor: ?mdt
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
 * [[IRC]]: [[irc://irc.debian.org/debian-dpkg|#debian-dpkg]] on irc.debian.org

Translation(s): English - Italiano - 한국어(Korean)

(!) ?Discussion


DebianPackage > dpkg


dpkg, Debian 중간 단계 패키지 관리자

dpkg --set-selections 를 통해 다음번 apt-get dist-upgrade 실행 시 설치/삭제 할 패키지를 결정할 수 있다.

왜 "중간-단계" 인가?

dpkg 하위 단계에는 .deb (바이너리) 패키지에 대해 보다 하급 액션 - control 정보를 읽어서 압축을 해제하는 등 - 을 처리하는 dpkg-deb 가 존재한다.

dpkg 는 의존성을 검사해서 조건이 충족되지 않는 패키지가 설치되는 것을 방지하지만, 그러한 의존성을 알아서 찾고 또 설치해주지 못하기 때문에, ((dselectapt-get 처럼) 고차원적으로 접근하는 도구가 필요한 것이다.

Error Messages

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)

An attempt is being made to run more than one package management process

This error may occur if an attempt to run more than one package management process is made. For example, if a package is being installed or removed using apt-get, or dselect, it should not be possible to run another package management tool, until the package updates are complete.

A non-root user is trying to add or remove packages

This error may also occur if a non-privileged (non-root) user attempts to add or install packages, or make a change to package status information within the package database.

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

A non-root user is trying to add or remove packages

This error may occur if a non-privileged (non-root) user attempts to add or install packages, or make a change to package status information within the package database.

See also


?CategoryQuickPackageManagement | CategoryPackageManagement