lkml.org 
[lkml]   [2023]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectBug in recent changes to builddeb
Date
Looks like there's a bug in /scripts/package/builddeb. On lines 188, 197 
and 198, the variable $version is used. However, it's not defined
(removed with recent changes).

This causes the headers to be put into /usr/src/linux-headers-. When the
next version is attempted to be installed, the following error occurs.

$ sudo dpkg -i linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb
Selecting previously unselected package linux-headers-6.3.0-rc4.
(Reading database ... 376925 files and directories currently installed.)
Preparing to unpack linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb ...
Unpacking linux-headers-6.3.0-rc4 (6.3.0-rc4-2) ...
dpkg: error processing archive
linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb (--install):
 trying to overwrite '/usr/src/linux-headers-/.config', which is also
in package linux-headers-6.3.0-rc3 6.3.0-rc3-4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb

\
 
 \ /
  Last update: 2023-03-27 22:56    [W:0.047 / U:3.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site