errors instaling virt-manager on 11.10

Tapas Mishra mightydreams at gmail.com
Wed Dec 12 13:39:35 UTC 2012


>
>
>
> On Wed, Dec 12, 2012 at 5:58 PM, Marius Gedminas <marius at pov.lt> wrote:
> On Wed, Dec 12, 2012 at 02:56:11PM +0530, Tapas Mishra wrote:
> > Hi,
> > I am trying to install virt-manager on 11.10 on 64 bit machine
> >  sudo aptitude install virt-manager
> >
> > here is where it stopped the install
> >
> > Processing triggers for python-support ...
> > Errors were encountered while processing:
> >  libvirt-bin
>
> Which means there was an important error message somewhere above this, a
> message you did not include in this email.  It may be the same as the
> one apt gets when it tries to recover, or it may be different.
>
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > A package failed to install.  Trying to recover:
> > Setting up libvirt-bin (0.9.2-4ubuntu15) ...
> > useradd: cannot lock /etc/passwd; try again later.
>
> Whoa.  What happened there?
>
>
>
>
>
> This Ubuntu thing was installed using Wubi...

>   $ ls -l /etc/passwd*
>   $ cat /proc/mounts
>
>  ls -l /etc/passwd
> -rw-r--r-- 1 root root 1835 2012-02-28 18:35 /etc/passwd
>
>
>  cat /proc/mounts
> rootfs / rootfs rw 0 0
> sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev devtmpfs rw,relatime,size=1517436k,nr_inodes=379359,mode=755 0 0
> devpts /dev/pts devpts
> rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
> tmpfs /run tmpfs rw,nosuid,relatime,size=610140k,mode=755 0 0
> fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
> /dev/sda5 /host fuseblk
> rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
> /dev/loop0 / ext4
> rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
> none /sys/kernel/debug debugfs rw,relatime 0 0
> none /sys/kernel/security securityfs rw,relatime 0 0
> none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
> none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
> binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc
> rw,nosuid,nodev,noexec,relatime 0 0
> vmware-vmblock /run/vmblock-fuse fuse.vmware-vmblock
> rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other
> 0 0
> gvfs-fuse-daemon /home/tapas/.gvfs fuse.gvfs-fuse-daemon
> rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
>
>
>  sudo aptitude install pastebinit
> [sudo] password for tapas:
> The following NEW packages will be installed:
>   pastebinit python-configobj{a}
> The following partially installed packages will be configured:
>   libvirt-bin
> 0 packages upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
> Need to get 266 kB of archives. After unpacking 2,245 kB will be used.
> Do you want to continue? [Y/n/?] Y
> Get: 1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main python-configobj
> all 4.7.2+ds-3 [234 kB]
> Get: 2 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe pastebinit
> all 1.2-2 [31.7 kB]
>
> Fetched 266 kB in 26s (9,854 B/s)
>
>
> Selecting previously deselected package python-configobj.
> (Reading database ... 174542 files and directories currently installed.)
> Unpacking python-configobj (from .../python-configobj_4.7.2+ds-3_all.deb)
> ...
> Selecting previously deselected package pastebinit.
> Unpacking pastebinit (from .../pastebinit_1.2-2_all.deb) ...
> Processing triggers for doc-base ...
> Processing 1 added doc-base file...
> Registering documents with scrollkeeper...
> Processing triggers for man-db ...
> Setting up libvirt-bin (0.9.2-4ubuntu15) ...
> useradd: cannot lock /etc/passwd; try again later.
> adduser: `/usr/sbin/useradd -d /var/lib/libvirt -g kvm -s /bin/false -u
> 118 libvirt-qemu' returned error code 1. Exiting.
> dpkg: error processing libvirt-bin (--configure):
>  subprocess installed post-installation script returned error exit status 1
> No apport report written because MaxReports is reached already
>                                                               Setting up
> python-configobj (4.7.2+ds-3) ...
> Setting up pastebinit (1.2-2) ...
> Errors were encountered while processing:
>  libvirt-bin
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up libvirt-bin (0.9.2-4ubuntu15) ...
> useradd: cannot lock /etc/passwd; try again later.
> adduser: `/usr/sbin/useradd -d /var/lib/libvirt -g kvm -s /bin/false -u
> 118 libvirt-qemu' returned error code 1. Exiting.
> dpkg: error processing libvirt-bin (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  libvirt-bin
>
>
>
> > adduser: `/usr/sbin/useradd -d /var/lib/libvirt -g kvm -s /bin/false -u
> 118
> > libvirt-qemu' returned error code 1. Exiting.
> > dpkg: error processing libvirt-bin (--configure):
> >  subprocess installed post-installation script returned error exit
> status 1
> > Errors were encountered while processing:
> >  libvirt-bin
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121212/c18cbb6e/attachment.html>


More information about the ubuntu-users mailing list