###前提・実現したいこと
コマンドラインにて、apt-getを使用できるようにしたいです。
###発生している問題・エラーメッセージ
このサイトを参考にapt-getを使用したくて、finkを入れようとしてました↓
そしたら、8.の
$ fink selfupdate
のところで、
$ fink selfupdate /usr/bin/rsync -az -q rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp I will now run the rsync command to retrieve the latest package descriptions. /usr/bin/rsync -rtz --delete-after --delete -q --include='10.9-libcxx/' --include='10.9-libcxx/stable/' --include='10.9-libcxx/stable/main/' --include='10.9-libcxx/stable/main/finkinfo/' --include='10.9-libcxx/stable/main/finkinfo/*/' --include='10.9-libcxx/stable/main/finkinfo/*' --include='10.9-libcxx/stable/main/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/' Scanning package description files.......... Information about 10345 packages read in 0 seconds. The following 5 packages will be installed or updated: dpkg dpkg-base-files fink-mirrors install-info tar The following 6 additional packages will be installed: expat1 expat1-shlibs fink-package-precedence gettext-tools locale-textdomain-pm5182 text-unidecode-pm Default answer will be chosen in 60 seconds... Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-dpkg-1.10.21-1245 /sw/src/fink.build Can't exec "dpkg-deb": No such file or directory ### execution of dpkg-deb failed, exit code -1 Failed: can't create package fink-buildlock-dpkg-1.10.21-1245
と出ます。これは、dpkg-debがおかしいのでしょうか?
###他に試したこと
他のやり方でapt入れれないかと思い、試したところ、やはりdpkg-debで躓きます。
$ fink install apt Password: Information about 10345 packages read in 1 seconds. The following package will be installed or updated: apt The following 2 additional packages will be installed: apt-shlibs dpkg Default answer will be chosen in 60 seconds... Do you want to continue? [Y/n] Y Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-dpkg-1.10.21-1245 /sw/src/fink.build Can't exec "dpkg-deb": No such file or directory ### execution of dpkg-deb failed, exit code -1 Failed: can't create package fink-buildlock-dpkg-1.10.21-1245
###補足情報(言語/FW/ツール等のバージョンなど)
・macOS Sierra ver.10.12.6(16G29)
・finkは参考サイトの7.まで終わっているので、バージョンを調べたところ、
$ fink –V Fink 0.41.1
今の、環境設定です。
$ export -p declare -x Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.pDRRAaym6R/Render" declare -x HOME="/Users/dama" declare -x INFOPATH="/sw/share/info:/sw/info:/usr/share/info" declare -x LANG="ja_JP.UTF-8" declare -x LOGNAME="dama" declare -x MANPATH="/sw/share/man:/Users/dama/anaconda/share/man:/opt/local/share/man/ja:/opt/local/share/man:/usr/local/share/man:/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/sw/lib/perl5/5.18.2/man" declare -x OLDPWD="/Users/dama/Downloads/codes_distribution/codes/image_processing/result_checker/build" declare -x PATH="/sw/bin:/sw/sbin:/Users/dama/anaconda/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" declare -x PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" declare -x PWD="/" declare -x SHELL="/bin/bash" declare -x SHLVL="1" declare -x SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.lv8DoGuUyD/Listeners" declare -x TERM="xterm-256color" declare -x TERM_PROGRAM="Apple_Terminal" declare -x TERM_PROGRAM_VERSION="388.1.1" declare -x TERM_SESSION_ID="3FCFAFD9-36A5-4F5C-8956-821F39EE2B73" declare -x TMPDIR="/var/folders/9z/1bxhtshs5z53p5tltlw1gsch0000gn/T/" declare -x USER="dama" declare -x XPC_FLAGS="0x0" declare -x XPC_SERVICE_NAME="0" declare -x __CF_USER_TEXT_ENCODING="0x1F5:0x1:0xE"
回答1件
あなたの回答
tips
プレビュー