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

Bug#814648: linux kernel backports broken



Hello,

On 05/31/2016 10:15 PM, Antoine Beaupré wrote:
> On 2016-05-31 16:01:46, Hector Oron wrote:
>> Hello,
>>
>> El 31 may. 2016 9:56 p. m., "Antoine Beaupré" <anarcat@debian.org> escribió:
>>
>>> Hi,
>>>
>>> I still see this problem in debian jessie right now. I can't install the
>>> linux kernel backport.
>>>
>>> cp: impossible d'évaluer « /boot/initrd.img-4.5.0-0.bpo.2-amd64 »: Aucun
>> fichier ou dossier de ce type
>>>
>>> The initrd is simply not in the .deb:
>>
>> Initramfs binary is usually generated by a hook that calls an initramfs
>> generator, from Debian, there is initramfs-tools or dracut.
> 
> I see. Well, that doesn't seem to be working correctly.
> 
> [1017]anarcat@angela:dist100$ sudo apt-get install
> [sudo] password for anarcat: 
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Setting up linux-image-4.5.0-0.bpo.2-amd64 (4.5.4-1~bpo8+1) ...
> vmlinuz(/boot/vmlinuz-4.5.0-0.bpo.2-amd64
> ) points to /boot/vmlinuz-4.5.0-0.bpo.2-amd64
>  (/boot/vmlinuz-4.5.0-0.bpo.2-amd64) -- doing nothing at /var/lib/dpkg/info/linux-image-4.5.0-0.bpo.2-amd64.postinst line 256.
> cp: cannot stat '/boot/initrd.img-4.5.0-0.bpo.2-amd64': No such file or directory
> Failed to copy /boot/initrd.img-4.5.0-0.bpo.2-amd64 to /initrd.img .
> dpkg: error processing package linux-image-4.5.0-0.bpo.2-amd64 (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  linux-image-4.5.0-0.bpo.2-amd64
> needrestart is being skipped since dpkg has failed
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> iirc, there were problems with incompatible initramfs-tools in
> backports, and that was solved (in wheezy) by backporting
> initramfs-tools.
> 
> is that what is required here?

So I just tried this on my system (I actually just did an apt-get upgrade,
because I also run a backports kernel on my desktop, also amd64), and it
worked just fine here.

Are initramfs-tools installed? (dpkg -l initramfs-tools)
If so, could you do the following:

update-initramfs -k all -u

Does that work or give you an error?

How much space do you have left on your /boot partition?

As for your other problem:

> dpkg-deb: error: parsing file '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy/DEBIAN/control' near line 8 package 'pbuilder-satisfydepends-dummy':
>  `Depends' field, syntax error after reference to package `cpio'

This is not an issue with the package build, but with pbuilder (and by
extension) cowbuilder only supprt the build profile syntax with
0.215+nmu4, whereas Jessie only has 0.215+nmu3. So if you either use
pbuilder from testing/sid, or manually install the required build
dependencies on your host system, you can indeed build the package on
a pure jessie + jessie-backports system. (Probably, takes a long time,
I haven't actually tried.)

Regards,
Christian

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: