| | 115 | |
| | 116 | (snip) |
| | 117 | |
| | 118 | Get:1 http://ppa.launchpad.net/nathan-launchpad/iproute-lucid-ppa/ubuntu/ lucid/main iproute 20100519-2~lucid~ppa1 [425kB] |
| | 119 | }}} |
| | 120 | |
| | 121 | === another way === |
| | 122 | * from [http://www.facebook.com/note.php?note_id=166938346689258 さくらVPSのUbuntu 10.04でさくらの6rd(トライアル)を使う | Facebook] |
| | 123 | * $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/maverick.list |
| | 124 | * $ sudo sed -i s#lucid#maverick#g /etc/apt/sources.list.d/maverick.list |
| | 125 | * $ sudo vim /etc/apt/preferences.d/iproute-pin-600 |
| | 126 | > {{{ |
| | 127 | > Explanation: Do not install from maverick |
| | 128 | > Package: * |
| | 129 | > Pin: release n=maverick |
| | 130 | > Pin-Priority: -1 |
| | 131 | > |
| | 132 | > Explanation: Install iproute from maverick |
| | 133 | > Package: iproute |
| | 134 | > Pin: release n=maverick |
| | 135 | > Pin-Priority: 600 |
| | 136 | > }}} |
| | 137 | * これらに追加して、以下の設定が必要 |
| | 138 | * /etc/apt/apt.conf.d/01ubuntu |
| | 139 | {{{ |
| | 140 | Index: /etc/apt/apt.conf.d/01ubuntu |
| | 141 | =================================================================== |
| | 142 | --- /etc/apt/apt.conf.d/01ubuntu (revision 534) |
| | 143 | +++ /etc/apt/apt.conf.d/01ubuntu (working copy) |
| | 144 | @@ -1,3 +1,4 @@ |
| | 145 | APT |
| | 146 | { |
| | 147 | + Default-Release "lucid"; |
| | 148 | }; |
| | 149 | }}} |
| | 150 | |
| | 151 | * これがないと、全てのパッケージがmaverickにupgradeされてしまう |
| | 152 | * $ aptitude -s safe-upgrade |
| | 153 | {{{ |
| | 154 | (snip) |
| | 155 | |
| | 156 | ureadahead usbutils util-linux uuid-runtime vim vim-common vim-runtime vim-tiny w3m wget whiptail x11-common xfsprogs xkb-data zlib1g |
| | 157 | The following packages are RECOMMENDED but will NOT be installed: |
| | 158 | byobu dbus libglib2.0-data libjson-xs-perl libpaper-utils shared-mime-info ttf-liberation x-ttcidfont-conf |
| | 159 | 293 packages upgraded, 26 newly installed, 9 to remove and 5 not upgraded. |
| | 160 | Need to get 231MB of archives. After unpacking 120MB will be used. |