Discussion:
[Grml] "unknown packages are removed from the installation list" ?
洪朝貴
2018-01-26 07:55:18 UTC
Permalink
Hi,

I am trying to build a customized grml live CD.

I used kvm to boot grml32-small_2017.05.iso
and mounted a data partition at /media/sda in the VM.
On that partition there is also a copy of the iso.
Then I created /etc/grml/grml-live.local according to grml-live.conf
and created /etc/grml/fai/config/package_config/GREG
listing additional packages to install. To make things smoother,
I chose SUITE="stretch". Finally I did:
time grml-live -V -u -e /media/sda/grml32-small_2017.05.iso
Please see the attached etc.tgz and typescript.gz .

The strange thing is: the additional packages are NOT installed.
In the typescript file you can find:
<quote>
Maximum number of packages installed at a time set to 3000
install_packages: reading config files from directory
//etc/grml/fai/config/package_config
install_packages: read config file GRMLBASE
install_packages: read config file GRML_SMALL
install_packages: read config file GREG
install_packages: executing chroot /media/sda/grml_chroot apt-get clean
WARNING: These unknown packages are removed from the installation
list: apt-transport-https busybox bzip2 console-data dbus deborphan
dmidecode eject file gpm grml2usb grml-autoconfig ...
</quote>

So /usr/sbin/install_packages did apt-get clean right before
installing packages and therefore was unable to add any extra packages?
Did I do something wrong? Thanks for enlightening me in advance!

--
『我的野蠻工讀生』甚高昂的『䞋賊船的代價』
綁架了我的文件! (請分別搜尋)
Chao-Kuei Hung 措朝貎

PGP Key ID: 4096R/5828A7A7
Fingerprint: 67AF B5AB 5242 3E99 16D7 EAF8 A94D 2C92 5828 A7A7
洪朝貴
2018-01-26 13:19:01 UTC
Permalink
Thank you, mika!
But It looks quite normal to me:


***@grml ~ # chroot /media/sda/grml_chroot :(
***@grml / # apt update; apt-cache policy syslinux ; apt install syslinux
Ign:1 http://ftp.debian.org/debian stretch InRelease
Get:2 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:3 http://deb.grml.org grml-live InRelease [5,551 B]
Get:4 http://deb.grml.org grml-stable InRelease [8,558 B]
Hit:5 http://ftp.debian.org/debian stretch Release
Get:6 http://deb.grml.org grml-testing InRelease [13.1 kB]
Get:8 http://ftp.debian.org/debian stretch-backports/main i386 Packages [248 kB]
Get:9 http://security.debian.org stretch/updates InRelease [63.0 kB]
Get:10 http://ftp.debian.org/debian stretch-backports/contrib i386
Packages [5,764 B]
Get:11 http://security.debian.org stretch/updates/main Sources [108 kB]
Get:12 http://security.debian.org stretch/updates/main i386 Packages [271 kB]
Fetched 814 kB in 4s (178 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
syslinux:
Installed: 3:6.03+dfsg-14.1+deb9u1
Candidate: 3:6.03+dfsg-14.1+deb9u1
Version table:
*** 3:6.03+dfsg-14.1+deb9u1 500
500 http://ftp.debian.org/debian stretch/main i386 Packages
100 /var/lib/dpkg/status
Reading package lists... Done
Building dependency tree
Reading state information... Done
syslinux is already the newest version (3:6.03+dfsg-14.1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


--
『我的野蠻工讀生』用高昂的『下賊船的代價』
綁架了我的文件! (請分別搜尋)
Chao-Kuei Hung 洪朝貴

PGP Key ID: 4096R/5828A7A7
Fingerprint: 67AF B5AB 5242 3E99 16D7 EAF8 A94D 2C92 5828 A7A7
Post by 洪朝貴
I am trying to build a customized grml live CD.
I used kvm to boot grml32-small_2017.05.iso
and mounted a data partition at /media/sda in the VM.
On that partition there is also a copy of the iso.
Then I created /etc/grml/grml-live.local according to grml-live.conf
and created /etc/grml/fai/config/package_config/GREG
listing additional packages to install. To make things smoother,
time grml-live -V -u -e /media/sda/grml32-small_2017.05.iso
Please see the attached etc.tgz and typescript.gz .
The strange thing is: the additional packages are NOT installed.
[...]
Post by 洪朝貴
So /usr/sbin/install_packages did apt-get clean right before
installing packages and therefore was unable to add any extra packages?
Did I do something wrong? Thanks for enlightening me in advance!
Usually this means that something with either the Debian repository
or the package dependencies is wrong.
When you switch into the chroot manually ("chroot
/media/sda/grml_chroot") and execute "apt update; apt-cache policy
syslinux ; apt install syslinux" what does this report?
regards,
-mika-
_______________________________________________
http://ml.grml.org/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://blog.grml.org/
_______________________________________________
Grml mailing list - ***@ml.grml.org
http://ml.grml.org/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://blog.grml.or

Loading...