You are not logged in.

#1 2019-12-15 22:34:43

Vinceletor
Member
Registered: 2019-12-15
Posts: 5

Pacstrap not working on installation

I use Arch since 2 years on my PC and i'm trying to install it again but this time on my 2013 Macbook Air.

Partitionning and mounting works fine.
I updated my mirrorlist with https://www.archlinux.org/mirrorlist/?c … _status=on

But when i do "pacstrap /mnt base linux" i got the following logs  http://termbin.com/fc44

I tried pacman -Syy, it runs as expected but it doesn't fix the error.
pacman -Syyu return the same log than pacstrap


fdisk -l returns this (sdb2 is my MacOS partition and sdb3 is formatted in ext4)

Disk /dev/sdb: 113 GiB, 121332826112 bytes, 236978176 sectors
Disk model: APPLE SSD SM128E
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7372F6C8-737F-4216-BC8A-D73B6DFB2E51

Device         Start       End   Sectors  Size Type
/dev/sdb1         40    409639    409600  200M EFI System
/dev/sdb2     409640 158814359 158404720 75.5G unknown
/dev/sdb3  158816256 236976127  78159872 37.3G Microsoft basic data


Disk /dev/sda: 3.79 GiB, 4051697664 bytes, 7913472 sectors
Disk model: Flash DISK      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4097da9b

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1  *        0 1308671 1308672  639M  0 Empty
/dev/sda2         164  131235  131072   64M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 524.49 MiB, 549953536 bytes, 1074128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I searched a lots of forum and topic posts but nothing helped me.
Thanks in advance, i can give any other information needed of course.

Last edited by Vinceletor (2019-12-15 23:24:46)

Offline

#2 2019-12-15 23:43:35

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 630

Re: Pacstrap not working on installation

I don't know, but if that's what your using for a mirrorlist you might try uncommenting a server or three.

Offline

#3 2019-12-15 23:47:48

Vinceletor
Member
Registered: 2019-12-15
Posts: 5

Re: Pacstrap not working on installation

Of course i uncommented the 5 tops one, i also added manually good ranked mirrors but it didn't changed anything

Offline

#4 2019-12-16 00:00:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Pacstrap not working on installation

what does `file /mnt/var/lib/pacman/sync/core.db` tell you? If it's text, check it in an editor.

Offline

#5 2019-12-16 10:51:08

Vinceletor
Member
Registered: 2019-12-15
Posts: 5

Re: Pacstrap not working on installation

I retried from the beginning

now "pacstrap /mnt base" give

==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
error: could not read db 'core' (Damaged tar archive)
error: extra database is inconsistent: version mismatch on package ffnvcodec-headers
error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'core' (Damaged tar archive)
error: extra database is inconsistent: version mismatch on package ffnvcodec-headers
error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'core' (Damaged tar archive)
error: extra database is inconsistent: version mismatch on package ffnvcodec-headers
error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: target not found: base
 core is up to date
 extra is up to date
 community is up to date
==> ERROR: Failed to install packages to new root


the file command on core.db returns

/mnt/var/lib/pacman/sync/core.db: gzip compressed data, last modified: Sun Dec 15 21:06:40 2019, from Unix, original size modulo 2^32 531456

on extra.db

/mnt/var/lib/pacman/sync/extra.db: gzip compressed data, last modified: Mon Dec 16 08:42:49 2019, from Unix, original size modulo 2^32 6792704

"pacman -Syy --debug"   http://termbin.com/a5bb

/etc/pacman.d/mirrorlist   http://termbin.com/r2lc


Thanks of a lot for taking the time to help me.

Last edited by Vinceletor (2019-12-16 11:43:48)

Offline

#6 2019-12-16 12:04:11

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Pacstrap not working on installation

/dev/sdb3  158816256 236976127  78159872 37.3G Microsoft basic data

Are you sure that partition has an ext4 filesystem ?
post lsblk -f .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2019-12-16 12:08:53

Vinceletor
Member
Registered: 2019-12-15
Posts: 5

Re: Pacstrap not working on installation

NAME   FSTYPE   LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0  squashfs                                                        0   100% /run/archiso/sfs/airootfs
sda                                                                             
├─sda1 vfat     EFI         67E3-17ED                             168.9M    14% /mnt/boot/efi
├─sda2 apfs                 f479b53f-0771-4ded-81a1-c65f7b4c6373                
└─sda3 ext4                 009d45ac-bd98-4ac1-830b-879fba29e88f   34.5G     0% /mnt
sdb    iso9660  ARCH_201912 2019-12-01-09-07-07-00                              
├─sdb1 iso9660  ARCH_201912 2019-12-01-09-07-07-00                     0   100% /run/archiso/bootmnt
└─sdb2 vfat     ARCHISO_EFI 2860-9782                                                  

pacman -S vim

error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: could not read db 'extra' (Damaged tar archive)
error: could not read db 'community' (Damaged tar archive)
error: target not found: vim

it's the same error for every package

pacman -S --debug vim   http://termbin.com/sgvb

Last edited by Vinceletor (2019-12-16 12:17:27)

Offline

#8 2019-12-16 15:27:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Pacstrap not working on installation

So now core is fine but the others are damaged? Have you tried different mirrors? Is your connection stable at all?

Offline

#9 2019-12-16 16:02:18

Vinceletor
Member
Registered: 2019-12-15
Posts: 5

Re: Pacstrap not working on installation

Core is damaged too if i try to install base or linux

I tried 5-10 mirrors from france and UK, nothing changes.

I can ping and send data to pastebin.
I'm using an ethernet wire with a thunderbolt adapter.

"ip address show"

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 28:cf:e9:48:f9:ed brd ff:ff:ff:ff:ff:ff
4: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:6c:8f:4a:2e:04 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.23/24 brd 192.168.1.255 scope global dynamic noprefixroute ens9
       valid_lft 25788sec preferred_lft 20388sec
    inet6 2a01:e34:ec1e:6410:e652:f11f:4d0e:e5a0/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 86291sec preferred_lft 86291sec
    inet6 fe80::72ca:5e56:f793:1d1f/64 scope link 
       valid_lft forever preferred_lft forever

Last edited by Vinceletor (2019-12-16 16:02:42)

Offline

Board footer

Powered by FluxBB