Re: Most recent linux-image-2.6.18-6-686 fails to install debian-user@lists.debian.org,
On Fri, 15 Feb 2008 10:11:30 -0500
Paul Cartwright <ale@pcartwright.com> wrote:
> On Fri February 15 2008, Douglas A. Tutty wrote:
> > > 2.6.18-4-686 2.6.18-6-686 2.6.18-6-vserver-686
> > > 2.6.22-2-686 2.6.18-5-486 2.6.18-6-686-bigmem
> > > 2.6.18-6-vserver-k7 2.6.22-3-686 2.6.18-5-686 2.6.18-6-amd64
> > > 2.6.18-6-xen-686 2.6.18-6-486 2.6.18-6-k7
> > > 2.6.18-6-xen-vserver-686
> > >
> > > I am running Etc, with the 2.6.18-6-686 kernel. What is the
> > > correct way to get rid of those, dpkg deinstall ?
> >
> >
> >
> > Use whatever package management tool you normally use. If you are
> > running Etch then you will have installed non-etch kernels (e.g.
> > 2.6.22-2-686, 2.6.22-3-686 which are not Etch). Ensure that you
> > keep your current kernel and the last one that ran well. I suppose
> > that if you are using Xen then you need a xen kernel. If you need
> > vserver... etc.
> >
> > Doug.
>
> ok, now I remember. I had to add the linux-headers package:
> linux-headers-2.6.18-6-all-i386
>
> to get the headers so I could install my NVIDIA driver into the
> current kernel. This added all of those OTHER kernel packages and
> folder.. when I try to remove the xen-vserver headers I get this:
>
>
> # aptitude remove linux-headers-2.6.18-6-xen-vserver-686
> linux-image-2.6.18-6-xen-vserver-686
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following packages are BROKEN:
> linux-headers-2.6.18-6-all-i386
> The following packages have been kept back:
> libquicktime0
> The following packages will be REMOVED:
> linux-headers-2.6.18-6-xen-vserver-686
> 0 packages upgraded, 0 newly installed, 1 to remove and 1 not
> upgraded. Need to get 0B of archives. After unpacking 8040kB will be
> freed. The following packages have unmet dependencies:
> linux-headers-2.6.18-6-all-i386: Depends:
> linux-headers-2.6.18-6-xen-vserver-686 (= 2.6.18.dfsg.1-18etch1) but
> it is not installable
> Resolving dependencies...
> The following actions will resolve these dependencies:
>
> Remove the following packages:
> linux-headers-2.6.18-6-all-i386
>
> Score is 119
>
> Accept this solution? [Y/n/q/?] n
> Resolving dependencies...
>
> *** No more solutions available ***
>
> The following actions will resolve these dependencies:
>
> Remove the following packages:
> linux-headers-2.6.18-6-all-i386
> -----------------------------------------
>
> now what.
well, you normally only need the linux-headers package corresponding to
the linux-image package you have installed. You can remove the rest.
The linux-headers-*all* package simply exists to pull in all the other
header packages. You'll need to remove that as well, to remove any
other header package.
--
Kushal
Reply to: