[arch-releng] Finding packages in the 2011.04.03 iso

Charles Vejnar ce at vejnar.org
Fri Apr 8 15:14:17 EDT 2011


Le 06/04/2011 16:58, Charles Vejnar a écrit :
> Hi,
>
> During an automatic install with the latest iso (2011.04.03), pacman
> complained that /mnt/var/lib/pacman/sync/core.db wasn't there. It seems
> core.db.tar.gz is present in /src/core/pkg/core.db.tar.gz
>
> I have seen on the forum an issue that might be related. So sorry if
> this is already fixed. But is it ?
>
> Thanks
>
> Charles
>
>
>
> In aif.log:
> [LOG] 1999-04-04 16:52:14 *** Executing worker install_packages
> [DEBUG UI ] inform: Refreshing package database...
> [DEBUG UI ] notify: Package installation will begin now. You can watch
> the output in the progress window. Please be patient.
> [DEBUG UI ] notify: Installing... Please Wait
> [DEBUG MISC ] run_controlled done with pacman_installpkg: exitcode
> ($CONTROLLED_EXIT): 1 .Logfile /var/log/aif/pacman.log
> [DEBUG UI ] show_warning 'Installation Failed (see errors below)':
> /var/log/aif/pacman.log (text)
> [DEBUG MAIN ] Execute(): worker_install_packages exit state was 1
>
> In pacman.log:
> error: target not found: could
> error: could not open file /mnt/var/lib/pacman/sync/core.db: Failed to
> open '/mnt/var/lib/pacman/sync/core.db'
>
> Package Installation FAILED.
>
Hi,

As you guys are not very inspired by the problem ;), I am answering it 
my self. But I still need some help.

The installation process stops at the line "$PACMAN_TARGET -Sy >$LOG 
2>&1 || return 1" in lib-pacman.sh. If I try to run manually the 
command, which is "pacman --conf /tmp/pacman.conf", it actually doesn't 
work.
It seems it is failing because the core.db file is missing. If I add a 
link with "ln -s core.db.tar.gz core.db", then it's working again.

I don't know why this link doesn't exists there (it is in the archlinux 
mirror), so probably we have to add it. I need some help there.

And also, it wasn't a problem with pacman 3.4 but it became a problem 
with 3.5.

Charles


More information about the arch-releng mailing list