ubuntu@ubuntu:~/RaspberryPi/devel$ sb2 -eR apt-get 升级 正在读取软件包列表...完成 构建依赖关系树 正在读取状态信息...完成 以下包裹已被保留: alsa-base gnome-themes-standard lxde lxsession openssh-client openssh-server scratch wpasupplicant 以下软件包将会升级: alsa-utils apt apt-utils aptitude aptitude-common 基础文件 bash binutils bsdutils bzip2 ca-certificates 控制台设置 控制台设置-linux consolekit coreutils cpio cpp cpp-4.6 cryptsetup-bin curl dbus dbus-x11 dconf-gsettings-backend dconf-service debconf debconf-i18n debconf-utils debian-reference-common debian-reference-en 桌面基础词典通用 dmsetup dpkg dpkg-dev e2fslibs e2fsprogs 弹出文件 固件-atheros 固件-brcm80211 固件-libertas 固件-ralink 固件-realtek fontconfig fontconfig-config fuse g++ g++-4.6 gcc gcc-4.4-base gcc-4.6 gcc-4.6-base gcc-4.7-base gconf-service gconf2 gconf2-通用 gdb gdbserver gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 gnupg gpgv gsettings-桌面模式空闲 idle-python2.7 idle-python3.2 idle3 ifupdown 初始化脚本 insserv iptables isc-dhcp-client isc-dhcp-common iso-codes 键盘配置 kmod krb5-locales libapt-inst1.5 libapt-pkg-dev libapt-pkg4.12 libasound2 libavahi-client3 libavahi-common-data libavahi-common3 libblkid1 libboost-iostreams1.49.0 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcairo-gobject2 libcairo2 libcap2 libck-connector0 libcomerr2 libcroco3 libcryptsetup4 libcups2 libcurl3 libdbus-1-3 libdbus-1-dev libdbus-glib-1-2 libdconf0 libdevmapper-event1.02.1 libdevmapper1.02.1 libdpkg-perl libdrm2 libelf1 libexpat1 libexpat1-dev libfm-data libfm-gtk-bin libfm-gtk1 libfm1 libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev libfuse2 libgail-3-0 libgail18 libgcc1 libgconf-2-4 libgcrypt11 libgfortran3 libgif4 libgl1-mesa-glx libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libgnutls26 libgomp1 libgpg-error0 libgssapi-krb5-2 libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base0.10-dev libgstreamer0.10-0 libgstreamer0.10-dev libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-common libgudev-1.0-0 libicu-dev libicu48 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libjson0 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 liblapack3 liblapack3gf libldap-2.4-2 liblightdm-gobject-1-0 liblvm2app2.2 liblzma5 libmagic1 libmikmod2 libmount1 libnewt0.52 libnfnetlink0 libobrender27 libobt0 libopenjpeg2 libpam-ck-connector libparted0debian1 libpci3 libpcsclite1 libpixman-1-0 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libportmidi0 libprocps0 libproxy0 libpulse0 libpython2.7 libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libreadline6 librsvg2-2 librsvg2-通用 libsasl2-2 libsasl2-模块 libsdl-mixer1.2 libsmpeg0 libsqlite3-0 libsqlite3-dev libss2 libssh2-1 libssl-dev libssl1.0.0 libstdc++6 libstdc++6-4.6-dev libsysfs2 libsystemd-login0 libthai-data libthai0 libtiff4 libudev-dev libudev0 libusb-0.1-4 libuuid1 libwbclient0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwebp2 libwrap0 libx11-6 libx11-data libx11-xcb1 libxapian-dev libxapian22 libxcb-glx0 libxcb-render0 libxcb-shm0 libxcb1 libxcursor1 libxext6 libxfixes3 libxfont1 libxi6 libxinerama1 libxml2 libxml2-dev libxrandr2 libxrender1 libxres1 libxslt1-dev libxslt1.1 libxt6 libxtst6 libxxf86vm1 lightdm linux-libc-dev 本地化 lsb-base lua5.1 lxde-core lxtask 手册页 midori module-init-tools 安装多架构支持 net-tools nfs-common ntfs-3g omxplayer openbox openssh-blacklist openssh-blacklist-extra openssl parted pciutils perl perl-base perl-modules policykit-1 procps psmisc python python-minimal python-numpy python-pygame python2.7 python2.7-minimal python3 python3-minimal python3-numpy python3.2 python3.2-minimal raspberrypi-bootloader raspi-copies-and-fills readline-common rsyslog samba-common sgml-base squeak-vm ssh sudo sysv-rc sysvinit sysvinit-utils tar taskel taskel-data tcpd ttf-dejavu-core tzdata udev udisks unzip util-linux vim-common vim-tiny wget whiptail x11-common xarchiver xkb-data xml-core xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-synaptics xz-utils 已升级 319 个,新安装 0 个,删除 0 个,还有 8 个未升级。 需要获取 269 MB 的档案。 此操作后将释放23.2 MB的磁盘空间。 您想继续吗 [Y/n]?y 2 分 11 秒内获取 269 MB (2,043 kB/s) 从包中提取模板:100% 预配置包... (正在读取数据库...当前安装了 54465 个文件和目录。) 准备替换 base-files 6.9(使用 .../base-files_7.1wheezy2+rpi1_armhf.deb)... 正在解压替换基础文件...... dpkg: 处理 /var/cache/apt/archives/base-files_7.1wheezy2+rpi1_armhf.deb (--unpack) 时出错: 尝试覆盖“/var/run”,它也位于软件包 isc-dhcp-client 4.2.2.dfsg.1-5 中 处理时遇到错误: /var/cache/apt/archives/base-files_7.1wheezy2+rpi1_armhf.deb E: 子进程 /usr/bin/dpkg 返回错误代码 (1) ubuntu@ubuntu:~/RaspberryPi/devel$
我正在使用这个“如何......”常见问题解答http://www.pieczewski.de/programming/RaspberryPi_CrossCompile
希望你能帮我。
答案1
isc-dhcp-client
运行以下命令删除先前安装的软件包:
sb2 -eR apt-get purge isc-dhcp-client
然后进行升级,
sb2 -eR apt-get upgrade