将OpenWrt Chaos Calmer 从rc3升级到15.05

写在前面,在rc3版本时,Y1s在刷了usb电源控制gpio补丁以后并从pandora的uboot刷成breed 20150821版本时,发现在scandisk extreme U盘上断电无法加载的情况消失了,在正式版仍然需要usb电源控制gpio补丁。

vi ./target/linux/ramips/dts/Y1S.dts #在79行后插入.dts文件注释

#74行 internet {
label = “lenovo:blue:internet”;
gpios = <&gpio2 11 1>;
};
};
gpio_export {
compatible = “gpio-export”;
#size-cells = ;
/* GPIO 54、55、56 USB1、2、3 */
usb0 {
gpio-export,name = “usb0”;
gpio-export,output = ; // GPIOF_OUT_INIT_HIGH
gpios = <&gpio2 14 0>; // GPIO2:40+14=GPIO 54
};
usb1 {
gpio-export,name = “usb1”;
gpio-export,output = ;
gpios = <&gpio2 15 0>;
};
usb2 {
gpio-export,name = “usb2″;
gpio-export,output = ;
gpios = <&gpio2 16 0>;
};
};

};

Y1s mtk7620在cc rc3版本主要遇到两个问题,coova tun0接口只有70kb/s左右的流量,然后php5的curl模块可能有问题,导致wordpress不能在线更新版本,记得在cc的早期版本大概2015年5月份在rtn16下面是正常的。更新到cc正式版以后,只解决了curl问题。每次安装openwrt都得花上大半天时间重新配置,由于cc rc3跟正式版本比较接近,今天就尝试是否能以一种比较简单的方式来完成更新任务。

回顾一下以前的安装方法
1,初始化安装openwrt-15.05-ramips-mt7620-Lenovo-y1s-squashfs-sysupgrade.bin
2,配置一个可以有wifi功能,有pppoe连接的功能
3,挂载u盘到/overlay完成最终的所有软件布署

重装之前最好备份一下原有的内容,
1,/overlay 分区在u盘上的upper目录,将该目录里的文件复制备份到其它路径以避免重装时被覆盖
2,路由里运行opkg list-installed>/tmp/old.tmp 该文件保存了当前系统安装的软件包版本,也保存到本地路径
3,在使用u盘挂载/overlay时似乎没必要在管理界面的 system/Backup Flash Firmware/Generate archive 进行备份,主要是这步的过程备份的文件似乎缺少了很多,像freeradius2目录都不在生成的包里。
4,拔除U盘重启系统再使用管理界面的 system/Backup Flash Firmware/Generate archive 进行备份,可以用于恢复旧的系统。

开始重装系统
1,生成一个包含最小usb+luci界面支持的固件
make info
make image PROFILE=Default PACKAGES=”kmod-scsi-core kmod-usb-storage kmod-crypto-hash kmod-lib-crc16 block-mount kmod-fs-ext4 libuuid libblkid libsmartcols fdisk libext2fs e2fsprogs liblua libuci-lua rpcd luci-lib-ip libubus-lua libiwinfo libiwinfo-lua luci-theme-bootstrap luci-app-firewall lua luci-proto-ppp luci-lib-nixio luci-base luci-mod-admin-full luci-proto-ipv6 uhttpd uhttpd-mod-ubus luci” FILES=files/
2,更新正式版固件,在管理界面的 system/Backup Flash Firmware/Flash new firmware image 选择keep setings选项
3,备份路由里的 /usr/lib/opkg/status 文件到电脑本地路径
4,路由里运行opkg list-installed>/tmp/new.tmp 该文件保存了当前系统安装的软件包版本,也保存到本地路径
5,插回U盘reboot,由于原先的/etc/config/fstab文件没更改过,重启U盘正常挂载到/overlay 发现像lighttpd,mysqld之类的软件都正常运行,但是有关kmod-*之类的还是有点版本变化的,相应的功能似乎有点问题。
6,opkg update 有出错提示,根据base/opkg_XXX.ipkg里面的opkg.conf
删除rc3版本/etc/opkg.conf
src/gz chaos_calmer_targets http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/targets
7,opkg list-upgradable
更新的提示有问题由于还是原先的旧配置文件,需要将前面备份的文件恢复/usr/lib/opkg/status,不然显示的版本号不对
Multiple packages (kmod-crypto-arc4 and kmod-crypto-arc4) providing same name marked HOLD or PREFER. Using latest.
kmod-crypto-arc4 – 3.18.17-1 – 3.18.20-1
再次检查是否有更新提示
opkg list-upgradable
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/dnsmasq.list: No such file or directory.
由于原先安装过dnsmasq-full卸载了dnsmasq所以找不着原先的dnsmasq包,直接将/usr/lib/opkg/status里面有关dnsmasq的描述段全部删除,因为后续我们会重新安装dnsmasq-full
8,匹配新旧系统的软件包差异,然后强制重新安装
#/bin/sh
cat ./new.tmp|cut -d ‘ ‘ -f1>new.lst
cat ./old.tmp|cut -d ‘ ‘ -f1>old.lst

xcl=./new.lst
_f=./old.lst
if [ -e $xcl ] ; then
while read kmac ; do
sed -i -e “/${kmac}$/d” $_f
done < $xcl;fi

opkg update
for i in `cat ./old.lst`;do opkg install $i –force-reinstall;done

openwrt提供的listuserpackages.sh
#!/bin/ash
echo “User-installed packages are the following:”
packages=”$(cat /usr/lib/opkg/status | grep -n ‘user install’ | cut -d ‘:’ -f1)”‘

printf %s “$packages” | while IFS= read -r nline; do
sed -n 1,$nline’ s/Package/&/p’ /usr/lib/opkg/status | tail -n 1
done

old.lst
root@OpenWrt:/overlay/bak# cat old.lst
badblocks
curl
dnsmasq-full
gevent
gw6c
haproxy
ip
ip6tables-extra
iptables-mod-conntrack-extra
iptables-mod-ipopt
iptables-mod-iprange
iputils-tracepath6
iputils-traceroute6
kmod-ip6tables-extra
kmod-ipt-conntrack-extra
kmod-ipt-ipopt
kmod-ipt-iprange
kmod-ipt-ipset
kmod-ipt-nat6
kmod-iptunnel
kmod-iptunnel4
kmod-nf-nat6
kmod-nfnetlink
kmod-sched
kmod-sched-connmark
kmod-sched-core
kmod-sit
kmod-tun
libbz2
libcurl
libdb47
libffi
libgdbm
libgmp
libltdl
libncurses
libnettle
libopenssl
libpcre
libpolarssl
libpthread
libreadline
librt
libsqlite3
libxml2
lighttpd
lighttpd-mod-auth
miredo-client
miredo-common
openssh-keygen
openssl-util
php5
php5-mod-curl
php5-mod-mbstring
privoxy
python
python-base
python-codecs
python-compiler
python-ctypes
python-db
python-decimal
python-distutils
python-email
python-gdbm
python-greenlet
python-light
python-logging
python-multiprocessing
python-ncurses
python-openssl
python-pip
python-pydoc
python-setuptools
python-sqlite3
python-unittest
python-xml
softethervpn
sshpass
stunnel
tc
terminfo
tracertools
tspc
uclibcxx
wireless-tools
zlib

参考文档
OpenWrt OS upgrade procedure (LuCI or sysupgrade)
http://wiki.openwrt.org/doc/howto/generic.sysupgrade

* 2015年10月03日星期六
– 生成文档

====原始
root@OpenWrt:~# opkg list-installed
base-files – 157-r46767
block-mount – 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
busybox – 1.23.2-1
dnsmasq – 2.73-1
dropbear – 2015.67-1
e2fsprogs – 1.42.12-1
fdisk – 2.25.2-4
firewall – 2015-07-27
fstools – 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
hostapd-common – 2015-03-25-1
ip6tables – 1.4.21-1
iptables – 1.4.21-1
iw – 3.17-1
jshn – 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
jsonfilter – 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel – 3.18.20-1-e09c71ad1d28ff0d0cde064da5349910
kmod-cfg80211 – 3.18.20+2015-03-09-3
kmod-crypto-aes – 3.18.20-1
kmod-crypto-arc4 – 3.18.20-1
kmod-crypto-core – 3.18.20-1
kmod-crypto-hash – 3.18.20-1
kmod-eeprom-93cx6 – 3.18.20-1
kmod-fs-ext4 – 3.18.20-1
kmod-gpio-button-hotplug – 3.18.20-1
kmod-ip6tables – 3.18.20-1
kmod-ipt-conntrack – 3.18.20-1
kmod-ipt-core – 3.18.20-1
kmod-ipt-nat – 3.18.20-1
kmod-ipv6 – 3.18.20-1
kmod-leds-gpio – 3.18.20-1
kmod-ledtrig-usbdev – 3.18.20-1
kmod-lib-crc-ccitt – 3.18.20-1
kmod-lib-crc-itu-t – 3.18.20-1
kmod-lib-crc16 – 3.18.20-1
kmod-mac80211 – 3.18.20+2015-03-09-3
kmod-nf-conntrack – 3.18.20-1
kmod-nf-conntrack6 – 3.18.20-1
kmod-nf-ipt – 3.18.20-1
kmod-nf-ipt6 – 3.18.20-1
kmod-nf-nat – 3.18.20-1
kmod-nf-nathelper – 3.18.20-1
kmod-nls-base – 3.18.20-1
kmod-ppp – 3.18.20-1
kmod-pppoe – 3.18.20-1
kmod-pppox – 3.18.20-1
kmod-rt2800-lib – 3.18.20+2015-03-09-3
kmod-rt2800-mmio – 3.18.20+2015-03-09-3
kmod-rt2800-pci – 3.18.20+2015-03-09-3
kmod-rt2800-soc – 3.18.20+2015-03-09-3
kmod-rt2x00-lib – 3.18.20+2015-03-09-3
kmod-rt2x00-mmio – 3.18.20+2015-03-09-3
kmod-rt2x00-pci – 3.18.20+2015-03-09-3
kmod-scsi-core – 3.18.20-1
kmod-slhc – 3.18.20-1
kmod-usb-core – 3.18.20-1
kmod-usb-ohci – 3.18.20-1
kmod-usb-storage – 3.18.20-1
kmod-usb2 – 3.18.20-1
libblkid – 2.25.2-4
libblobmsg-json – 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
libc – 0.9.33.2-1
libext2fs – 1.42.12-1
libgcc – 4.8-linaro-1
libip4tc – 1.4.21-1
libip6tc – 1.4.21-1
libiwinfo – 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libiwinfo-lua – 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libjson-c – 0.12-1
libjson-script – 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
liblua – 5.1.5-1
libnl-tiny – 0.1-4
libsmartcols – 2.25.2-4
libubox – 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
libubus – 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua – 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci – 2015-04-09.1-1
libuci-lua – 2015-04-09.1-1
libuuid – 2.25.2-4
libxtables – 1.4.21-1
lua – 5.1.5-1
luci – git-15.248.30277-3836b45-1
luci-app-firewall – git-15.248.30277-3836b45-1
luci-base – git-15.248.30277-3836b45-1
luci-lib-ip – git-15.248.30277-3836b45-1
luci-lib-nixio – git-15.248.30277-3836b45-1
luci-mod-admin-full – git-15.248.30277-3836b45-1
luci-proto-ipv6 – git-15.248.30277-3836b45-1
luci-proto-ppp – git-15.248.30277-3836b45-1
luci-theme-bootstrap – git-15.248.30277-3836b45-1
mtd – 21
netifd – 2015-06-08-8795f9ef89626cd658f615c78c6a17e990c0dcaa
odhcp6c – 2015-07-13-024525798c5f6aba3af9b2ef7b3af2f3c14f1db8
odhcpd – 2015-05-21-2ebf6c8216287983779c8ec6597d30893b914a7c
opkg – 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
ppp – 2.4.7-6
ppp-mod-pppoe – 2.4.7-6
procd – 2015-08-16-0da5bf2ff222d1a499172a6e09507388676b5a08
rpcd – 2015-05-17-3d655417ab44d93aad56a6d4a668daf24b127b84
swconfig – 10
ubox – 2015-07-14-907d046c8929fb74e5a3502a9498198695e62ad8
ubus – 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd – 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci – 2015-04-09.1-1
uhttpd – 2015-08-17-f91788b809d9726126e9cf4384fedbbb0c5b8a73
uhttpd-mod-ubus – 2015-08-17-f91788b809d9726126e9cf4384fedbbb0c5b8a73
usign – 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
wpad-mini – 2015-03-25-1

===更新过程
root@OpenWrt:/overlay/bak# ./up.sh
Downloading http://192.168.8.253/openwrt/7620/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://192.168.8.253/openwrt/7620/base/Packages.sig.
Signature check passed.
Downloading http://192.168.8.253/openwrt/7620/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://192.168.8.253/openwrt/7620/luci/Packages.sig.
Signature check passed.
Downloading http://192.168.8.253/openwrt/7620/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://192.168.8.253/openwrt/7620/packages/Packages.sig.
Signature check passed.
Downloading http://192.168.8.253/openwrt/7620/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://192.168.8.253/openwrt/7620/routing/Packages.sig.
Signature check passed.
Downloading http://192.168.8.253/openwrt/7620/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://192.168.8.253/openwrt/7620/telephony/Packages.sig.
Signature check passed.
Downloading http://192.168.8.253/openwrt/7620/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading http://192.168.8.253/openwrt/7620/management/Packages.sig.
Signature check passed.
No packages removed.
Installing curl (7.40.0-3) to root…
Downloading http://192.168.8.253/openwrt/7620/base/curl_7.40.0-3_ramips_24kec.ipk.
Installing libcurl (7.40.0-3) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libcurl_7.40.0-3_ramips_24kec.ipk.
Installing libpolarssl (1.3.11-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libpolarssl_1.3.11-1_ramips_24kec.ipk.
Configuring libpolarssl.
Configuring libcurl.
Configuring curl.
No packages removed.
Installing dnsmasq-full (2.73-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/dnsmasq-full_2.73-1_ramips_24kec.ipk.
Installing libnettle (3.1.1-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libnettle_3.1.1-1_ramips_24kec.ipk.
Installing libgmp (6.0.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libgmp_6.0.0-1_ramips_24kec.ipk.
Installing kmod-ipt-ipset (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-ipt-ipset_3.18.20-1_ramips_24kec.ipk.
Installing kmod-nfnetlink (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-nfnetlink_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-nfnetlink.
Configuring libgmp.
Configuring libnettle.
Configuring kmod-ipt-ipset.
Configuring dnsmasq-full.
Collected errors:
* resolve_conffiles: Existing conffile /etc/config/dhcp is different from the conffile in the new package. The new conffile will be placed at /etc/config/dhcp-opkg.
* resolve_conffiles: Existing conffile /etc/dnsmasq.conf is different from the conffile in the new package. The new conffile will be placed at /etc/dnsmasq.conf-opkg.
No packages removed.
Unknown package ‘gevent’.
Collected errors:
* opkg_install_cmd: Cannot install package gevent.
No packages removed.
Installing haproxy (1.5.14-13) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/haproxy_1.5.14-13_ramips_24kec.ipk.
Installing libpcre (8.37-2) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libpcre_8.37-2_ramips_24kec.ipk.
Installing libltdl (2.4-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libltdl_2.4-1_ramips_24kec.ipk.
Installing zlib (1.2.8-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/zlib_1.2.8-1_ramips_24kec.ipk.
Installing libpthread (0.9.33.2-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libpthread_0.9.33.2-1_ramips_24kec.ipk.
Installing libopenssl (1.0.2d-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libopenssl_1.0.2d-1_ramips_24kec.ipk.
Configuring libpthread.
Configuring libpcre.
Configuring libltdl.
Configuring zlib.
Configuring libopenssl.
Configuring haproxy.
Collected errors:
* resolve_conffiles: Existing conffile /etc/haproxy.cfg is different from the conffile in the new package. The new conffile will be placed at /etc/haproxy.cfg-opkg.
No packages removed.
Installing ip (4.0.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/ip_4.0.0-1_ramips_24kec.ipk.
Configuring ip.
No packages removed.
Installing iputils-tracepath6 (20101006-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/iputils-tracepath6_20101006-1_ramips_24kec.ipk.
Configuring iputils-tracepath6.
No packages removed.
Installing iputils-traceroute6 (20101006-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/iputils-traceroute6_20101006-1_ramips_24kec.ipk.
Configuring iputils-traceroute6.
No packages removed.
Installing kmod-ipt-ipopt (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-ipt-ipopt_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-ipt-ipopt.
No packages removed.
Installing kmod-ipt-iprange (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-ipt-iprange_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-ipt-iprange.
Removing package kmod-ipt-ipset from root…
Installing kmod-ipt-ipset (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-ipt-ipset_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-ipt-ipset.
No packages removed.
Installing kmod-iptunnel (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-iptunnel_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-iptunnel.
No packages removed.
Installing kmod-iptunnel4 (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-iptunnel4_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-iptunnel4.
Removing package kmod-nfnetlink from root…
Installing kmod-nfnetlink (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-nfnetlink_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-nfnetlink.
No packages removed.
Installing kmod-sched (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-sched_3.18.20-1_ramips_24kec.ipk.
Installing kmod-sched-core (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-sched-core_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-sched-core.
Configuring kmod-sched.
No packages removed.
Installing kmod-sched-connmark (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-sched-connmark_3.18.20-1_ramips_24kec.ipk.
Installing kmod-ipt-conntrack-extra (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-ipt-conntrack-extra_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-ipt-conntrack-extra.
Configuring kmod-sched-connmark.
Removing package kmod-sched-core from root…
Installing kmod-sched-core (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-sched-core_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-sched-core.
No packages removed.
Installing kmod-sit (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-sit_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-sit.
No packages removed.
Installing kmod-tun (3.18.20-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/kmod-tun_3.18.20-1_ramips_24kec.ipk.
Configuring kmod-tun.
No packages removed.
Installing libbz2 (1.0.6-2) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libbz2_1.0.6-2_ramips_24kec.ipk.
Configuring libbz2.
No packages removed.
Installing libdb47 (4.7.25.4.NC-4.1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libdb47_4.7.25.4.NC-4.1_ramips_24kec.ipk.
Installing libxml2 (2.9.2-3) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libxml2_2.9.2-3_ramips_24kec.ipk.
Configuring libxml2.
Configuring libdb47.
No packages removed.
Installing libffi (3.0.13-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libffi_3.0.13-1_ramips_24kec.ipk.
Configuring libffi.
No packages removed.
Installing libgdbm (1.11-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libgdbm_1.11-1_ramips_24kec.ipk.
Configuring libgdbm.
Removing package libgmp from root…
Installing libgmp (6.0.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libgmp_6.0.0-1_ramips_24kec.ipk.
Configuring libgmp.
Removing package libltdl from root…
Installing libltdl (2.4-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libltdl_2.4-1_ramips_24kec.ipk.
Configuring libltdl.
No packages removed.
Installing libncurses (5.9-2) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libncurses_5.9-2_ramips_24kec.ipk.
Installing terminfo (5.9-2) to root…
Downloading http://192.168.8.253/openwrt/7620/base/terminfo_5.9-2_ramips_24kec.ipk.
Configuring terminfo.
Configuring libncurses.
Removing package libnettle from root…
Installing libnettle (3.1.1-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libnettle_3.1.1-1_ramips_24kec.ipk.
Configuring libnettle.
Removing package libopenssl from root…
Installing libopenssl (1.0.2d-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libopenssl_1.0.2d-1_ramips_24kec.ipk.
Configuring libopenssl.
Removing package libpcre from root…
Installing libpcre (8.37-2) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libpcre_8.37-2_ramips_24kec.ipk.
Configuring libpcre.
Removing package libpolarssl from root…
Installing libpolarssl (1.3.11-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libpolarssl_1.3.11-1_ramips_24kec.ipk.
Configuring libpolarssl.
Refusing to remove essential package libpthread.
Removing an essential package may lead to an unusable system, but if
you enjoy that kind of pain, you can force opkg to proceed against
its will with the option: –force-removal-of-essential-packages
No packages removed.
Package libpthread (0.9.33.2-1) installed in root is up to date.
No packages removed.
Installing libreadline (6.3-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/libreadline_6.3-1_ramips_24kec.ipk.
Configuring libreadline.
No packages removed.
Installing librt (0.9.33.2-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/librt_0.9.33.2-1_ramips_24kec.ipk.
Configuring librt.
No packages removed.
Installing libsqlite3 (3081101-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libsqlite3_3081101-1_ramips_24kec.ipk.
Configuring libsqlite3.
Removing package libxml2 from root…
Installing libxml2 (2.9.2-3) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/libxml2_2.9.2-3_ramips_24kec.ipk.
Configuring libxml2.
No packages removed.
Installing lighttpd (1.4.36-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/lighttpd_1.4.36-1_ramips_24kec.ipk.
Configuring lighttpd.
Collected errors:
* resolve_conffiles: Existing conffile /etc/lighttpd/lighttpd.conf is different from the conffile in the new package. The new conffile will be placed at /etc/lighttpd/lighttpd.conf-opkg.
No packages removed.
Installing lighttpd-mod-auth (1.4.36-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/lighttpd-mod-auth_1.4.36-1_ramips_24kec.ipk.
Configuring lighttpd-mod-auth.
No packages removed.
Unknown package ‘miredo-client’.
Collected errors:
* opkg_install_cmd: Cannot install package miredo-client.
No packages removed.
Unknown package ‘miredo-common’.
Collected errors:
* opkg_install_cmd: Cannot install package miredo-common.
No packages removed.
Installing openssh-keygen (6.8p1-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/openssh-keygen_6.8p1-1_ramips_24kec.ipk.
Configuring openssh-keygen.
No packages removed.
Installing openssl-util (1.0.2d-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/openssl-util_1.0.2d-1_ramips_24kec.ipk.
Configuring openssl-util.
No packages removed.
Installing php5 (5.6.8-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/php5_5.6.8-1_ramips_24kec.ipk.
Configuring php5.
Collected errors:
* resolve_conffiles: Existing conffile /etc/php.ini is different from the conffile in the new package. The new conffile will be placed at /etc/php.ini-opkg.
No packages removed.
Installing php5-mod-curl (5.6.8-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/php5-mod-curl_5.6.8-1_ramips_24kec.ipk.
Configuring php5-mod-curl.
No packages removed.
Installing php5-mod-mbstring (5.6.8-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/php5-mod-mbstring_5.6.8-1_ramips_24kec.ipk.
Configuring php5-mod-mbstring.
No packages removed.
Installing privoxy (3.0.23-3) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/privoxy_3.0.23-3_ramips_24kec.ipk.
Configuring privoxy.
Collected errors:
* resolve_conffiles: Existing conffile /etc/config/privoxy is different from the conffile in the new package. The new conffile will be placed at /etc/config/privoxy-opkg.
No packages removed.
Installing python (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python_2.7.9-5_ramips_24kec.ipk.
Installing python-light (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-light_2.7.9-5_ramips_24kec.ipk.
Installing python-base (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-base_2.7.9-5_ramips_24kec.ipk.
Installing python-codecs (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-codecs_2.7.9-5_ramips_24kec.ipk.
Installing python-compiler (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-compiler_2.7.9-5_ramips_24kec.ipk.
Installing python-ctypes (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-ctypes_2.7.9-5_ramips_24kec.ipk.
Installing python-db (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-db_2.7.9-5_ramips_24kec.ipk.
Installing python-decimal (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-decimal_2.7.9-5_ramips_24kec.ipk.
Installing python-distutils (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-distutils_2.7.9-5_ramips_24kec.ipk.
Installing python-email (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-email_2.7.9-5_ramips_24kec.ipk.
Installing python-gdbm (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-gdbm_2.7.9-5_ramips_24kec.ipk.
Installing python-logging (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-logging_2.7.9-5_ramips_24kec.ipk.
Installing python-multiprocessing (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-multiprocessing_2.7.9-5_ramips_24kec.ipk.
Installing python-ncurses (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-ncurses_2.7.9-5_ramips_24kec.ipk.
Installing python-openssl (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-openssl_2.7.9-5_ramips_24kec.ipk.
Installing python-pydoc (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-pydoc_2.7.9-5_ramips_24kec.ipk.
Installing python-sqlite3 (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-sqlite3_2.7.9-5_ramips_24kec.ipk.
Installing python-unittest (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-unittest_2.7.9-5_ramips_24kec.ipk.
Installing python-xml (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-xml_2.7.9-5_ramips_24kec.ipk.
Configuring python-base.
Configuring python-light.
Configuring python-codecs.
Configuring python-db.
Configuring python-decimal.
Configuring python-distutils.
Configuring python-pydoc.
Configuring python-compiler.
Configuring python-ctypes.
Configuring python-email.
Configuring python-gdbm.
Configuring python-logging.
Configuring python-multiprocessing.
Configuring python-ncurses.
Configuring python-openssl.
Configuring python-sqlite3.
Configuring python-unittest.
Configuring python-xml.
Configuring python.
Removing package python-base from root…
Installing python-base (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-base_2.7.9-5_ramips_24kec.ipk.
Configuring python-base.
Removing package python-codecs from root…
Installing python-codecs (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-codecs_2.7.9-5_ramips_24kec.ipk.
Configuring python-codecs.
Removing package python-compiler from root…
Installing python-compiler (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-compiler_2.7.9-5_ramips_24kec.ipk.
Configuring python-compiler.
Removing package python-ctypes from root…
Installing python-ctypes (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-ctypes_2.7.9-5_ramips_24kec.ipk.
Configuring python-ctypes.
Removing package python-db from root…
Installing python-db (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-db_2.7.9-5_ramips_24kec.ipk.
Configuring python-db.
Removing package python-decimal from root…
Installing python-decimal (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-decimal_2.7.9-5_ramips_24kec.ipk.
Configuring python-decimal.
Removing package python-distutils from root…
Installing python-distutils (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-distutils_2.7.9-5_ramips_24kec.ipk.
Configuring python-distutils.
Removing package python-email from root…
Installing python-email (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-email_2.7.9-5_ramips_24kec.ipk.
Configuring python-email.
Removing package python-gdbm from root…
Installing python-gdbm (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-gdbm_2.7.9-5_ramips_24kec.ipk.
Configuring python-gdbm.
No packages removed.
Unknown package ‘python-greenlet’.
Collected errors:
* opkg_install_cmd: Cannot install package python-greenlet.
Removing package python-light from root…
Installing python-light (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-light_2.7.9-5_ramips_24kec.ipk.
Configuring python-light.
Removing package python-logging from root…
Installing python-logging (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-logging_2.7.9-5_ramips_24kec.ipk.
Configuring python-logging.
Removing package python-multiprocessing from root…
Installing python-multiprocessing (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-multiprocessing_2.7.9-5_ramips_24kec.ipk.
Configuring python-multiprocessing.
Removing package python-ncurses from root…
Installing python-ncurses (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-ncurses_2.7.9-5_ramips_24kec.ipk.
Configuring python-ncurses.
Removing package python-openssl from root…
Installing python-openssl (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-openssl_2.7.9-5_ramips_24kec.ipk.
Configuring python-openssl.
No packages removed.
Installing python-pip (1.5.6-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-pip_1.5.6-1_ramips_24kec.ipk.
Installing python-setuptools (7.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-setuptools_7.0-1_ramips_24kec.ipk.
Collected errors:
* check_data_file_clashes: Package python-setuptools wants to install file /usr/lib/python2.7/site-packages/easy-install.pth
But that file is already provided by package * python-pip
* check_data_file_clashes: Package python-setuptools wants to install file /usr/lib/python2.7/site-packages/site.py
But that file is already provided by package * python-pip
* opkg_install_cmd: Cannot install package python-pip.
Removing package python-pydoc from root…
Installing python-pydoc (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-pydoc_2.7.9-5_ramips_24kec.ipk.
Configuring python-pydoc.
No packages removed.
Installing python-setuptools (7.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-setuptools_7.0-1_ramips_24kec.ipk.
Configuring python-setuptools.
Removing package python-sqlite3 from root…
Installing python-sqlite3 (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-sqlite3_2.7.9-5_ramips_24kec.ipk.
Configuring python-sqlite3.
Removing package python-unittest from root…
Installing python-unittest (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-unittest_2.7.9-5_ramips_24kec.ipk.
Configuring python-unittest.
Removing package python-xml from root…
Installing python-xml (2.7.9-5) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/python-xml_2.7.9-5_ramips_24kec.ipk.
Configuring python-xml.
No packages removed.
Unknown package ‘softethervpn’.
Collected errors:
* opkg_install_cmd: Cannot install package softethervpn.
No packages removed.
Unknown package ‘sshpass’.
Collected errors:
* opkg_install_cmd: Cannot install package sshpass.
No packages removed.
Installing stunnel (5.14-1) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/stunnel_5.14-1_ramips_24kec.ipk.
Configuring stunnel.
Collected errors:
* resolve_conffiles: Existing conffile /etc/stunnel/stunnel.conf is different from the conffile in the new package. The new conffile will be placed at /etc/stunnel/stunnel.conf-opkg.
No packages removed.
Installing tc (4.0.0-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/tc_4.0.0-1_ramips_24kec.ipk.
Configuring tc.
Removing package terminfo from root…
Installing terminfo (5.9-2) to root…
Downloading http://192.168.8.253/openwrt/7620/base/terminfo_5.9-2_ramips_24kec.ipk.
Configuring terminfo.
No packages removed.
Installing tracertools (20141027-9ba70d1fe4f3c0f24d565d98c79fee71711823f0) to root…
Downloading http://192.168.8.253/openwrt/7620/packages/tracertools_20141027-9ba70d1fe4f3c0f24d565d98c79fee71711823f0_ramips_24kec.ipk.
Configuring tracertools.
No packages removed.
Installing wireless-tools (29-5) to root…
Downloading http://192.168.8.253/openwrt/7620/base/wireless-tools_29-5_ramips_24kec.ipk.
Configuring wireless-tools.
Removing package zlib from root…
Installing zlib (1.2.8-1) to root…
Downloading http://192.168.8.253/openwrt/7620/base/zlib_1.2.8-1_ramips_24kec.ipk.
Configuring zlib.

About: dato


发表评论

邮箱地址不会被公开。 必填项已用*标注