Translation(s): English - Français - 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