Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Sander
Chris Mason wrote (ao): I'm happy to patch up bugs in the FS (or point you to newer kernels that have them fixed) but at this point we don't have enough info to say if it is an FS problem or a debian package problem. Perhaps if you ran it under strace? Other distros don't have problems

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Thursday 5 May, 2011 23:33:33 Sander wrote: Can you do: echo true /var/lib/dpkg/info/grub-installer.postinst and try again? At some point somehow grup-pc apparently got installed, even with the script failure. So I tried my dist-upgrade again, and seems to have completed almost 400

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Sander
cac...@quantum-sci.com wrote (ao): On Thursday 5 May, 2011 23:33:33 Sander wrote: Can you do: echo true /var/lib/dpkg/info/grub-installer.postinst and try again? At some point somehow grup-pc apparently got installed, even with the script failure. So I tried my dist-upgrade

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Friday 6 May, 2011 05:20:28 Sander wrote: Can you post the error? # apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Sander
cac...@quantum-sci.com wrote (ao): On Friday 6 May, 2011 05:20:28 Sander wrote: Can you post the error? Do you want to continue [Y/n]? Setting up linux-image-2.6.38-2-amd64 (2.6.38-3) ... /usr/sbin/grub-probe: error: cannot stat `/dev/root'. run-parts:

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Helmut Hullen
Hallo, Cacook, Du meintest am 06.05.11: I can't reboot at this point, as on this machine I started a 'balance' through ssh on another machine, and it's been running for over 12 hours. It does not respond to ^C and I'm afraid to reboot with it running. That's a behaviour which was described

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
Same old problem. On Friday 6 May, 2011 06:21:58 Sander wrote: Can you try: dpkg -i /var/cache/apt/archives/grub-pc_1.99~rc1-13_amd64.deb apt-get dist-upgrade # dpkg -i /var/cache/apt/archives/grub-pc_1.99~rc1-13_amd64.deb (Reading database ... 135273 files and directories currently

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Sander
cac...@quantum-sci.com wrote (ao): # dpkg -i /var/cache/apt/archives/grub-pc_1.99~rc1-13_amd64.deb (Reading database ... 135273 files and directories currently installed.) Preparing to replace grub-pc 1.99~rc1-13 (using .../grub-pc_1.99~rc1-13_amd64.deb) ... Unpacking replacement grub-pc ...

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Friday 6 May, 2011 07:17:00 you wrote: Hm. Just do cp /bin/true /usr/sbin/grub-probe Yikes, it came up with an ncurses screen saying: GRUB failed to install to the following devices: │ │

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Friday 6 May, 2011 07:58:47 you wrote: Say 'yes', try to finish your upgrade. Now when I ran it, it went as normal for some reason. Then: grub-install /dev/sda Auto-detection of a filesystem of failed. Please report this together with the output of /usr/sbin/grub-probe

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Friday 6 May, 2011 08:15:25 cac...@quantum-sci.com wrote: I'm afraid to reboot though, because yesterday I started a btrfs fi balance on this machine while sshed to another, and that is still running 15 hours later with no indication of progress nor sign of abating. ^C is ineffective.

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
Anyone here? On Friday 6 May, 2011 10:09:29 cac...@quantum-sci.com wrote: On Friday 6 May, 2011 08:15:25 cac...@quantum-sci.com wrote: I'm afraid to reboot though, because yesterday I started a btrfs fi balance on this machine while sshed to another, and that is still running 15 hours

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Tomasz Torcz
On Fri, May 06, 2011 at 01:04:28PM -0700, cac...@quantum-sci.com wrote: Anyone here? Could you create link from you root parition to /dev/root and try again? -- Tomasz Torcz Morality must always be based on practicality. xmpp: zdzich...@chrome.pl-- Baron

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Sander
cac...@quantum-sci.com wrote (ao): Wow. I was very nearly completely screwed. I went ahead and rebooted, but grub.cfg was not set up at all. I had no way to run update-grub on that root, and so tried manually filling in the missing parameters. That didn't work, probably through the

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. //Peter -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread CACook
On Friday 6 May, 2011 13:51:37 Peter Stuge wrote: cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. No thanks. This is a BTRFS problem, and if you people don't want to face it,

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: # update-grub /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). # update-grub -v grub-mkconfig (GRUB) 1.99~rc1-13 # It's still BTRFS incompatibility. Either that, or maybe something has broken in your many attempts to solve the

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Peter Stuge
cac...@quantum-sci.com wrote: Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. No thanks. This is a BTRFS problem, and if you people don't want to face it, that's fine. A problem that happens when you use btrfs is not

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread Hugo Mills
On Fri, May 06, 2011 at 02:20:48PM -0700, cac...@quantum-sci.com wrote: I'm tearing out BTRFS and using another filesystem. I think this is probably a good conclusion for you. I would strongly suggest you pick something reliable (like ext3 or ext4) for your future needs. Picking an

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread David G Beausang
Hugo Mills wrote: On Fri, May 06, 2011 at 02:20:48PM -0700, cac...@quantum-sci.com wrote: I'm tearing out BTRFS and using another filesystem. I think this is probably a good conclusion for you. I would strongly suggest you pick something reliable (like ext3 or ext4) for your future

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread C Anthony Risinger
On May 6, 2011 4:20 PM, cac...@quantum-sci.com wrote: On Friday 6 May, 2011 13:51:37 Peter Stuge wrote: cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. No thanks.  This

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread C Anthony Risinger
On Fri, May 6, 2011 at 8:51 PM, C Anthony Risinger anth...@extof.me wrote: On May 6, 2011 4:20 PM, cac...@quantum-sci.com wrote: On Friday 6 May, 2011 13:51:37 Peter Stuge wrote: cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
On Wednesday 4 May, 2011 02:51:54 Sander wrote: Put an exit on top of /etc/kernel/postrm.d/zz-update-grub and try again. Install grub-pc 1.99~rc1-13 from Sid. First I put an exit right after #! /bin/sh and it failed. Then I moved /etc/kernel/postrm.d/zz-update-grub to / and it still

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
Anyone have a suggestion? Also on another machine set up similarly, I now cannot mkdir. It says 'no space left on device'. df says: # df /dev/sdb Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb 3907029168 2658010524 1246486516 69% /home sdb and sdc

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 12:09 PM, cac...@quantum-sci.com wrote: Anyone have a suggestion? Also on another machine set up similarly, I now cannot mkdir.  It says 'no space left on device'.  df says: # df /dev/sdb Filesystem           1K-blocks      Used Available Use% Mounted on /dev/sdb  

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 8:49 AM, cac...@quantum-sci.com wrote: On Wednesday 4 May, 2011 02:51:54 Sander wrote: Put an exit on top of /etc/kernel/postrm.d/zz-update-grub and try again. Install grub-pc 1.99~rc1-13 from Sid. First I put an exit right after #! /bin/sh  and it failed.  Then I

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
I was afraid of this finger-pointing. Of course no one at Debian is going to know how to fix BTRFS jamming the package management system. That's ridiculous. It's starting to look like BTRFS is just busted in Debian, and I'll have to reinstall everything over a different filesystem. I hate

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread Chris Mason
Excerpts from CACook's message of 2011-05-05 15:50:02 -0400: I was afraid of this finger-pointing. We're not finger pointing, but we also don't maintain the script that is failing. I'm happy to patch up bugs in the FS (or point you to newer kernels that have them fixed) but at this point we

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 1:50 PM, cac...@quantum-sci.com wrote: I was afraid of this finger-pointing. Of course no one at Debian is going to know how to fix BTRFS jamming the package management system.  That's ridiculous. I took the liberty of asking #debian, and they've requested that you

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
Here is the relevant section of strace: - chmod(/etc/grub.d/05_debian_theme.dpkg-new, 0755) = 0 unlink(/etc/grub.d/05_debian_theme.dpkg-new) = 0 stat(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2819,

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 2:32 PM, cac...@quantum-sci.com wrote: Here is the relevant section of strace: BTW, I fixed the 'no space left on device' on the other machine with a btrfs balance.  No one seems to know this, but even though df reports that 64% of the disk array is used, apparently

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
On Thursday 5 May, 2011 13:31:17 cwillu wrote: I took the liberty of asking #debian, and they've requested that you file a bug in their bug tracker. They've also suggested that you might be able to short-circuit the faulty script in their kernel package via an exit 0, or even replace the

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread Lars Wirzenius
On to, 2011-05-05 at 13:57 -0700, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:31:17 cwillu wrote: I took the liberty of asking #debian, and they've requested that you file a bug in their bug tracker. They've also suggested that you might be able to short-circuit the faulty

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 2:57 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:31:17 cwillu wrote: I took the liberty of asking #debian, and they've requested that you file a bug in their bug tracker.  They've also suggested that you might be able to short-circuit the faulty script

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
On Thursday 5 May, 2011 13:40:25 cwillu wrote: Could you include the information I asked for previously? (Kernel version, output of btrfs fi df and btrfs fi show) Kernel 2.6.37-2 # btrfs fi df /home Data, RAID0: total=2.61TB, used=2.47TB Data: total=8.00MB, used=8.00MB System, RAID1:

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
On Thursday 5 May, 2011 13:59:23 Lars Wirzenius wrote: dpkg --fsys-tarfile foo.deb | tar -C / -tf - I was expecting this to extract into the local directory, although it seems to have extracted into the final destinations. Can't be sure. grub-setup -V gives the new version. change -t to

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 3:40 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:40:25 cwillu wrote: Could you include the information I asked for previously?  (Kernel version, output of btrfs fi df and btrfs fi show) Kernel 2.6.37-2 # btrfs fi df /home Data, RAID0: total=2.61TB,

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 3:48 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:59:23 Lars Wirzenius wrote: dpkg --fsys-tarfile foo.deb | tar -C / -tf - I was expecting this to extract into the local directory, although it seems to have extracted into the final destinations.  Can't

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread CACook
On Thursday 5 May, 2011 14:48:49 cwillu wrote: How old was the filesystem? It might just have been lingering problems from an older kernel, which would be cleared up entirely by the balance you just ran. I specifically set up the filesystem with the Live CD of the M- release of Ubuntu, so as

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread Miguel Garrido
On Thu, May 5, 2011 at 6:33 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 14:48:49 cwillu wrote: How old was the filesystem?  It might just have been lingering problems from an older kernel, which would be cleared up entirely by the balance you just ran. I specifically set up

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread Helmut Hullen
Hallo, Cacook, Du meintest am 05.05.11: I took all pains to be using the newest OS available to set up the disks, so as to take advantage of WD's Advanced Format, and the newest improvements to BTRFS. But the balance is still going after more than an hour. Where's the problem? Balancing 4

Re: Cannot Deinstall a Debian Package

2011-05-04 Thread Sander
cac...@quantum-sci.com wrote (ao): I would be happy to upgrade grub, but the package management system is jammed because of this. Put an exit on top of /etc/kernel/postrm.d/zz-update-grub and try again. Install grub-pc 1.99~rc1-13 from Sid.

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2011 at 2:27 AM, cac...@quantum-sci.com wrote: Having a failure that may be because grub2 doesn't BTRFS.  /boot is ext3 and / is BTRFS. Does Debian (or whatever distro you use) support BTRFS /? If yes, you should ask them. If no, then you should've already known that there's a

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread CACook
On Tuesday 3 May, 2011 14:26:52 Fajar A. Nugraha wrote: Does Debian (or whatever distro you use) support BTRFS /? If yes, you should ask them. What do you mean 'does Debian support BTRFS'? The kernel supports it. And why would they know more about BTRFS than you? My whole system is

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Chuck Burns
On Tuesday, May 03, 2011 05:20:49 PM cac...@quantum-sci.com wrote: -snip- I would be happy to upgrade grub, but the package management system is jammed because of this. -snip- You should Re-read the error you posted. The package management system goes bonkers, because /usr/sbin/grub-probe:

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread CACook
I know what the error says; we've established that / is in fact mounted. The system boots and runs, but grub doesn't understand it. My only answer is that grub-probe does not understand BTRFS. The question is what to do about this. I have three major systems committed to this filesystem.

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Chuck Burns
On Tuesday, May 03, 2011 07:12:42 PM cac...@quantum-sci.com wrote: I know what the error says; we've established that / is in fact mounted. The system boots and runs, but grub doesn't understand it. My only answer is that grub-probe does not understand BTRFS. The question is what to do

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Chris Samuel
On 04/05/11 08:20, cac...@quantum-sci.com wrote: My whole system is installed over BTRFS. If this is non-functional in any OS there should be a warning indicating it is non-functional. The text for btrfs in the kernel configuration says: Btrfs is highly experimental, and THE DISK FORMAT IS

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2011 at 5:20 AM, cac...@quantum-sci.com wrote: On Tuesday 3 May, 2011 14:26:52 Fajar A. Nugraha wrote: Does Debian (or whatever distro you use) support BTRFS /? If yes, you should ask them. What do you mean 'does Debian support BTRFS'?  The kernel supports it. Just because