我的问题是,当我想要安装类似的应用程序时apt-get install <appsname>
,出现错误:
root@bt:/# apt-get install bluefish
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
adduser apt apt-utils aspell aspell-en base-files base-passwd
busybox-initramfs ca-certificates consolekit coreutils cpio cpp cpp-4.4 dbus
dbus-x11 debconf debconf-i18n debianutils defoma dictionaries-common dmsetup
dosfstools dpkg e2fslibs e2fsprogs esound-clients esound-common file
findutils fontconfig fontconfig-config fuse-utils gamin gawk gcc-4.4-base
gconf2 gconf2-common ghostscript gnome-keyring gnome-mime-data gnupg
gnupg-curl gpgv gsfonts gvfs gvfs-backends hdparm hicolor-icon-theme
ifupdown indicator-application initramfs-tools initramfs-tools-bin
initscripts insserv klibc-utils libacl1 libappindicator0 libarchive1
libart-2.0-2 libasound2 libaspell15 libatasmart4 libatk1.0-0 libatk1.0-data
libattr1 libaudiofile0 libavahi-client3 libavahi-common-data
libavahi-common3 libavahi-glib1 libblkid1 libbluetooth3 libbonobo2-0
libbonobo2-common libbonoboui2-0 libbonoboui2-common libbz2-1.0 libc-bin
libc6 libc6-i686 libcairo2 libcap2 libcdio-cdda0 libcdio-paranoia0 libcdio10
libck-connector0 libcomerr2 libcups2 libcupsimage2 libcurl3-gnutls
libdatrie1 libdb4.8 libdbus-1-3 libdbus-glib-1-2 libdbusmenu-glib1
libdbusmenu-gtk1 libdevmapper1.02.1 libdirectfb-1.2-0 libdrm-intel1
libdrm-nouveau1 libdrm-radeon1 libdrm2 libeggdbus-1-0 libesd0 libexif12
libexpat1 libffi5 libfontconfig1 libfontenc1 libfreetype6 libfribidi0
libfuse2 libgail18 libgamin0 libgcc1 libgconf2-4 libgcr0 libgcrypt11
libgdbm3 libgdu0 libglade2-0 libglib2.0-0 libglib2.0-data libgmp3c2
libgnome-keyring0 libgnome2-0 libgnome2-common libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0
libgnomevfs2-common libgnutls26 libgomp1 libgp11-0 libgpg-error0
libgphoto2-2 libgphoto2-port0 libgpm2 libgs8 libgssapi-krb5-2 libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libgudev-1.0-0 libgvfscommon0 libhal-storage1
libhal1 libice6 libidl0 libidn11 libimobiledevice0 libindicator0 libjasper1
libjpeg62 libjson-glib-1.0-0 libk5crypto3 libkeyutils1 libklibc libkrb5-3
libkrb5support0 liblcms1 libldap-2.4-2 liblocale-gettext-perl libltdl7
liblzma1 libmagic1 libmagickcore2 libmagickwand2 libmpfr1ldbl libncurses5
libncursesw5 libnewt0.52 libnih-dbus1 libnih1 libntfs-3g75 libntfs10
libopenobex1 liborbit2 libpam-ck-connector libpam-gnome-keyring
libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common
libpaper-utils libpaper1 libparted0debian1 libpcre3 libpixman-1-0 libplist1
libplymouth2 libpng12-0 libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libpopt0 libproxy0 libpython2.6 libreadline6
libsasl2-2 libsasl2-modules libselinux1 libsepol1 libsgutils2-2 libslang2
libsm6 libsmbclient libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libss2
libssl0.9.8 libstdc++6 libsysfs2 libtalloc2 libtasn1-3
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libthai-data
libthai0 libtiff4 libts-0.0-0 libudev0 libusb-0.1-4 libusb-1.0-0 libusbmuxd1
libuuid1 libwbclient0 libx11-6 libx11-data libxau6 libxcb-render-util0
libxcb-render0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6
libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
libxrender1 libxt6 lsb-base lzma make makedev mime-support module-init-tools
mount mountall mtools ncurses-bin net-tools netbase ntfs-3g ntfsprogs
obex-data-server openssl passwd perl perl-base perl-modules plymouth
plymouth-theme-ubuntu-text policykit-1 policykit-1-gnome powermgmt-base
procps psfontmgr psmisc python python-dbus python-gobject python-minimal
python-support python2.6 python2.6-minimal readline-common sed
sensible-utils sgml-base shared-mime-info sysv-rc sysvinit-utils tsconf
ttf-dejavu-core tzdata ubuntu-keyring ucf udev udisks upstart usbmuxd
util-linux uuid-runtime whiptail x-ttcidfont-conf x11-common
xfonts-encodings xfonts-utils xml-core zlib1g
Suggested packages:
ecryptfs-utils aptitude synaptic wajig dpkg-dev apt-doc bzip2 python-apt
aspell-doc spellutils galeon firefox abrowser www-browser weblint-perl
weblint libxml2-utils php5-cli tidy cpp-doc gcc-4.4-locales debconf-doc
debconf-utils libterm-readline-gnu-perl libgnome2-perl libnet-ldap-perl
defoma-doc dfontmgr libfont-freetype-perl ispell emacsen-common jed-extra
gpart parted e2fsck-static mlocate locate slocate gconf-defaults-service
ghostscript-cups ghostscript-x hpijs gnupg-doc xloadimage imagemagick eog
libpcsclite1 apmd iproute dhcp3-client dhcp-client ppp bootchart
libasound2-plugins libbonobo2-bin glibc-doc cups-common esound rng-tools
desktop-base gnome-icon-theme libgnomevfs2-bin libgnomevfs2-extra gnutls-bin
gphoto2 gtkam gpm krb5-doc krb5-user librsvg2-common libjasper-runtime
liblcms-utils libmagickcore2-extra libpam-doc ttf-japanese-gothic
ttf-japanese-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libparted0-dev
libparted0-i18n libsasl2-modules-otp libsasl2-modules-ldap
libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal sg3-utils make-doc nfs-common floppyd
openssl-doc perl-doc python-doc python-tk python-profiler python-dbus-doc
python-dbus-dbg python-gobject-dbg python2.6-doc python2.6-profiler binutils
binfmt-support sgml-base-doc sysv-rc-conf bum sash watershed xfsprogs
reiserfsprogs mdadm cryptsetup util-linux-locales kbd console-tools
debhelper
The following NEW packages will be installed:
adduser apt apt-utils aspell aspell-en base-files base-passwd bluefish
busybox-initramfs ca-certificates consolekit coreutils cpio cpp cpp-4.4 dbus
dbus-x11 debconf debconf-i18n debianutils defoma dictionaries-common dmsetup
dosfstools dpkg e2fslibs e2fsprogs esound-clients esound-common file
findutils fontconfig fontconfig-config fuse-utils gamin gawk gcc-4.4-base
gconf2 gconf2-common ghostscript gnome-keyring gnome-mime-data gnupg
gnupg-curl gpgv gsfonts gvfs gvfs-backends hdparm hicolor-icon-theme
ifupdown indicator-application initramfs-tools initramfs-tools-bin
initscripts insserv klibc-utils libacl1 libappindicator0 libarchive1
libart-2.0-2 libasound2 libaspell15 libatasmart4 libatk1.0-0 libatk1.0-data
libattr1 libaudiofile0 libavahi-client3 libavahi-common-data
libavahi-common3 libavahi-glib1 libblkid1 libbluetooth3 libbonobo2-0
libbonobo2-common libbonoboui2-0 libbonoboui2-common libbz2-1.0 libc-bin
libc6 libc6-i686 libcairo2 libcap2 libcdio-cdda0 libcdio-paranoia0 libcdio10
libck-connector0 libcomerr2 libcups2 libcupsimage2 libcurl3-gnutls
libdatrie1 libdb4.8 libdbus-1-3 libdbus-glib-1-2 libdbusmenu-glib1
libdbusmenu-gtk1 libdevmapper1.02.1 libdirectfb-1.2-0 libdrm-intel1
libdrm-nouveau1 libdrm-radeon1 libdrm2 libeggdbus-1-0 libesd0 libexif12
libexpat1 libffi5 libfontconfig1 libfontenc1 libfreetype6 libfribidi0
libfuse2 libgail18 libgamin0 libgcc1 libgconf2-4 libgcr0 libgcrypt11
libgdbm3 libgdu0 libglade2-0 libglib2.0-0 libglib2.0-data libgmp3c2
libgnome-keyring0 libgnome2-0 libgnome2-common libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0
libgnomevfs2-common libgnutls26 libgomp1 libgp11-0 libgpg-error0
libgphoto2-2 libgphoto2-port0 libgpm2 libgs8 libgssapi-krb5-2 libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libgudev-1.0-0 libgvfscommon0 libhal-storage1
libhal1 libice6 libidl0 libidn11 libimobiledevice0 libindicator0 libjasper1
libjpeg62 libjson-glib-1.0-0 libk5crypto3 libkeyutils1 libklibc libkrb5-3
libkrb5support0 liblcms1 libldap-2.4-2 liblocale-gettext-perl libltdl7
liblzma1 libmagic1 libmagickcore2 libmagickwand2 libmpfr1ldbl libncurses5
libncursesw5 libnewt0.52 libnih-dbus1 libnih1 libntfs-3g75 libntfs10
libopenobex1 liborbit2 libpam-ck-connector libpam-gnome-keyring
libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common
libpaper-utils libpaper1 libparted0debian1 libpcre3 libpixman-1-0 libplist1
libplymouth2 libpng12-0 libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libpopt0 libproxy0 libpython2.6 libreadline6
libsasl2-2 libsasl2-modules libselinux1 libsepol1 libsgutils2-2 libslang2
libsm6 libsmbclient libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libss2
libssl0.9.8 libstdc++6 libsysfs2 libtalloc2 libtasn1-3
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libthai-data
libthai0 libtiff4 libts-0.0-0 libudev0 libusb-0.1-4 libusb-1.0-0 libusbmuxd1
libuuid1 libwbclient0 libx11-6 libx11-data libxau6 libxcb-render-util0
libxcb-render0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6
libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
libxrender1 libxt6 lsb-base lzma make makedev mime-support module-init-tools
mount mountall mtools ncurses-bin net-tools netbase ntfs-3g ntfsprogs
obex-data-server openssl passwd perl perl-base perl-modules plymouth
plymouth-theme-ubuntu-text policykit-1 policykit-1-gnome powermgmt-base
procps psfontmgr psmisc python python-dbus python-gobject python-minimal
python-support python2.6 python2.6-minimal readline-common sed
sensible-utils sgml-base shared-mime-info sysv-rc sysvinit-utils tsconf
ttf-dejavu-core tzdata ubuntu-keyring ucf udev udisks upstart usbmuxd
util-linux uuid-runtime whiptail x-ttcidfont-conf x11-common
xfonts-encodings xfonts-utils xml-core zlib1g
0 upgraded, 314 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/92.5MB of archives.
After this operation, 361MB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Could not perform immediate configuration on 'libattr1'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
答案1
我相信E: Could not perform immediate configuration on ...
当软件包需要更新libc
才能安装但更新libc
尚未安装时有时会发生错误。
尝试这个:
sudo apt-get update && sudo apt-get install libc6
如果这样做没有问题,请尝试这个,但是如果它想删除任何东西,就不要让它继续,尤其是libc6
(在这种情况下,请在此处发表评论并添加问题的详细信息):
sudo apt-get install libc6-i686
如果一切正常,看看是否可以完成其余的更新:
sudo apt-get upgrade
如果它不起作用,请评论并发布详细信息,包括所有内容的所有输出。
致谢:
这个答案大致基于爱德华·范·库克的回答到apt 错误:无法立即执行配置(苏) 。
(您没有任何未安装的软件包,因此dist-upgrade
这里不需要。)
答案2
如果发生这种情况,运行
apt-get dist-upgrade -o APT::Immediate-Configure=0
而应该允许升级在你的
/etc/apt/apt.conf
解决此问题的另一种可能的方法是将 squeeze 和 wheezy 源临时添加到您的 sources.list 并运行 apt-get update。
例如:
deb http//ftp.se.debian.org/debian/ wheezy 主要贡献 非自由
deb-src http//ftp.se.debian.org/debian/ wheezy 主要贡献 非自由
deb http//mirrors.kernel.org/debian jessie 主要贡献