chdist fails with "E: Internal Error, Could not perform immediate configuration (2) on libattr1"

Bug #434987 reported by Martin Pool
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: devscripts

I want to use chdist to test installation of packages from my ppa. I have a chdist set up to pull from a local Karmic mirror (and no ppa for the time being). However, I get the named error when trying to install libattr1:

mbp@grace% cat /home/mbp/.chdist/karmic/etc/apt/sources.list
#deb http://ftp.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.debian.org/debian/ unstable main contrib non-free

deb http://mirror.internode.on.net/pub/ubuntu/ubuntu karmic main restricted universe
#deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
#deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse

# deb http://ppa.launchpad.net/bzr/ppa/ubuntu karmic main

mbp@grace% chdist apt-get karmic update
Hit http://mirror.internode.on.net karmic Release.gpg
Ign http://mirror.internode.on.net karmic/main Translation-en_AU
Ign http://mirror.internode.on.net karmic/restricted Translation-en_AU
Ign http://mirror.internode.on.net karmic/universe Translation-en_AU
Hit http://mirror.internode.on.net karmic Release
Hit http://mirror.internode.on.net karmic/main Packages
Hit http://mirror.internode.on.net karmic/restricted Packages
Hit http://mirror.internode.on.net karmic/universe Packages
Reading package lists... Done
mbp@grace% chdist apt-get karmic install libattr1
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  apt apt-utils ca-certificates coreutils debconf debconf-i18n dpkg findutils gcc-4.4-base
  gnupg gpgv libacl1 libbz2-1.0 libc-bin libc6 libcomerr2 libcurl3-gnutls libdb4.7 libgcc1
  libgcrypt11 libgnutls26 libgpg-error0 libgpm2 libgssapi-krb5-2 libidn11 libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblocale-gettext-perl libncurses5
  libreadline6 libsasl2-2 libsasl2-modules libselinux1 libssl0.9.8 libstdc++6 libtasn1-3
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 lzma openssl
  perl-base readline-common tzdata ubuntu-keyring zlib1g
Suggested packages:
  aptitude synaptic gnome-apt wajig dpkg-dev apt-doc bzip2 python-apt debconf-doc
  debconf-utils whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl
  libqt-perl libnet-ldap-perl mlocate locate slocate gnupg-doc xloadimage imagemagick eog
  libpcsclite1 glibc-doc locales rng-tools gnutls-bin gpm krb5-doc krb5-user
  libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
  libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal openssl-doc
The following NEW packages will be installed:
  apt apt-utils ca-certificates coreutils debconf debconf-i18n dpkg findutils gcc-4.4-base
  gnupg gpgv libacl1 libattr1 libbz2-1.0 libc-bin libc6 libcomerr2 libcurl3-gnutls libdb4.7
  libgcc1 libgcrypt11 libgnutls26 libgpg-error0 libgpm2 libgssapi-krb5-2 libidn11
  libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblocale-gettext-perl
  libncurses5 libreadline6 libsasl2-2 libsasl2-modules libselinux1 libssl0.9.8 libstdc++6
  libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4
  lzma openssl perl-base readline-common tzdata ubuntu-keyring zlib1g
0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/21.4MB of archives.
After this operation, 74.7MB of additional disk space will be used.
Do you want to continue [Y/n]?
E: Internal Error, Could not perform immediate configuration (2) on libattr1

Maybe it means errno 2 (enoent)? It's a bit cryptic.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: devscripts 2.10.48ubuntu1~jaunty1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
SourcePackage: devscripts
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
Martin Pool (mbp) wrote :
Revision history for this message
Martin Pool (mbp) wrote :

but strace shows no obvious error

[pid 30109] read(10, ""..., 1024) = 0
[pid 30109] lseek(10, 0, SEEK_SET) = 0
[pid 30109] read(10, "rootfs / rootfs rw 0 0\nnone /sys "..., 1024) = 1024
[pid 30109] stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 30109] stat("/boot", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 30109] stat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 30109] close(10) = 0
[pid 30109] munmap(0x7f3c54c02000, 4096) = 0
[pid 30109] write(1, "Do you want to continue [Y/n]? "..., 31Do you want to continue [Y/n]? ) = 31
[pid 30109] fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
[pid 30109] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c54c02000
[pid 30109] read(0,
"\n"..., 1024) = 1
) = 2] write(1, "\r\r"..., 2
[pid 30109] close(4) = 0
[pid 30109] brk(0xb30000) = 0xb30000
[pid 30109] brk(0xb77000) = 0xb77000
[pid 30109] brk(0xae9000) = 0xae9000
[pid 30109] brk(0xb30000) = 0xb30000
[pid 30109] brk(0xb77000) = 0xb77000
[pid 30109] brk(0xae9000) = 0xae9000
[pid 30109] brk(0xb42000) = 0xb42000
[pid 30109] brk(0xb88000) = 0xb88000
[pid 30109] brk(0xbcf000) = 0xbcf000
[pid 30109] brk(0xafb000) = 0xafb000
[pid 30109] brk(0xb42000) = 0xb42000
[pid 30109] brk(0xb88000) = 0xb88000
[pid 30109] brk(0xbcf000) = 0xbcf000
[pid 30109] brk(0xafb000) = 0xafb000
[pid 30109] brk(0xb42000) = 0xb42000
[pid 30109] close(9) = 0
[pid 30109] close(8) = 0
[pid 30109] close(7) = 0
[pid 30109] close(6) = 0
[pid 30109] close(5) = 0
[pid 30109] munmap(0x7f3c54c04000, 1736704) = 0
[pid 30109] munmap(0x7f3c56b0e000, 176128) = 0
[pid 30109] munmap(0x7f3c54dac000, 868352) = 0
[pid 30109] munmap(0x7f3c54e80000, 12643501) = 0
[pid 30109] write(2, "E: "..., 3E: ) = 3
[pid 30109] write(2, "Internal Error, Could not perform"..., 73Internal Error, Could not perform immediate configuration (2) on libattr1) = 73
[pid 30109] write(2, "\n"..., 1
) = 1
[pid 30109] close(3) = 0
[pid 30109] exit_group(100) = ?
Process 30109 detached
[pid 30108] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 100}], 0, NULL) = 30109
[pid 30108] --- SIGCHLD (Child exited) @ 0 (0) ---
[pid 30108] exit_group(100) = ?
Process 30107 resumed
Process 30108 detached
<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 100}], 0, NULL) = 30108
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
read(3, ""..., 4) = 0
close(3) = 0
exit_group(0) = ?

Revision history for this message
Martin Pool (mbp) wrote :

Perhaps this is just a limitation that you simply can't install packages, because it's not a real chroot? It would be nice if that was documented and/or gave a better message.

Revision history for this message
Martin Pool (mbp) wrote :

Surprisingly(?) I get the same error when trying to install with just --dry-run, which it seems to me should not need any privileges or special setup...

Revision history for this message
Martin Pool (mbp) wrote :

This is also reproducible with --dry-run in a newly created environment.

Revision history for this message
Robert Collins (lifeless) wrote :

try -f

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 434987] Re: chdist fails with "E: Internal Error, Could not perform immediate configuration (2) on libattr1"

2009/11/26 Robert Collins <email address hidden>:
> try -f

no better

Revision history for this message
Maarten Bezemer (veger) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 434987 and any other logs that are relevant for this particular issue.

Changed in devscripts (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devscripts (Ubuntu) because there has been no activity for 60 days.]

Changed in devscripts (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.