some problems in using grml-live

Hi. I want to make a grml cd with some kernel changes and adding some packages. Now, I am using a system based on Jessie, but I want to build based on sid. I tried to install the linux-header package, but it would not install saying it needed kbuild4.1 which cannot be installed. Also, I tried to install the linux-source-4.1 package, but ehe .xz file is broken (unrecognized file format) when using tar Jxvf .
How to solve these problems?
Thanks in advance for any suggestions.

hi! please have you already see this grml blog with related information about new versions [1]
[1] http://blog.grml.org/archives/255-grml-live-create-your-own-grml-ISO.html
2016-01-15 17:57 GMT-02:00 covici@ccs.covici.com:
Hi. I want to make a grml cd with some kernel changes and adding some packages. Now, I am using a system based on Jessie, but I want to build based on sid. I tried to install the linux-header package, but it would not install saying it needed kbuild4.1 which cannot be installed. Also, I tried to install the linux-source-4.1 package, but ehe .xz file is broken (unrecognized file format) when using tar Jxvf .
How to solve these problems?
Thanks in advance for any suggestions.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
Grml mailing list - Grml@ml.grml.org http://ml.grml.org/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://blog.grml.org/

I have seen similar posts and read the documentation. But as to my original questions -- can I build a sid based version on a jessie box? Also, can you fix the linux-source-4.1 package and explain to me how to install the linux-headers package which will not install?
Thanks.
gilberto dos santos alves gsavix@gmail.com wrote:
hi! please have you already see this grml blog with related information about new versions [1]
[1] http://blog.grml.org/archives/255-grml-live-create-your-own-grml-ISO.html
2016-01-15 17:57 GMT-02:00 covici@ccs.covici.com:
Hi. I want to make a grml cd with some kernel changes and adding some packages. Now, I am using a system based on Jessie, but I want to build based on sid. I tried to install the linux-header package, but it would not install saying it needed kbuild4.1 which cannot be installed. Also, I tried to install the linux-source-4.1 package, but ehe .xz file is broken (unrecognized file format) when using tar Jxvf .
How to solve these problems?
Thanks in advance for any suggestions.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
Grml mailing list - Grml@ml.grml.org http://ml.grml.org/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://blog.grml.org/
-- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil
Alternatives:

* covici@ccs.covici.com [Sat Jan 16, 2016 at 05:37:21PM -0500]:
I have seen similar posts and read the documentation. But as to my original questions -- can I build a sid based version on a jessie box?
Basically yes, our daily ISOs (http://daily.grml.org/) are also generated on a Debian/jessie system. Though sid AKA unstable might be broken from time to time (that's the nature of it and why it's called unstable) and you should be familiar with unstable to work with it. I'd recommend usage of stable or testing if possible.
Also, can you fix the linux-source-4.1 package and explain to me how to install the linux-headers package which will not install?
I've no idea what's your problem with linux-source-4.1 and the linux-headers package. :) Please cite the exact error message as a starting point.
PS: Please avoid top-posting + full-quotes
regards, -mika-

Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Sat Jan 16, 2016 at 05:37:21PM -0500]:
I have seen similar posts and read the documentation. But as to my original questions -- can I build a sid based version on a jessie box?
Basically yes, our daily ISOs (http://daily.grml.org/) are also generated on a Debian/jessie system. Though sid AKA unstable might be broken from time to time (that's the nature of it and why it's called unstable) and you should be familiar with unstable to work with it. I'd recommend usage of stable or testing if possible.
Also, can you fix the linux-source-4.1 package and explain to me how to install the linux-headers package which will not install?
I've no idea what's your problem with linux-source-4.1 and the linux-headers package. :) Please cite the exact error message as a starting point.
When I install the linux-source-4.1 package using your repository, I get a tar.xz file and when I try to unpack it, I get the message file format unrecognized. This would lead to the conclusion that the package is broken.

* covici@ccs.covici.com [Mon Jan 18, 2016 at 03:51:40AM -0500]:
Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Sat Jan 16, 2016 at 05:37:21PM -0500]:
Also, can you fix the linux-source-4.1 package and explain to me how to install the linux-headers package which will not install?
I've no idea what's your problem with linux-source-4.1 and the linux-headers package. :) Please cite the exact error message as a starting point.
When I install the linux-source-4.1 package using your repository, I get a tar.xz file and when I try to unpack it, I get the message file format unrecognized. This would lead to the conclusion that the package is broken.
Since you don't post your exact command line I'm assuming you're missing xz-utils being installed to have proper xz support?
regards, -mika-

Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Mon Jan 18, 2016 at 03:51:40AM -0500]:
Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Sat Jan 16, 2016 at 05:37:21PM -0500]:
Also, can you fix the linux-source-4.1 package and explain to me how to install the linux-headers package which will not install?
I've no idea what's your problem with linux-source-4.1 and the linux-headers package. :) Please cite the exact error message as a starting point.
When I install the linux-source-4.1 package using your repository, I get a tar.xz file and when I try to unpack it, I get the message file format unrecognized. This would lead to the conclusion that the package is broken.
Since you don't post your exact command line I'm assuming you're missing xz-utils being installed to have proper xz support?
regards, -mika- _______________________________________________ Grml mailing list - Grml@ml.grml.org http://ml.grml.org/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://blog.grml.org/
Its the xz partwhich did not recognize the file system. I did tar Jxvf on the file and tried just with xz -d with same result. Can you check it yourself?
Thanks.

* covici@ccs.covici.com [Mon Jan 18, 2016 at 07:53:11AM -0500]:
Michael Prokop mika@grml.org wrote:
Since you don't post your exact command line I'm assuming you're missing xz-utils being installed to have proper xz support?
Its the xz partwhich did not recognize the file system. I did tar Jxvf on the file and tried just with xz -d with same result. Can you check it yourself?
Works fine for me:
% wget http://deb.grml.org/pool/main/l/linux/linux_4.1.7.orig.tar.xz % tar atf linux_4.1.7.orig.tar.xz | tail -5 linux-4.1.7/virt/kvm/eventfd.c linux-4.1.7/virt/kvm/irqchip.c linux-4.1.7/virt/kvm/kvm_main.c linux-4.1.7/virt/kvm/vfio.c linux-4.1.7/virt/kvm/vfio.h tar atf linux_4.1.7.orig.tar.xz 6.36s user 0.41s system 108% cpu 6.248 total tail -5 0.03s user 0.23s system 4% cpu 6.248 total
regards, -mika-

Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Mon Jan 18, 2016 at 07:53:11AM -0500]:
Michael Prokop mika@grml.org wrote:
Since you don't post your exact command line I'm assuming you're missing xz-utils being installed to have proper xz support?
Its the xz partwhich did not recognize the file system. I did tar Jxvf on the file and tried just with xz -d with same result. Can you check it yourself?
Works fine for me:
% wget http://deb.grml.org/pool/main/l/linux/linux_4.1.7.orig.tar.xz % tar atf linux_4.1.7.orig.tar.xz | tail -5 linux-4.1.7/virt/kvm/eventfd.c linux-4.1.7/virt/kvm/irqchip.c linux-4.1.7/virt/kvm/kvm_main.c linux-4.1.7/virt/kvm/vfio.c linux-4.1.7/virt/kvm/vfio.h tar atf linux_4.1.7.orig.tar.xz 6.36s user 0.41s system 108% cpu 6.248 total tail -5 0.03s user 0.23s system 4% cpu 6.248 total
But that was not the one I tried to install -- I tried to install by doing apt-get install linux-source-4.1 tar Jxvf linux-source-4.1.tar.xz and this gave me a broken file.

* covici@ccs.covici.com [Mon Jan 18, 2016 at 10:24:01AM -0500]:
But that was not the one I tried to install -- I tried to install by doing apt-get install linux-source-4.1 tar Jxvf linux-source-4.1.tar.xz and this gave me a broken file.
# apt-get install linux-source-4.1 # cd /usr/src # file linux-source-4.1.tar.xz linux-source-4.1.tar.xz: POSIX tar archive (GNU) # tar atf linux-source-4.1.tar.xz | tail -5 linux-source-4.1/virt/kvm/eventfd.c linux-source-4.1/virt/kvm/irqchip.c linux-source-4.1/virt/kvm/kvm_main.c linux-source-4.1/virt/kvm/vfio.c linux-source-4.1/virt/kvm/vfio.h
So don't add the "J" option to the tar command line and it will work just fine.
regards, -mika-

Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Mon Jan 18, 2016 at 10:24:01AM -0500]:
But that was not the one I tried to install -- I tried to install by doing apt-get install linux-source-4.1 tar Jxvf linux-source-4.1.tar.xz and this gave me a broken file.
# apt-get install linux-source-4.1 # cd /usr/src # file linux-source-4.1.tar.xz linux-source-4.1.tar.xz: POSIX tar archive (GNU) # tar atf linux-source-4.1.tar.xz | tail -5 linux-source-4.1/virt/kvm/eventfd.c linux-source-4.1/virt/kvm/irqchip.c linux-source-4.1/virt/kvm/kvm_main.c linux-source-4.1/virt/kvm/vfio.c linux-source-4.1/virt/kvm/vfio.h
So don't add the "J" option to the tar command line and it will work just fine.
OK, very unusual, but I will certainly try that -- thanks.

OK, thanks -- that indeed did work, although I don't quite understand why.
Thanks again.
Michael Prokop mika@grml.org wrote:
- covici@ccs.covici.com [Mon Jan 18, 2016 at 10:24:01AM -0500]:
But that was not the one I tried to install -- I tried to install by doing apt-get install linux-source-4.1 tar Jxvf linux-source-4.1.tar.xz and this gave me a broken file.
# apt-get install linux-source-4.1 # cd /usr/src # file linux-source-4.1.tar.xz linux-source-4.1.tar.xz: POSIX tar archive (GNU) # tar atf linux-source-4.1.tar.xz | tail -5 linux-source-4.1/virt/kvm/eventfd.c linux-source-4.1/virt/kvm/irqchip.c linux-source-4.1/virt/kvm/kvm_main.c linux-source-4.1/virt/kvm/vfio.c linux-source-4.1/virt/kvm/vfio.h
So don't add the "J" option to the tar command line and it will work just fine.
regards, -mika- _______________________________________________ Grml mailing list - Grml@ml.grml.org http://ml.grml.org/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://blog.grml.org/

* covici@ccs.covici.com [Tue Jan 19, 2016 at 03:42:42PM -0500]:
Michael Prokop mika@grml.org wrote:
# apt-get install linux-source-4.1 # cd /usr/src # file linux-source-4.1.tar.xz linux-source-4.1.tar.xz: POSIX tar archive (GNU) # tar atf linux-source-4.1.tar.xz | tail -5 linux-source-4.1/virt/kvm/eventfd.c linux-source-4.1/virt/kvm/irqchip.c linux-source-4.1/virt/kvm/kvm_main.c linux-source-4.1/virt/kvm/vfio.c linux-source-4.1/virt/kvm/vfio.h
So don't add the "J" option to the tar command line and it will work just fine.
OK, thanks -- that indeed did work, although I don't quite understand why.
Because as stated above in:
# file linux-source-4.1.tar.xz linux-source-4.1.tar.xz: POSIX tar archive (GNU)
it's a plain tar file and not further compressed, so the file extension is misleading.
(I don't know why that's actually the case, I'll try to keep an eye on it for our next kernel build.)
regards, -mika-
Teilnehmer (3)
-
covici@ccs.covici.com
-
gilberto dos santos alves
-
Michael Prokop