| 10 | == subversion == |
| 11 | * 2012/05/20現在、リポジトリからsubversionが消えている |
| 12 | |
| 13 | |
| 14 | * backfire 10.03.1からパッケージを持ってこようとしたが、結局SEGVで動かなかった |
| 15 | |
| 16 | * root@OpenWrt:~# opkg update |
| 17 | * root@OpenWrt:~# opkg install zlib libneon libaprutil |
| 18 | {{{ |
| 19 | * opkg_install_cmd: Cannot install package libaprutil. |
| 20 | }}} |
| 21 | * root@OpenWrt:~# opkg install diffutils |
| 22 | {{{ |
| 23 | Installing diffutils (3.0-1) to root... |
| 24 | Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/diffutils_3.0-1_ar71xx.ipk. |
| 25 | Collected errors: |
| 26 | * check_data_file_clashes: Package diffutils wants to install file /usr/bin/cmp |
| 27 | But that file is already provided by package * busybox |
| 28 | * opkg_install_cmd: Cannot install package diffutils. |
| 29 | }}} |
| 30 | * root@OpenWrt:~# opkg install diffutils --force-overwrite |
| 31 | {{{ |
| 32 | Installing diffutils (3.0-1) to root... |
| 33 | Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/diffutils_3.0-1_ar71xx.ipk. |
| 34 | Configuring diffutils. |
| 35 | }}} |
| 36 | |
| 37 | * root@OpenWrt:~# cp -a /etc/opkg.conf /etc/opkg.conf.orig-20120520 |
| 38 | * root@OpenWrt:~# vim /etc/opkg.conf |
| 39 | {{{#!diff |
| 40 | --- /etc/opkg.conf.orig-20120520 2012-05-17 08:44:02.000000000 +0000 |
| 41 | +++ /etc/opkg.conf 2012-05-20 10:54:50.000000000 +0000 |
| 42 | @@ -1,4 +1,4 @@ |
| 43 | -src/gz attitude_adjustment http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages |
| 44 | +src/gz attitude_adjustment http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages/ |
| 45 | dest root / |
| 46 | dest ram /tmp |
| 47 | lists_dir ext /var/opkg-lists |
| 48 | }}} |
| 49 | |
| 50 | * root@OpenWrt:~# opkg update |
| 51 | {{{ |
| 52 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//Packages.gz. |
| 53 | Inflating http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//Packages.gz. |
| 54 | Updated list of available packages in /var/opkg-lists/attitude_adjustment. |
| 55 | }}} |
| 56 | |
| 57 | * root@OpenWrt:~# opkg install subversion-client |
| 58 | {{{ |
| 59 | Installing subversion-client (1.6.17-2) to root... |
| 60 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//subversion-client_1.6.17-2_ar71xx.ipk. |
| 61 | Installing libaprutil (1.3.12-2) to root... |
| 62 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libaprutil_1.3.12-2_ar71xx.ipk. |
| 63 | Installing libapr (1.4.5-2) to root... |
| 64 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libapr_1.4.5-2_ar71xx.ipk. |
| 65 | Installing libpthread (0.9.30.1-43.32) to root... |
| 66 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libpthread_0.9.30.1-43.32_ar71xx.ipk. |
| 67 | Installing librt (0.9.30.1-43.32) to root... |
| 68 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//librt_0.9.30.1-43.32_ar71xx.ipk. |
| 69 | Installing libsqlite3 (3070701-1) to root... |
| 70 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libsqlite3_3070701-1_ar71xx.ipk. |
| 71 | Installing libuuid (1.41.11-1) to root... |
| 72 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libuuid_1.41.11-1_ar71xx.ipk. |
| 73 | Installing subversion-libs (1.6.17-2) to root... |
| 74 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//subversion-libs_1.6.17-2_ar71xx.ipk. |
| 75 | Configuring librt. |
| 76 | Configuring libpthread. |
| 77 | Configuring libapr. |
| 78 | Configuring libsqlite3. |
| 79 | Configuring libuuid. |
| 80 | Configuring libaprutil. |
| 81 | Configuring subversion-libs. |
| 82 | Configuring subversion-client. |
| 83 | }}} |
| 84 | |
| 85 | * root@OpenWrt:~# svn |
| 86 | {{{ |
| 87 | svn: can't load library 'libssl.so.0.9.8' |
| 88 | }}} |
| 89 | |
| 90 | * root@OpenWrt:~# opkg remove libopenssl |
| 91 | {{{ |
| 92 | No packages removed. |
| 93 | Collected errors: |
| 94 | * print_dependents_warning: Package libopenssl is depended upon by packages: |
| 95 | * print_dependents_warning: libneon |
| 96 | * print_dependents_warning: These might cease to work if package libopenssl is removed. |
| 97 | |
| 98 | * print_dependents_warning: Force removal of this package with --force-depends. |
| 99 | * print_dependents_warning: Force removal of this package and its dependents |
| 100 | * print_dependents_warning: with --force-removal-of-dependent-packages. |
| 101 | }}} |
| 102 | * root@OpenWrt:~# opkg remove libopenssl --force-removal-of-dependent-packages |
| 103 | {{{ |
| 104 | Removing package subversion-client from root... |
| 105 | Removing package subversion-libs from root... |
| 106 | Removing package subversion-client from root... |
| 107 | You can force removal of packages with failed prerm scripts with the option: |
| 108 | --force-remove |
| 109 | No packages removed. |
| 110 | Collected errors: |
| 111 | * pkg_run_script: Internal error: subversion-client has a NULL tmp_unpack_dir. |
| 112 | * opkg_remove_pkg: not removing package "subversion-client", prerm script failed |
| 113 | }}} |
| 114 | * root@OpenWrt:~# opkg remove libopenssl --force-removal-of-dependent-packages --f |
| 115 | {{{ |
| 116 | orce-remove |
| 117 | Removing package libneon from root... |
| 118 | Removing package libopenssl from root... |
| 119 | }}} |
| 120 | * root@OpenWrt:~# opkg install libneon |
| 121 | {{{ |
| 122 | Installing libneon (0.29.6-2) to root... |
| 123 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libneon_0.29.6-2_ar71xx.ipk. |
| 124 | Installing libopenssl (0.9.8r-1) to root... |
| 125 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//libopenssl_0.9.8r-1_ar71xx.ipk. |
| 126 | Configuring libopenssl. |
| 127 | Configuring libneon. |
| 128 | }}} |
| 129 | |
| 130 | * root@OpenWrt:~# opkg install subversion-client |
| 131 | {{{ |
| 132 | Installing subversion-client (1.6.17-2) to root... |
| 133 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//subversion-client_1.6.17-2_ar71xx.ipk. |
| 134 | Installing subversion-libs (1.6.17-2) to root... |
| 135 | Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages//subversion-libs_1.6.17-2_ar71xx.ipk. |
| 136 | Configuring subversion-libs. |
| 137 | Configuring subversion-client. |
| 138 | }}} |
| 139 | |
| 140 | * root@OpenWrt:~# svn |
| 141 | {{{ |
| 142 | Segmentation fault |
| 143 | }}} |