You are not logged in.

#1 2011-03-17 23:10:41

machinecrusade
Member
From: Victoria, Canada
Registered: 2010-09-12
Posts: 11

Arch Linux Installation Framework, pacman preperation failed

short story...
i am running AIF from a live cd.  i have all my packages in /src/core/pkg.  i run 'aif -p interactive',  when i get to the select packages part of the installer, i get this...
Pacman preparation failed!  check tty7,
tty7 says:

[LOG]time and date******Executing worker package_list
::Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from disk : no such file
error: failed to update core
error; failed to sync databases

ok,  i switched to tty2 to find this elusive core.db.tar

find / -name core.db.tar.gz
/var/lib/pacman/core.db.tar.gz

i also have a network and can run pacman -Sy in the live environment,
whats going on here?

the long story...
i used to make backups by running pacman -Sc,  taring my /home,  then copy my tared home and /var/cache/pacman/pkg/ right into the arch core install image.  worst case scenario is to reinstall with no network.  i can use  my "remastered" disk to reinstall,  reboot,  mount the cd it and pacman -U in the dir i copied my cache to.  untar my home and im fresh.

it is very easy and effective,  but i wanted something more cool.

i have made a live cd with xfce and a browser,  some other stuff.  i want to use it as my updated install image.  i am pretty sure  that i will have to write a profile for aif to get my packages from community and extra installed,  but thus far i am stuck at core...

Offline

#2 2011-03-18 00:11:54

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: Arch Linux Installation Framework, pacman preperation failed

machinecrusade wrote:

error: failed retrieving file 'core.db.tar.gz' from disk : no such file

You've got your packages but you need to generate a database for them...
https://wiki.archlinux.org/index.php/Pa … repository

Offline

Board footer

Powered by FluxBB