linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cwillu <cwillu@cwillu.com>
To: CACook@quantum-sci.com
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Cannot Deinstall a Debian Package
Date: Thu, 5 May 2011 13:28:19 -0600	[thread overview]
Message-ID: <BANLkTi=_mucea2-nPE54dgkuR3B9mU0o7g@mail.gmail.com> (raw)
In-Reply-To: <201105050749.09690.CACook@quantum-sci.com>

On Thu, May 5, 2011 at 8:49 AM,  <CACook@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 ag=
ain.
>>
>> Install grub-pc 1.99~rc1-13 from Sid.
>
> First I put an exit right after #! /bin/sh =C2=A0and it failed. =C2=A0=
Then I moved /etc/kernel/postrm.d/zz-update-grub to / and it still fail=
ed.
>
> Grub is not running as a daemon, so I shouldn't have to reboot for th=
e new version to take effect. =C2=A0And frankly at the moment I'm afrai=
d to reboot, with only grub-common installed.
>
> # dpkg -i /var/cache/apt/archives/grub-common_1.99~rc1-13_amd64.deb
> (Reading database ... 136689 files and directories currently installe=
d.)
> Preparing to replace grub-common 1.98+20100804-14 (using .../grub-com=
mon_1.99~rc1-13_amd64.deb) ...
> Unpacking replacement grub-common ...
> Setting up grub-common (1.99~rc1-13) ...
> Installing new version of config file /etc/grub.d/10_linux ...
> Installing new version of config file /etc/grub.d/30_os-prober ...
> Installing new version of config file /etc/grub.d/00_header ...
> Installing new version of config file /etc/grub.d/20_linux_xen ...
> Processing triggers for install-info ...
> Processing triggers for man-db ...
>
> # dpkg -i /var/cache/apt/archives/grub-pc_1.99~rc1-13_amd64.deb
> (Reading database ... 136703 files and directories currently installe=
d.)
> Preparing to replace grub-pc 1.99~rc1-13 (using .../grub-pc_1.99~rc1-=
13_amd64.deb) ...
> Unpacking replacement grub-pc ...
> Setting up grub-pc (1.99~rc1-13) ...
> grub-probe: error: cannot stat `/dev/root'.
> Installation finished. No error reported.
> /usr/sbin/grub-probe: error: cannot stat `/dev/root'.
> dpkg: error processing grub-pc (--install):
> =C2=A0subprocess installed post-installation script returned error ex=
it status 1
> Processing triggers for man-db ...
> Errors were encountered while processing:
> =C2=A0grub-pc
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs=
" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.ht=
ml
>

You'll need to contact somebody more familiar with debian, as this
isn't really a btrfs issue.

Yes, btrfs is the obvious cause, but it's grub's handling of it that
is the problem, and dpkg's handling of grub's failure that is really
blocking you.

This is what it meant by "does debian support btrfs?".  It's not a
question of whether btrfs is in debian's kernel, but whether all the
pieces of debian which are directly or indirectly affected by btrfs
are known to work right, and whether they're currently willing to
spend effort on these issues.

If they're not currently providing that level of support, then it's
completely up to you to have a good understanding of how the rest of
debian is put together so that you yourself can make things works.

As was mentioned previously, there is an updated grub package, so your
main objective is to find out from debian how to disable or override
the failing package long enough to install the replacement.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-05-05 19:28 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 19:27 Cannot Deinstall a Debian Package CACook
2011-05-03 21:26 ` Fajar A. Nugraha
2011-05-03 22:20   ` CACook
2011-05-03 23:02     ` Chuck Burns
2011-05-04  0:12       ` CACook
2011-05-04  0:25         ` Chuck Burns
2011-05-04  1:20     ` Chris Samuel
2011-05-04  2:44     ` Fajar A. Nugraha
2011-05-04  9:51     ` Sander
2011-05-05 14:49       ` CACook
2011-05-05 18:09         ` CACook
2011-05-05 19:09           ` cwillu
2011-05-05 19:28         ` cwillu [this message]
2011-05-05 19:50           ` CACook
2011-05-05 19:55             ` Chris Mason
2011-05-05 20:32               ` CACook
2011-05-05 20:40                 ` cwillu
2011-05-05 21:40                   ` CACook
2011-05-05 21:48                     ` cwillu
2011-05-05 22:33                       ` CACook
2011-05-05 23:06                         ` Miguel Garrido
2011-05-06  3:53                         ` Helmut Hullen
2011-05-06  6:49               ` Sander
2011-05-05 20:31             ` cwillu
2011-05-05 20:57               ` CACook
2011-05-05 20:59                 ` Lars Wirzenius
2011-05-05 21:48                   ` CACook
2011-05-05 21:50                     ` cwillu
2011-05-05 21:11                 ` cwillu
2011-05-06  6:43             ` Sander
2011-05-06  6:33         ` Sander
2011-05-06 12:09           ` CACook
2011-05-06 12:20             ` Sander
2011-05-06 12:57               ` CACook
2011-05-06 13:21                 ` Sander
2011-05-06 13:56                   ` CACook
2011-05-06 14:17                     ` Sander
2011-05-06 14:53                       ` CACook
2011-05-06 14:58                         ` Sander
2011-05-06 15:15                           ` CACook
2011-05-06 17:09                             ` CACook
2011-05-06 20:04                               ` CACook
2011-05-06 20:16                                 ` Tomasz Torcz
2011-05-06 20:56                                   ` CACook
2011-05-06 21:23                                     ` Peter Stuge
2011-05-06 20:40                                 ` Sander
2011-05-06 20:51                               ` Peter Stuge
2011-05-06 21:20                                 ` CACook
2011-05-06 21:28                                   ` Peter Stuge
2011-05-06 21:32                                   ` Hugo Mills
2011-05-06 22:17                                     ` David G Beausang
2011-05-07  1:51                                   ` C Anthony Risinger
2011-05-07  2:05                                     ` C Anthony Risinger
     [not found]                                       ` <201105062008.26159.CACook@quantum-sci.com>
2011-05-07  6:21                                         ` C Anthony Risinger
2011-05-07  7:03                                           ` Helmut Hullen
2011-05-06 13:30             ` Helmut Hullen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=_mucea2-nPE54dgkuR3B9mU0o7g@mail.gmail.com' \
    --to=cwillu@cwillu.com \
    --cc=CACook@quantum-sci.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).