
우분투 14.04를 실행하고 있습니다. whereis
, whatis
, locate
및 명령을 시도했습니다 find
. 설치된 것 같아요. 다시 설치할 수 없습니다. 패키지를 설치하는 데 사용합니다 apt-get
. virt-manager
특정 버전이어야 합니다.
답변1
apt-cache policy
리포지토리에서 설치 가능/설치된 패키지에 관해 말하면, 패키지가 현재 설치되어 있는지 여부와 다음을 실행하면 어떤 버전으로 업그레이드될지 확인하는 데 사용할 수 있습니다 sudo apt-get upgrade
.
apt-cache policy libosinfo-1.0-0
user@user-X550CL ~ % apt-cache policy libosinfo-1.0-0
libosinfo-1.0-0:
Installed: (none)
Candidate: 0.2.11-1.1
Version table:
0.2.11-1.1 0
500 http://it.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
답변2
은 패키지 이름이 아니므 로 libosinfo
아래 명령을 사용할 수 있습니다.
apt-cache policy ^libosinfo
Installed
및/또는 값은 Candidate
버전을 표시합니다.
샘플 출력
libosinfo-1.0-0:
Installed: (none)
Candidate: 0.2.11-1.1
Version table:
0.2.11-1.1 0
500 http://archive.ubuntu.com.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
0.2.11-0ubuntu1~utopic1 0
500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ vivid/main amd64 Packages
libosinfo-1.0-0-dbg:
Installed: (none)
Candidate: 0.2.11-1.1
Version table:
0.2.11-1.1 0
500 http://archive.ubuntu.com.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
0.2.11-0ubuntu1~utopic1 0
500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ vivid/main amd64 Packages
libosinfo-1.0-dev:
Installed: (none)
Candidate: 0.2.11-1.1
Version table:
0.2.11-1.1 0
500 http://archive.ubuntu.com.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
0.2.11-0ubuntu1~utopic1 0
500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ vivid/main amd64 Packages
libosinfo-bin:
Installed: (none)
Candidate: 0.2.11-1.1
Version table:
0.2.11-1.1 0
500 http://archive.ubuntu.com.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
0.2.11-0ubuntu1~utopic1 0
500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ vivid/main amd64 Packages