[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
For the issue I reported above, I believe this is a bug. There are two checks for pre-existing VMs, and they differ: /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py line 54:if hostname in self.all_domains() and not self.context.overwrite: line 80:if hostname in self.all_domains() and not self.vm.overwrite: Changing line 80 to match line 54 prevents this error. Line 80 throws an error when run: Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 227, in main hypervisor.finalise(destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py, line 78, in finalise self.call_hooks('deploy', destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/distro.py, line 67, in call_hooks call_hooks(self, *args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 158, in call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py, line 80, in deploy if hostname in self.all_domains() and not self.vm.overwrite: AttributeError: 'Libvirt' object has no attribute 'vm' -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/562189 Title: AttributeError: 'Libvirt' object has no attribute 'vm' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/562189/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 795358] [NEW] vmbuilder script fails on deploy/cleanup
Public bug reported: Binary package hint: python-vm-builder Originally attached to bug #562189 I believe this is a bug. There are two checks for pre-existing VMs, and they differ: /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py line 54:if hostname in self.all_domains() and not self.context.overwrite: line 80:if hostname in self.all_domains() and not self.vm.overwrite: Changing line 80 to match line 54 prevents this error. I believe this is an ok fix. Consider splitting this into a function, rather than copying and pasting code, if these are supposed to be identical lines. Line 80 throws an error when run: Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 227, in main hypervisor.finalise(destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py, line 78, in finalise self.call_hooks('deploy', destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/distro.py, line 67, in call_hooks call_hooks(self, *args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 158, in call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py, line 80, in deploy if hostname in self.all_domains() and not self.vm.overwrite: AttributeError: 'Libvirt' object has no attribute 'vm' ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 795358] Re: vmbuilder script fails on deploy/cleanup
** Attachment added: apport.python-vm-builder.UbG_w_.apport https://bugs.launchpad.net/bugs/795358/+attachment/2163203/+files/apport.python-vm-builder.UbG_w_.apport -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 795358] Re: vmbuilder script fails on deploy/cleanup
** Attachment added: Original vmbuilder command line. https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+attachment/2163204/+files/command-line.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
For the issue I reported above, I believe this is a bug. There are two checks for pre-existing VMs, and they differ: /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py line 54:if hostname in self.all_domains() and not self.context.overwrite: line 80:if hostname in self.all_domains() and not self.vm.overwrite: Changing line 80 to match line 54 prevents this error. Line 80 throws an error when run: Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 227, in main hypervisor.finalise(destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py, line 78, in finalise self.call_hooks('deploy', destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/distro.py, line 67, in call_hooks call_hooks(self, *args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 158, in call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py, line 80, in deploy if hostname in self.all_domains() and not self.vm.overwrite: AttributeError: 'Libvirt' object has no attribute 'vm' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/562189 Title: AttributeError: 'Libvirt' object has no attribute 'vm' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/562189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 795358] [NEW] vmbuilder script fails on deploy/cleanup
Public bug reported: Binary package hint: python-vm-builder Originally attached to bug #562189 I believe this is a bug. There are two checks for pre-existing VMs, and they differ: /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py line 54:if hostname in self.all_domains() and not self.context.overwrite: line 80:if hostname in self.all_domains() and not self.vm.overwrite: Changing line 80 to match line 54 prevents this error. I believe this is an ok fix. Consider splitting this into a function, rather than copying and pasting code, if these are supposed to be identical lines. Line 80 throws an error when run: Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 227, in main hypervisor.finalise(destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py, line 78, in finalise self.call_hooks('deploy', destdir) File /usr/lib/python2.7/dist-packages/VMBuilder/distro.py, line 67, in call_hooks call_hooks(self, *args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 158, in call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs) File /usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py, line 80, in deploy if hostname in self.all_domains() and not self.vm.overwrite: AttributeError: 'Libvirt' object has no attribute 'vm' ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 795358] Re: vmbuilder script fails on deploy/cleanup
** Attachment added: apport.python-vm-builder.UbG_w_.apport https://bugs.launchpad.net/bugs/795358/+attachment/2163203/+files/apport.python-vm-builder.UbG_w_.apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 795358] Re: vmbuilder script fails on deploy/cleanup
** Attachment added: Original vmbuilder command line. https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+attachment/2163204/+files/command-line.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/795358 Title: vmbuilder script fails on deploy/cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/795358/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
In current Natty, I get a slightly different version of this (output below). The same error occurs, but at the cleaning up step. The make_vm.sh blow contains the same vmbuilder command as above. Should this be raised as a separate bug? Thanks, Richard (example run) user@host:~$ ./make_vm.sh 2011-06-08 13:11:13,044 INFO: Calling hook: preflight_check 2011-06-08 13:11:13,046 INFO: Calling hook: set_defaults 2011-06-08 13:11:13,046 INFO: Calling hook: bootstrap 2011-06-08 13:14:02,506 INFO: Calling hook: configure_os 2011-06-08 13:14:27,787 INFO: Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem 2011-06-08 13:14:27,787 INFO: 141 added, 0 removed; done. 2011-06-08 13:14:27,790 INFO: Running hooks in /etc/ca-certificates/update.ddone. 2011-06-08 13:14:28,450 INFO: Creating SSH2 RSA key; this may take some time ... 2011-06-08 13:14:28,655 INFO: Creating SSH2 DSA key; this may take some time ... 2011-06-08 13:14:28,660 INFO: Creating SSH2 ECDSA key; this may take some time ... 2011-06-08 13:14:28,743 INFO: 2011-06-08 13:14:28,743 INFO: Warning: Fake initctl called, doing nothing 2011-06-08 13:14:28,744 INFO: 2011-06-08 13:14:28,744 INFO: Warning: Fake initctl called, doing nothing 2011-06-08 13:14:29,658 INFO: 2011-06-08 13:14:29,659 INFO: Current default time zone: 'Etc/UTC' 2011-06-08 13:14:29,665 INFO: Local time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO: Universal Time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO: 2011-06-08 13:14:35,096 INFO: gpg: key 437D05B5: Ubuntu Archive Automatic Signing Key ftpmas...@ubuntu.com not changed 2011-06-08 13:14:35,099 INFO: gpg: key FBB75451: Ubuntu CD Image Automatic Signing Key cdim...@ubuntu.com not changed 2011-06-08 13:14:35,099 INFO: gpg: Total number processed: 2 2011-06-08 13:14:35,099 INFO: gpg: unchanged: 2 2011-06-08 13:14:35,686 INFO: 2011-06-08 13:14:35,687 INFO: Current default time zone: 'Etc/UTC' 2011-06-08 13:14:35,694 INFO: Local time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO: Universal Time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO: Run 'dpkg-reconfigure tzdata' if you wish to change it. 2011-06-08 13:14:35,694 INFO: 2011-06-08 13:14:41,491 INFO: Calling hook: post_install 2011-06-08 13:14:41,493 INFO: Cleaning up 2011-06-08 13:14:41,496 INFO: Calling hook: preflight_check 2011-06-08 13:14:42,506 INFO: Calling hook: configure_networking 2011-06-08 13:14:42,528 INFO: Calling hook: configure_mounting 2011-06-08 13:14:42,533 INFO: Calling hook: mount_partitions 2011-06-08 13:14:42,533 INFO: Mounting target filesystems 2011-06-08 13:14:42,533 INFO: Creating disk image: /tmp/tmpVCe1ie of size: 12001MB 2011-06-08 13:14:42,542 INFO: Adding partition table to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,563 INFO: Adding type 4 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,564 INFO: Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:42,585 INFO: Adding type 3 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,596 INFO: [0] ../../libparted/filesys.c:148 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated 2011-06-08 13:14:42,606 INFO: Creating loop devices corresponding to the created partitions 2011-06-08 13:14:42,620 INFO: Creating file systems 2011-06-08 13:14:42,627 INFO: mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:42,970 INFO: mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors 2011-06-08 13:14:42,970 INFO: on whole disk. Use -f to force. 2011-06-08 13:14:43,037 INFO: Creating disk image: /tmp/tmp4Jlk2G of size: 20001MB 2011-06-08 13:14:43,048 INFO: Adding partition table to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,070 INFO: Adding type 4 partition to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,071 INFO: Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:43,087 INFO: Creating loop devices corresponding to the created partitions 2011-06-08 13:14:43,095 INFO: Creating file systems 2011-06-08 13:14:43,102 INFO: mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:43,105 INFO: warning: 128 blocks unused. 2011-06-08 13:14:43,106 INFO: 2011-06-08 13:14:45,290 INFO: Calling hook: install_bootloader 2011-06-08 13:14:50,161 INFO: Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,229 INFO: Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 2011-06-08 13:14:50,230 INFO: Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,234 INFO: Testing for an existing GRUB menu.lst file ...
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
In current Natty, I get a slightly different version of this (output below). The same error occurs, but at the cleaning up step. The make_vm.sh blow contains the same vmbuilder command as above. Should this be raised as a separate bug? Thanks, Richard (example run) user@host:~$ ./make_vm.sh 2011-06-08 13:11:13,044 INFO: Calling hook: preflight_check 2011-06-08 13:11:13,046 INFO: Calling hook: set_defaults 2011-06-08 13:11:13,046 INFO: Calling hook: bootstrap 2011-06-08 13:14:02,506 INFO: Calling hook: configure_os 2011-06-08 13:14:27,787 INFO: Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem 2011-06-08 13:14:27,787 INFO: 141 added, 0 removed; done. 2011-06-08 13:14:27,790 INFO: Running hooks in /etc/ca-certificates/update.ddone. 2011-06-08 13:14:28,450 INFO: Creating SSH2 RSA key; this may take some time ... 2011-06-08 13:14:28,655 INFO: Creating SSH2 DSA key; this may take some time ... 2011-06-08 13:14:28,660 INFO: Creating SSH2 ECDSA key; this may take some time ... 2011-06-08 13:14:28,743 INFO: 2011-06-08 13:14:28,743 INFO: Warning: Fake initctl called, doing nothing 2011-06-08 13:14:28,744 INFO: 2011-06-08 13:14:28,744 INFO: Warning: Fake initctl called, doing nothing 2011-06-08 13:14:29,658 INFO: 2011-06-08 13:14:29,659 INFO: Current default time zone: 'Etc/UTC' 2011-06-08 13:14:29,665 INFO: Local time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO: Universal Time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO: 2011-06-08 13:14:35,096 INFO: gpg: key 437D05B5: Ubuntu Archive Automatic Signing Key ftpmas...@ubuntu.com not changed 2011-06-08 13:14:35,099 INFO: gpg: key FBB75451: Ubuntu CD Image Automatic Signing Key cdim...@ubuntu.com not changed 2011-06-08 13:14:35,099 INFO: gpg: Total number processed: 2 2011-06-08 13:14:35,099 INFO: gpg: unchanged: 2 2011-06-08 13:14:35,686 INFO: 2011-06-08 13:14:35,687 INFO: Current default time zone: 'Etc/UTC' 2011-06-08 13:14:35,694 INFO: Local time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO: Universal Time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO: Run 'dpkg-reconfigure tzdata' if you wish to change it. 2011-06-08 13:14:35,694 INFO: 2011-06-08 13:14:41,491 INFO: Calling hook: post_install 2011-06-08 13:14:41,493 INFO: Cleaning up 2011-06-08 13:14:41,496 INFO: Calling hook: preflight_check 2011-06-08 13:14:42,506 INFO: Calling hook: configure_networking 2011-06-08 13:14:42,528 INFO: Calling hook: configure_mounting 2011-06-08 13:14:42,533 INFO: Calling hook: mount_partitions 2011-06-08 13:14:42,533 INFO: Mounting target filesystems 2011-06-08 13:14:42,533 INFO: Creating disk image: /tmp/tmpVCe1ie of size: 12001MB 2011-06-08 13:14:42,542 INFO: Adding partition table to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,563 INFO: Adding type 4 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,564 INFO: Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:42,585 INFO: Adding type 3 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,596 INFO: [0] ../../libparted/filesys.c:148 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated 2011-06-08 13:14:42,606 INFO: Creating loop devices corresponding to the created partitions 2011-06-08 13:14:42,620 INFO: Creating file systems 2011-06-08 13:14:42,627 INFO: mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:42,970 INFO: mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors 2011-06-08 13:14:42,970 INFO: on whole disk. Use -f to force. 2011-06-08 13:14:43,037 INFO: Creating disk image: /tmp/tmp4Jlk2G of size: 20001MB 2011-06-08 13:14:43,048 INFO: Adding partition table to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,070 INFO: Adding type 4 partition to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,071 INFO: Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:43,087 INFO: Creating loop devices corresponding to the created partitions 2011-06-08 13:14:43,095 INFO: Creating file systems 2011-06-08 13:14:43,102 INFO: mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:43,105 INFO: warning: 128 blocks unused. 2011-06-08 13:14:43,106 INFO: 2011-06-08 13:14:45,290 INFO: Calling hook: install_bootloader 2011-06-08 13:14:50,161 INFO: Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,229 INFO: Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 2011-06-08 13:14:50,230 INFO: Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,234 INFO: Testing for an existing GRUB menu.lst file ...
[Bug 725150] [NEW] Order of commands for install from other Linux is wrong
Public bug reported: The step in the guide to run MAKEDEV generic comes before the proc filesystem is mounted; it throws a lot of errors (I recall couldn't read from /proc/...) . I don't believe (but am happy to be corrected) that there's any issue mounting /proc beforehand. In my case, I mounted /proc, and re-ran MAKEDEV (no output). I now have a running system. BTW, I tried every other variation of Ubuntu installer and this (run from the Desktop LiveCD) was the only one that would work for me. Some of the problems are of my own making, but others are to be filed as bugs shortly. biscuit:~$ lsb_release -rd Description:Ubuntu 10.10 Release:10.10 As it's not a software bug per se, I don't have the version number. It's the one on the public Ubuntu website ( https://help.ubuntu.com/10.10 /installation-guide/amd64/linux-upgrade.html ) ** Affects: installation-guide (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725150 Title: Order of commands for install from other Linux is wrong -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 335154] Re: unreliable network connection can cause update-manager to delete whole system
Hi Michael, Please find the directory contents attached as tgz. Any ideas how I might get this disk back towards working? I recall there's something like/called debbootstrap, but I'm not sure where to start. Thanks, Richard 2009/3/16 Michael Vogt michael.v...@ubuntu.com: Thanks a lot for the log. It is a bit mysterious what happend, even with the log. It looks like the u-m thought that it was able to do a update from your mirror, but the Packages files that it got were empty. If you could add the content of /var/lib/apt/lists ads well, that would be most appreciated. I added extra paranoia code to ensure this does not happen anymore to the obsoletes calculation and extra care to the update code. This should hopefully fix the problem. Still, the contents of /var/lib/apt/lists will be helpful to diagnose it further. Thanks, Michael ** Changed in: update-manager (Ubuntu) Status: Incomplete = In Progress -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a direct subscriber of the bug. -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335154] Re: unreliable network connection can cause update-manager to delete whole system
third time lucky: contents of /var/lib/apt/lists recovered from busted machine ** Attachment added: contents of /var/lib/apt/lists recovered from busted machine http://launchpadlibrarian.net/23925983/lists_BAD.tgz -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 335154] Re: unreliable network connection can cause update-manager to delete whole system
Sorry for the delay. gzipped tar of the directory is attached. Let me know if there's anything else I can add. Richard 2009/3/5 Michael Vogt michael.v...@ubuntu.com: Thanks for your bugreport. Could you please attach the files in /var/log/dist-ugprade from the bad upgrade? This sounds pretty bad. -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a direct subscriber of the bug. ** Attachment added: dist-upgrade_BAD.tgz http://launchpadlibrarian.net/23809235/dist-upgrade_BAD.tgz -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335154] [NEW] unreliable network connection can cause update-manager to delete whole system
Public bug reported: Binary package hint: update-manager Hello, I was struggling with an unreliable Internet connection for some time, and it would drop out semi-frequently (new DSL line, connected via router, not direct to my PC). This is not ideal, but the consequesnses were a surprise. My expectation (please correct me if I am wrong) was that update manager would attempt to download all the packages required, and on failure exit. At this point, I could restart update manager and continue downloading pretty much were it left off, as the previously completed packages would be found in the cache and skipped. I didn't worry about corruption of packages as they're signed, and wouldn't get past dpkg. What happened is a bit unclear, as my system is not bootable. I can mount the disk for forensic purposes though. It appears that all of the packages were marked as obsolete, and uninstalled. Essentially sudo ls -Rf / via dpkg. The system is not bootable, the root partition is essentially ruined. This was an update of 8.04 LTS (up to date at start of this process), to the (not LTS) 8.10 version. I'm happy to help find out how this happened so other uses don't have to suffer. If some way to rescue the machine cold be found, then that would be great, too. Thanks for all your hard work, Richard ** Affects: update-manager (Ubuntu) Importance: Undecided Status: New -- unreliable network connection can cause update-manager to delete whole system https://bugs.launchpad.net/bugs/335154 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs