[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitute became non-working after installation of manual-compiled .deb Linux kernel



[ Please stop top-posting. ]

On Sat, Jan 12, 2008 at 17:47:08 +0300, Ebanutiy Ebanatik Ebanatovich wrote:
> On Jan 12, 2008 5:26 PM, Florian Kulzer wrote:
> > On Sat, Jan 12, 2008 at 16:57:04 +0300, Ebanutiy Ebanatik Ebanatovich wrote:
> > > On Jan 12, 2008 1:36 PM, Florian Kulzer wrote:
> > > > On Fri, Jan 11, 2008 at 03:17:10 +0300, Ebanutiy Ebanatik Ebanatovich wrote:
> > > > > I compiled Linux kernel package using make-kpkg --initrd
> > > > > --revision=bitobor.1.1 kernel_image.
> > > > > Then I succesfully installed it
> > > > > (/usr/src/linux-image-2.6.23_bitobor.1.1_amd64.deb)
> > > > > After that, synaptic & aptitude safe-upgrade became non-working:
> > > > >
> > > > > E: I wasn't able to locate file for the linux-image-2.6.23 package.
> > > > > This might mean you need to manually fix this package.
> >
> > [...]
> >
> > > > How did you install your custom kernel image? (We need to know the exact
> > > > command.)
> > >
> > > dpkg -i /usr/src/linux-image-2.6.23_bitobor.1.1_amd64.deb
> > >
> > > > Were there any error messages or warnings?
> > > No
> >
> > That is strange; the dpkg status below indicates "half-installed", so
> > something must have gone wrong.
> >
> > > > What is the output of this command:
> > > > dpkg -l linux-image\* | awk '/^[^D|+]/{print $1,$2,$3}'
> > >
> > > un linux-image <none>
> > > un linux-image-2.6 <none>
> > > pn linux-image-2.6-amd64 <none>
> > > ii linux-image-2.6.18-5-amd64 2.6.18.dfsg.1-13
> > > ii linux-image-2.6.22-2-amd64 2.6.22-4
> > > iH linux-image-2.6.23 bitobor.1.1
> >
> > What do you get when you run:
> >
> > ls -l /boot/ /lib/modules/
> >
> > dpkg -D73 --configure linux-image-2.6.23
>
> xxx:/home/xxx# ls -l /boot/ /lib/modules/
> /boot/:
> total 15845
> -rw-r--r-- 1 root root   73188 2008-01-03 21:34 config-2.6.22-2-amd64
> -rw-r--r-- 1 root root   68625 2008-01-04 08:52 config-2.6.23
> drwxr-xr-x 2 root root    1024 2008-01-12 16:54 grub
> -rw-r--r-- 1 root root 5662697 2008-01-02 09:56 initrd.img-2.6.22-2-amd64
> -rw-r--r-- 1 root root 5221357 2008-01-04 20:01 initrd.img-2.6.23
> -rw-r--r-- 1 root root 1070698 2007-08-31 04:26 System.map-2.6.22-2-amd64
> -rw-r--r-- 1 root root 1047087 2008-01-04 09:25 System.map-2.6.23
> -rw-r--r-- 1 root root 1555816 2007-08-31 04:26 vmlinuz-2.6.22-2-amd64
> -rw-r--r-- 1 root root 1448376 2008-01-04 09:25 vmlinuz-2.6.23
> 
> /lib/modules/:
> total 2
> drwxr-xr-x 3 root root 1024 2007-10-05 08:54 2.6.22-2-amd64
> drwxr-xr-x 3 root root 1024 2008-01-04 20:00 2.6.23

Where are the files and directories of linux-image-2.6.18-5-amd64? (Dpkg
thinks this package is still installed on your system.) Did you yourself
delete these files and directories? If not then it might be a good idea
to fsck your root file system.

> xxx:/home/xxx# dpkg -D73 --configure linux-image-2.6.23
> dpkg: error processing linux-image-2.6.23 (--configure):
>  package linux-image-2.6.23 is not ready for configuration
>  cannot configure (current status `half-installed')
> Errors were encountered while processing:
>  linux-image-2.6.23

What happens if you try to install your package again?

dpkg -D73 -i /usr/src/linux-image-2.6.23_bitobor.1.1_amd64.deb

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: