Changes between Version 2 and Version 3 of TipAndDoc/Linux/Packages


Ignore:
Timestamp:
Apr 19, 2011 4:28:47 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Linux/Packages

    v2 v3  
    5555   1. こんばんは。aptitude のメンテナをやっているものなのでちょっと気になった点についてコメントです。「aptitudeは(/var/log/aptitudeのログを元に)不要になったパッケージも削除します」は嘘ですよ。/var/lib/apt/extended_states というデータベースがあり、依存関係で引き込まれて自動的にインストールされたか否かに関する情報がそこに含まれています。ログなんて飾りですよ。何ヶ月かすれば logrotate に消されてしまうものなので。;-) - Posted by noritada at 2008年01月10日 03:22 
    5656   1. ptitudeのメンテナさん直々に指摘していただけるなんて光栄です。ちゃんと確認もせずにふわふわな状態で嘘を書いてしまってすみません……。aptitude も(/var/lib/aptitude/pkgstatesだけでなく)/var/lib/apt/extended_statesを読み込んでくれるんですね。てことは、この二つを混用することによる問題って何が原因で起こるのでしょう。というか、問題自体も解決済みなのかな。やっぱちゃんと確認してからって話になっちゃいますね……。 - Posted by しぐま at 2008年01月11日 21:27 
     57 
     58 = Preference control file for APT = 
     59 * APT_PREFERENCES(5) 
     60 > * Determination of Package Version and Distribution Properties 
     61 >        the Archive: or Suite: line 
     62 >            names the archive to which all the packages in the directory tree 
     63 >            belong. For example, the line "Archive: stable" or "Suite: stable" 
     64 >            specifies that all of the packages in the directory tree below the 
     65 >            parent of the Release file are in a stable archive. Specifying this 
     66 >            value in the APT preferences file would require the line: 
     67 >  
     68 >                Pin: release a=stable 
     69 >  
     70 >        the Codename: line 
     71 >            names the codename to which all the packages in the directory tree 
     72 >            belong. For example, the line "Codename: squeeze" specifies that 
     73 >            all of the packages in the directory tree below the parent of the 
     74 >            Release file belong to a version named squeeze. Specifying this 
     75 >            value in the APT preferences file would require the line: 
     76 >  
     77 >                Pin: release n=squeeze 
     78 >  
     79 >        the Version: line 
     80 >            names the release version. For example, the packages in the tree 
     81 >            might belong to Debian GNU/Linux release version 3.0. Note that 
     82 >            there is normally no version number for the testing and unstable 
     83 >            distributions because they have not been released yet. Specifying 
     84 >            this in the APT preferences file would require one of the following 
     85 >            lines. 
     86 >  
     87 >                Pin: release v=3.0 
     88 >                Pin: release a=stable, v=3.0 
     89 >                Pin: release 3.0 
     90 >  
     91 >        the Component: line 
     92 >            names the licensing component associated with the packages in the 
     93 >            directory tree of the Release file. For example, the line 
     94 >            "Component: main" specifies that all the packages in the directory 
     95 >            tree are from the main component, which entails that they are 
     96 >            licensed under terms listed in the Debian Free Software Guidelines. 
     97 >            Specifying this component in the APT preferences file would require 
     98 >            the line: 
     99 >  
     100 >                Pin: release c=main 
     101 >  
     102 >        the Origin: line 
     103 >            names the originator of the packages in the directory tree of the 
     104 >            Release file. Most commonly, this is Debian. Specifying this origin 
     105 >            in the APT preferences file would require the line: 
     106 >  
     107 >                Pin: release o=Debian 
     108 >  
     109 >        the Label: line 
     110 >            names the label of the packages in the directory tree of the 
     111 >            Release file. Most commonly, this is Debian. Specifying this label 
     112 >            in the APT preferences file would require the line: 
     113 >  
     114 >                Pin: release l=Debian