27.12.2011 04:27, Wanlong Gao пишет:
On 12/26/2011 09:23 PM, Syndicut wrote:
> 23.12.2011 18:00, Richard W.M. Jones пишет:
>> Anyway, I think you need to compile from source on your machine (also
>> a good reason because 1.13.11 is old, and has at least one known
>> security issue and many known bugs).
>>
>> Just download the latest stable or development tarball, unpack it, and
>> do:
>>
>> ./configure # check this succeeds
>> debuild -i -uc -us -b
> I've get the following weird error:
>
> febootstrap: aptitude: error: no file was downloaded corresponding to
> package linux-image-2.6.32-37-generic
> make[3]: *** [stamp-supermin] Error 1
> make[3]: Leaving directory
> `/root/libguestfs/src/libguestfs-1.14.8/appliance'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/libguestfs/src/libguestfs-1.14.8'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1340:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
>
> That what aptitude says when trying to download (although that package
> is normally installed):
>
> # aptitude download linux-image-2.6.32-37-generic
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Unable to find an archive "lucid" for the package
> "linux-image-2.6.32-37-generic"
I think there's something wrong with your aptitude config or source.list.
It seems that the aptitude selected the package 2.6.32-37, but you can't
download it from the source.
Thanks
-Wanlong Gao
Yep, I had default release set to lucid, and this kernel was in
lucid-updates. I fixed that issue with aptitude but I still have kernel
panic (because of not finding /init).