既知の不具合
/bin/sh は texlive-2011-2osx10.7.x86_64 に必要とされています E: Transaction set check failed E: Handler silently failedこのエラーが出た場合は
$ sudo apt-get install OSX-system $ sudo apt-get dist-upgradeで取りあえず回避してください。
その他
proxy の設定が必要な場合は /usr/osxws/etc/apt/apt.conf を編集します。 (←私のところでは、シェルの環境変数http_proxyではうまくいかず、 左のようにしてapt-getでサーバにつながるようになりましたが、 間違っていれば直してください。瀬戸)
開発メモ
Lion にアップグレードすると Xcode-4 を App Store から無料で入手できる。 gcc は 4.2.1
$ /usr/bin/gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
$ glibtool --version ltmain.sh (GNU libtool) 2.2.10
$ autoconf --version autoconf (GNU Autoconf) 2.61
$ automake --version automake (GNU automake) 1.10
$ git --version git version 1.7.4.4
$ svn --version svn, version 1.6.16 (r1073529) compiled Jun 13 2011, 15:54:33 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.apache.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
$ cvs --version Concurrent Versions System (CVS) 1.12.13 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS
$ perl -v This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ python --version Python 2.7.1
$ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
$ psql --version psql (PostgreSQL) 9.0.4 contains support for command-line editing
議論と要望
$ sudo apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done The following NEW packages will be installed: OSX-keyring apt apt-sourceslist-main db4 db4-utils file gettext gettext-libs glib2 gnupg libffi lua lua-rex nspr nss oniguruma pcre pkgconfig popt readline rpm rpm-libs xz xz-devel xz-libs 0 upgraded, 25 newly installed, 0 removed and 0 not upgraded. Need to get 10.6MB of archives. After unpacking 47.2MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main readline 6.2-1osx10.7 [220kB] Get:2 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main gettext-libs 0.18.1.1-0osx10.7 [123kB] Get:3 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main gettext 0.18.1.1-0osx10.7 [1844kB] Get:4 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main popt 1.14-1osx10.7 [39.4kB] Get:5 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main nspr 4.8.9-1osx10.7 [103kB] Get:6 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main nss 3.13.1-1osx10.7 [1098kB] Get:7 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main xz-libs 5.0.3-1osx10.7 [86.9kB] Get:8 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main libffi 3.0.9-1osx10.7 [58.3kB] Get:9 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main glib2 2.30.2-1osx10.7 [2053kB] Get:10 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main pkgconfig 0.26-1osx10.7 [38.4kB] Get:11 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main xz-devel 5.0.3-1osx10.7 [37.1kB] Get:12 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main db4 4.8.30-2osx10.7 [597kB] Get:13 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main lua 5.1.4-3osx10.7 [180kB] Get:14 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main file 5.10-1osx10.7 [196kB] Get:15 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main rpm-libs 4.9.1.2-0.3osx10.7 [258kB] Get:16 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main db4-utils 4.8.30-2osx10.7 [880kB] Get:17 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main xz 5.0.3-1osx10.7 [162kB] Get:18 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main rpm 4.9.1.2-0.3osx10.7 [404kB] Get:19 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main gnupg 1.4.11-1osx10.7 [1181kB] Get:20 http://www.bach-phys.ritsumei.ac.jp Lion/noarch/main OSX-keyring 10.7-1osx10.7 [10.5kB] Get:21 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main oniguruma 5.9.2-2osx10.7 [120kB] Get:22 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main pcre 8.21-1osx10.7 [203kB] Get:23 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main lua-rex 2.4.0-3osx10.7 [45.6kB] Get:24 http://www.bach-phys.ritsumei.ac.jp Lion/x86_64/main apt 0.5.15lorg3.95-5osx10.7 [658kB] Get:25 http://www.bach-phys.ritsumei.ac.jp Lion/noarch/main apt-sourceslist-main 1.1-1osx10.7 [3444B] Fetched 10.6MB in 56s (187kB/s) Committing changes... Preparing ############################## [100%] Updating / installing gettext-libs-0.18.1.1-0osx10.7.x86_64 ############################## [100%] lua-5.1.4-3osx10.7.x86_64 ############################## [100%] db4-4.8.30-2osx10.7.x86_64 ############################## [100%] xz-libs-5.0.3-1osx10.7.x86_64 ############################## [100%] readline-6.2-1osx10.7.x86_64 ############################## [100%] popt-1.14-1osx10.7.x86_64 ############################## [100%] gnupg-1.4.11-1osx10.7.x86_64 ############################## [100%] gettext-0.18.1.1-0osx10.7.x86_64 ############################## [100%] file-5.10-1osx10.7.x86_64 ############################## [100%] OSX-keyring-10.7-1osx10.7.noarch ############################## [100%] xz-5.0.3-1osx10.7.x86_64 ############################## [100%] db4-utils-4.8.30-2osx10.7.x86_64 ############################## [100%] pcre-8.21-1osx10.7.x86_64 ############################## [100%] oniguruma-5.9.2-2osx10.7.x86_64 ############################## [100%] lua-rex-2.4.0-3osx10.7.x86_64 ############################## [100%] libffi-3.0.9-1osx10.7.x86_64 ############################## [100%] glib2-2.30.2-1osx10.7.x86_64 ############################## [100%] pkgconfig-0.26-1osx10.7.x86_64 ############################## [100%] xz-devel-5.0.3-1osx10.7.x86_64 ############################## [100%] nspr-4.8.9-1osx10.7.x86_64 ############################## [100%] nss-3.13.1-1osx10.7.x86_64 ############################## [100%] rpm-libs-4.9.1.2-0.3osx10.7.x86_64 ############################## [100%] rpm-4.9.1.2-0.3osx10.7.x86_64 ############################## [100%] apt-sourceslist-main-1.1-1osx10.7.noar ############################## [100%] mv apt.conf to apt.conf.orig mv preferences to preferences.orig mv rpmpriorities to rpmpriorities.orig mv sources.list to sources.list.orig apt-0.5.15lorg3.95-5osx10.7.x86_64 ######### [ 30%]warning: /usr/osxws/etc/apt/preferences created as /usr/osxws/etc/apt/preferences.rpmnew apt-0.5.15lorg3.95-5osx10.7.x86_64 ############################## [100%] mv preferences.rpmnew to preferences Done. Rebuilding RPM database (this may take a few minutes)...
$ sudo apt-get update
をしても何も作業なく、
すぐにプロンプトがかえってきます。エラーメッセージありませんでした。
/usr/osxws/etc/apt/sources.list.d の内容が前後で変化ないことは見ました。Hasegawa
$ sudo apt-get update Password: Get:1 http://www-jlc.kek.jp HEPonX/x86_64 release [474B] (….省略….) Building Dependency Tree... Done $ sudo apt-get dist-upgrade Reading Package Lists... Done (...前回の報告内容と同じなので省略…) Rebuilding RPM database (this may take a few minutes)... $ sudo apt-get update $ (<- ここで、見た目には何もおこらずプロンプトが返ってくる) $ sudo apt-get install OSX-base $ (<- なにもなくプロンプトが返る)
$ sudo apt-get install task-texlive Password: Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or that some of the repositories in use are in an inconsistent state at the moment. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: task-texlive: Depends: texlive-common (= 2011) Depends: texlive-macros (= 2011) Depends: texlive-collection-latexextra (= 2011) Depends: texlive-collection-luatex (= 2011) Depends: texlive-collection-pictures (= 2011) Depends: texlive-collection-genericrecommended (= 2011) Depends: texlive-collection-pstricks (= 2011) Depends: texlive-collection-htmlxml Depends: texlive-collection-publishers Depends: texlive-collection-binextra Depends: texmacro-otf (>= 1.5.6.1) Depends: Skim Depends: latex2html Depends: pdfsync Depends: LaTeXiT E: Broken packages $