CTKArch · Forums
You are not logged in. Please Register or Login.  |  Search
Posted: Apr 24, 2011 10:39:31 am
nohype
icon



The command
Quote:

#  mkarchiso -p "$(cat packages.list)" create traitement
...
error: target not found: repacman



needs the package 'repacman' which isn't on archlinux.fr anymore.

Question: can repacman be omitted from packages.list?
Posted: Apr 25, 2011 1:20:07 pm
Calimero
icon



Just remove it, yes.
Posted: Apr 30, 2011 4:24:43 pm
nohype
icon



I am stuck. I work from a fresh chroot-environment which I got directly from unsquashing ROOT_IMAGE.SQFS of the ctkarchlive-0.7-i686.iso image.
In this "natural" chroot environment I did proceed exactly as described in the README of 0.7-src, up to the command:
Quote:
[root@ctkarch ctkarch-0.7-src]# mkarchiso -p "archlinuxfr/libfm" create traitement


which fails (also after removing "repacman" from "packages.list").
Because I don't understand mkarchiso I don't know how to get the new stumbling blocks out of the way.

These are (from packages.list):

1) "archlinuxfr/libfm"
For isolating the problem I tried
Quote:
[root@ctkarch ctkarch-0.7-src]# mkarchiso -p "archlinuxfr/libfm" create traitement
mkarchiso : Configuration Settings
        working directory:  traitement
              image name:  none
====> Creating working directory: traitement
====> Installing packages to 'traitement/root-image/'
error: target not found: libfm



2) "archlinuxfr/fbpanel"
Testing the above command with the 1-element-list of "archlinuxfr/fbpanel" results in an analogous error.

For further analysis I tried
Quote:
[root@ctkarch ctkarch-0.7-src]# pacman -Syu
:: Synchronizing package databases...
core                            37.4K  58.7K/s 00:00:01 [##############################] 100%
extra                          470.7K  142.3K/s 00:00:03 [##############################] 100%
community                      437.4K  149.4K/s 00:00:03 [##############################] 100%
archlinuxfr                    28.1K  223.4K/s 00:00:00 [##############################] 100%
:: Starting full system upgrade...
warning: fbpanel: local (6.1.507svn-2) is newer than community (6.1-2)
warning: libfm: local (0.1.14-5) is newer than extra (0.1.14-4)
resolving dependencies...
warning: cannot resolve "yajl>=2.0", a dependency of "package-query"
:: The following package cannot be upgraded due to unresolvable dependencies:
      package-query

Do you want to skip the above package for this upgrade? [y/N] ^C
Interrupt signal received



From this I conclude that the special versions of "archlinuxfr/libfm" and "archlinuxfr/fbpanel" are essential.
But how to correct these failures?
Posted: May 03, 2011 8:43:17 pm
Calimero
icon



You could also have prepared your chroot using mkarchroot or the script /install/install-chroot.sh that I wrote, provided in the livecd.

The problem there is that the default mirror for the official repositories is frozen, but not the mirror for the archlinuxfr repository.

Just comment out the arm.konnichi line from /etc/pacman.d/mirrorlist.
It's better to generate an up-to-date livecd anyway, isn't it?
Posted: May 05, 2011 8:01:28 pm
nohype
icon



Quote: Calimero at May 03, 2011 8:43:17 pm
You could also have prepared your chroot using mkarchroot or the script /install/install-chroot.sh that I wrote, provided in the livecd.
The problem there is that the default mirror for the official repositories is frozen, but not the mirror for the archlinuxfr repository.

Just comment out the arm.konnichi line from /etc/pacman.d/mirrorlist.
It's better to generate an up-to-date livecd anyway, isn't it?


Working from my HDD-installation of CTKarch-0.7 (kernel 2.6.37-ARCH) I tried now to create an ISO-image with an outcommented server-line for http://arm.konnichi.com in /etc/pacman.d/mirrorlist.
By this a new problem now arises because in the chroot-environment a newer kernel-version is installed than is used. The installed kernel-modules are under /lib/modules/2.6.38-ARCH. ... not under /lib/modules/2.6.37-ARCH/ as required by both of the commands:
Quote:

[root@ctkarch ctkarch-0.7-src]# mkinitcpio -c "$(pwd)"/mkinitcpio.conf -b "traitement/root-image" -k `uname -r` -g "traitement/iso/boot/archiso.img"
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [archiso]
find: `traitement/root-image/lib/modules/2.6.37-ARCH': No such file or directory
ERROR: module 'cdrom' not found
...



N.B. replacing '`uname -r`' by '2.6.38-ARCH' doesn't help.
Quote:

[root@ctkarch ctkarch-0.7-src]# mkarchiso -D "" -L CTKArch7a -P "http://ctkarch.org/" -A "CTKArch Live" -v  iso traitement ctkarchlive-0.7a-`arch|sed s/86_//`.iso
mkarchiso : Configuration Settings
        working directory:  traitement
              image name:  ctkarchlive-0.7a-i686.iso
====> Generating SquashFS image for 'traitement/root-image'
Creating SquashFS image. This may take some time...
Cannot stat sortlist entry "1302"
This is probably because you're using the wrong file
path relative to the source directories
Cannot stat sortlist entry "lib/modules/2.6.37-ARCH/modules.dep.bin"
This is probably because you're using the wrong file
path relative to the source directories
...



I guess that the (wrong) path to the kernel-modules which is actually used in both of the above commands is derived from the running kernel which is 2.6.37-ARCH.
Posted: May 06, 2011 9:33:51 pm
Calimero
icon



What, it doesn't help? It does! Can't you see that it works? (apart from a few warnings due to name changes)

Just change all occurences of 2.6.37 to 2.6.38 in priorities.list of course, so that the files are ordered correctly. (to speed up the boot when using a CD)
But even without doing anything else, it works, there.
Powered by myUPB v2.2.7  ·   Creative Commons License PHP Outburst