&Quot 지정하십시오. dist-upgrade"; 그리고 왜 업그레이드합니다 &quot upgrade&quot, 이상, 있습니까?

내가 왜 doesn& # 39, 가끔 궁금 "업그레이드" t "dist 업그레이드합니다" 가 있으며, 특정 부분에 업그레이드하시겠습니까 시스템. 예를 들어 here& # 39 의 실행 후 "apt 확보하십시오. 업그레이드합니다":

"apt 확보하십시오. 업그레이드합니다":

rimmer@rimmer-Lenovo-IdeaPad-S10-2:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

대對 "apt 확보하십시오. dist 업그레이드합니다":

rimmer@rimmer-Lenovo-IdeaPad-S10-2:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-3.0.0-13 linux-headers-3.0.0-13-generic
  linux-image-3.0.0-13-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.5 MB of archives.
After this operation, 215 MB of additional disk space will be used.
Do you want to continue [Y/n]?

즉, 왜 이 의해 수행되는 can& # 39, t '업그레이드'?

해결책

['Apt 확보하십시오.' 수작업식] 에서 1:

upgrade
   upgrade is used to install the newest versions of all packages
   currently installed on the system from the sources enumerated in
   /etc/apt/sources.list. Packages currently installed with new
   versions available are retrieved and upgraded; under no
   circumstances are currently installed packages removed, or packages
   not already installed retrieved and installed. New versions of
   currently installed packages that cannot be upgraded without
   changing the install status of another package will be left at
   their current version. An update must be performed first so that
   apt-get knows that new versions of packages are available.

dist-upgrade
   dist-upgrade in addition to performing the function of upgrade,
   also intelligently handles changing dependencies with new versions
   of packages; apt-get has a "smart" conflict resolution system, and
   it will attempt to upgrade the most important packages at the
   expense of less important ones if necessary. So, dist-upgrade
   command may remove some packages. The /etc/apt/sources.list file
   contains a list of locations from which to retrieve desired package
   files. See also apt_preferences(5) for a mechanism for overriding
   the general settings for individual packages.

2 와 ['아파트'] 에서 사용할 수 있는 새로운 도구에서는 14.04 주전이 되었다.

full-upgrade
   full-upgrade performs the function of upgrade but may also remove
   installed packages if that is required in order to resolve a
   package conflict.

이 예에서는, 예를 들어, 내가 보고 있는 '' 는 가상 linix 헤더도 패키지를 제공하는 것과 같은 종류의 패키지 '와' 와 'linux-headers-3.0.0-13 linux-headers-3.0.0-12 모두' 소리 ',' 업그레이드 '가 아닌' 에서 설치 및 제거 처리됩니까 dist 업그레이드합니다.

해설 (7)

'업그레이드' 할 수 있는 경우를 apt 확보하십시오. 제한되는지 패키지는 교체 새 버전의 패키지 요구사항뿐 제거되었거나 추가되도록 적은 없다. 새로운 버전의 파이어폭스, 예를 들어, apt 확보하십시오. 을 (를) '' 업그레이드합니다 설치할 수 있어야 합니다.

그러나 '업그레이드' 가 필요한 추가 또는 제거 작업 apt 확보하십시오. 거부할 경우 업데이트 버전은. 예를 들어, '와' 가 있을 때 나타날 경우 '' 패키지 '' 커널 linux-image-3.2.0-10-generic linux-image-3.2.0-11-generic 일반 linux*용 이미지 최신 버전을 의존하여 업데이트됩니다. 설치하기 위해 새로운 커널을 실행하는 데 필요한 apt 확보하십시오. dist 업그레이드합니다 ','.

그동안 '패키지' 가 있다고 업그레이드합니다 디이브이 방법 'apt 확보하십시오. 커널 뒤로를 유보됨'. # 39 의 사용에 대한 apt 확보하십시오. dist 업그레이드합니다 that& 큐 ''.

해설 (2)

기본적으로 한 다른 버전으로 업그레이드할 업그레이드는 기존 패키지. 패키지 설치 / 제거 경우에도 업그레이드합니다 언로드하기 필요하지 않을 것이라고 한다. 의 경우 커널 업데이트를, 패키지 설치 필요 때문에, 새로운 linux-3.0.0-13-generic linix 일반 업그레이드 패키지 설치 / 제거, 이를 거부하고 업그레이드합니다 linix 일반 업그레이드합니다 패키지를 거부하고 있다.

가끔 간 비호환성을 다양한 패키지 가 필요할 수 있는지, 또 다른 패키지 재거됨 업그레이드하기 위해 필요한 dist 업그레이드합니다. 때문에 이들은 처리됩니까 dist 업그레이드합니다 커널 업데이트를 얼마나 있어야 합니다. 커널 패키지이므로 얻을 수 있는 패키지가 아닌 완전히 새로운 커널 창조하 투명지에 업데이트되도록, 매번 새로운 커널 및 커널 무스타파카제 업데이트되도록 의존하여 대신 패키지로의 이전. 이는 이전 커널 버전을 유지할 수 있도록 수행됨 수립하였습니다 도왔으매 문제가 있는 경우에도 부트한 새로운 커널, 이전, 부트 메뉴를 선택할 수 있는 한 복구하십시오.

해설 (1)
  • '만' 는 apt 확보하십시오. install 업데이트 (수정) 명령은 현재 일반적으로 업그레이드합니다 설치했거나 쉽다. 예를 들어, 일반적으로 새로운 버전의 모질라 파이어폭스 , * 약간만이라도 설치되었음 대체하십시오 함장님이요

그러나 일반적으로 '가 아닌' 를 새롭게 릴리즈와는 apt 확보하십시오. 업그레이드합니다 큰 변화가 있는 포함한 패키지 제거 또는 grub 업데이트가 필요한). 예를 들어, 한 때 새로운 리눅스 커널 (linux-image-3.x.x-xx-generic 등) 를 사용할 수 있으며, 숨겨요 되지 않겠느냐는 설치되었음.

  • '를 설치하기 위해 새로운 커널, apt 확보하십시오. dist 업그레이드합니다' 실행해야 합니다. , * '업그레이드' 너회가 통지됩니다 apt 확보하십시오. 말하는 대로 실행할 때 특정 패키지를 뒤로를 유보됨 왔다. # 39 의 that& 너회의 큐 사용: 'apt 확보하십시오. dist 업그레이드합니다'.
해설 (4)

최상의 옵션은 다음과 같습니다.

전체 업그레이드 '아파트'

  • 어떤 자동차 핸들 때 종속도 업그레이드 패키지. 반면:
apt upgrade
  • 언약보다는 자동차 핸들 종속물과의 업그레이드하기를 때 쉽다.

듀프트로스터스 -

해설 (0)