Como instalar aplicativos quando o APT disser "Não foi possível executar a configuração imediata"?

2

Meu problema é que, quando eu quero instalar aplicativos como apt-get install <appsname> , recebo um erro:

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)
    
por Rajendra Sharma 17.01.2013 / 10:06

2 respostas

3

Acredito que o erro E: Could not perform immediate configuration on ... às vezes ocorre quando um pacote precisa de um libc atualizado para ser instalado ... mas o libc atualizado ainda não está instalado.

Tente isto:

sudo apt-get update && sudo apt-get install libc6

Se isso funcionar sem problemas, tente isso, mas não permita que continue se quiser remover alguma coisa, especialmente libc6 (nesse caso, por favor, comente aqui e adicione detalhes ao seu pergunta):

sudo apt-get install libc6-i686

Se tudo isso funcionar, veja se consegue concluir o restante da atualização:

sudo apt-get upgrade

Se não funcionar, por favor comente e poste os detalhes, incluindo todos os resultados de tudo.

Agradecimentos:
Essa resposta é baseada no responder a apt erro: Não foi possível executar a configuração imediata em ( SU ).
(Você não tem nenhum pacote instalado, então dist-upgrade é desnecessário aqui.)

    
por Eliah Kagan 17.01.2013 / 10:41
1

Se isso acontecer, corra

  

apt-get dist-upgrade -o APT :: Configuração imediata = 0

em vez disso, deve permitir que a atualização continue em sua

/etc/apt/apt.conf

Outra solução possível para esse problema é adicionar temporariamente fontes squeeze e wheezy à sua sources.list e executar o apt-get update.

Por exemplo:

  

deb http // ftp.se.debian.org / debian / wheezy principal contrib não-livre

     

deb-src http // ftp.se.debian.org / debian / wheezy principal contrib não-livre

     

deb http // mirrors.kernel.org / debian jessie principal contrib

    
por Correcter 26.11.2016 / 19:15