You are not logged in.

#1 2024-12-22 20:48:26

alexandre01
Member
Registered: 2024-02-19
Posts: 9

unable to complete archlinux installation for a week

I've done a fresh install of archlinux, however, I cannot install gnome and probably networkmanager.
So, it's impossible to install packages, except when I use pacstrap.

Yet I've updated the pacman signatures with pacman-key --refresh-keys && pacman-key --init && pacman-key populate
However, when I try to install gnome and gnome-extra, I get error messages like these:


error : could not open file /var/lib/pacman/sync/download-WQYFuy/core.db.part : permission denied
error: failed to setup a download payload for core.db
error: failed to synchronize all databases (failed to retrieve some files)

I've run out of ideas and can't solve the problem, I need help.
I'm really out of ideas.

Thanks

Offline

#2 2024-12-22 21:05:00

seth
Member
Registered: 2012-09-03
Posts: 60,535

Re: unable to complete archlinux installation for a week

https://archlinux.org/news/manual-inter … -required/

Edit: hold on - that's probably not it.

Nevertheless and wrt https://bbs.archlinux.org/viewtopic.php?id=300666 please post the complete pacman output, not only (some) error lines.

Last edited by seth (2024-12-22 21:09:35)

Offline

#3 2024-12-24 00:37:19

alexandre01
Member
Registered: 2024-02-19
Posts: 9

Re: unable to complete archlinux installation for a week

Thank you for your reply.
Indeed, there is a dependency problem with NetworkManager.

$systemctl list-unit-files --type service --state enabled
[...]

$systemctl status NetworkManager
NetworkManager.service -NetworkManager
Loaded (/usr/lib/systemd/system/NetworkManager.service: enabled preset: disabled)
Active : inactive (dead)
Docs : man:NetworkManager (8)

déc 23 23:27:11 arch-home systemd[1] : dependency failed for NetworkManager
déc 23 23:27:11 arch-home systemd[1] : NetworkManager.service : job NetworkManager.service/start failed with results "dependency"

Offline

#4 2024-12-24 10:03:01

seth
Member
Registered: 2012-09-03
Posts: 60,535

Re: unable to complete archlinux installation for a week

How is that related to the pacman permission error or anything? Do you even use NM?

seth wrote:

post the complete pacman output, not only (some) error lines

Also please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2024-12-26 09:45:13

alexandre01
Member
Registered: 2024-02-19
Posts: 9

Re: unable to complete archlinux installation for a week

seth wrote:

@How is that related to the pacman permission error or anything? Do you even use NM?

Yes, I use NetworkManager. When I type Pacman -Syu for the final installation, Pacman "breaks".

Pacman "breaks", probably related to the root partition because folders and files have root:root right, missing executable bit (+x)  and I assume pacstrap has "full" rights to install packages
Consequently, I must follow  this https://bbs.archlinux.org/viewtopic.php?id=299394

seth wrote:

Nevertheless and wrt https://bbs.archlinux.org/viewtopic.php?id=300666 please post the complete pacman output, not only (some) error lines.

I tried to follow the link on my installation but it doesn't seem to work  and I don't want to install archlinxux again.

seth wrote:

Also please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st

As I don't have internet with archlinux, I got journalctl -b in a file and published it on https://0x0.st/8rlz.txt.

Moreover, I also thought that Archlinux installed a home folder, but this is not the case, or is no longer the case.

Last edited by alexandre01 (2024-12-26 09:46:58)

Offline

#6 2024-12-26 11:21:56

cryptearth
Member
Registered: 2024-02-03
Posts: 1,171

Re: unable to complete archlinux installation for a week

/ owned by 1000

something went seriously wrong
wipe the drive sndxstart over following https://wiki.archlinux.org/title/Installation_guide

Last edited by cryptearth (2024-12-26 11:23:28)

Offline

#7 2024-12-26 13:35:14

alexandre01
Member
Registered: 2024-02-19
Posts: 9

Re: unable to complete archlinux installation for a week

cryptearth wrote:
 / owned by 1000

something went seriously wrong
wipe the drive sndxstart over following https://wiki.archlinux.org/title/Installation_guide

Wiping  the disk has not effect, I always / owned by 1000  when I launch pacstrap.

Perhaps this is due to the presence of two GNU\Linux partitions on two different disks.

I don't know what to do.

Offline

#8 2024-12-26 14:08:53

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 77

Re: unable to complete archlinux installation for a week

alexandre01 wrote:

Perhaps this is due to the presence of two GNU\Linux partitions on two different disks.

I don't know what to do.

Yeah, could be, especially if one of them is debian - heh

Offline

#9 2024-12-26 15:27:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,545
Website

Re: unable to complete archlinux installation for a week

What filesystem is this, and how are you mounting it?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2024-12-26 16:01:05

cryptearth
Member
Registered: 2024-02-03
Posts: 1,171

Re: unable to complete archlinux installation for a week

alexandre01 wrote:

Wiping  the disk has not effect, I always / owned by 1000  when I launch pacstrap.

I highly doubt that
when booting archinstall and mounting a fresh wiped disk after mkfs /mnt is always owned by root
you do something very wrong - please post full log from booting arch install medium to arch-chroot /mnt

Offline

#11 2024-12-26 22:24:05

seth
Member
Registered: 2012-09-03
Posts: 60,535

Re: unable to complete archlinux installation for a week

déc. 24 23:32:54 arch-home kernel: EXT4-fs (nvme0n1p2): mounted filesystem 6c9de194-ec6b-4e57-93d5-8a6f2d5fd8a3 r/w with ordered data mode. Quota mode: none.
déc. 24 23:32:54 arch-home systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).

You at some point have or repeat chmod/chown on the root fs - this doesn't just happen by itself and would not be tolerated by any other distro either (certainly not a systemd one)

I assume it has to do w/ you "following" https://bbs.archlinux.org/viewtopic.php?id=299394 - what *exactly* did you do to deal w/ the original problem?
Then you need to unfuck the status quo, "/" is supposed to be root:root/755)

Moreover, I also thought that Archlinux installed a home folder, but this is not the case, or is no longer the case.

The filesystem package (i think it's the one) will create /home but your $HOME (/home/alex or whatever) will be created by you when adding a user.

I don't know what to do.

Once you've addressed this and what you did to get there

seth wrote:

please post the complete pacman output, not only (some) error lines.

Offline

#12 2024-12-30 09:37:16

alexandre01
Member
Registered: 2024-02-19
Posts: 9

Re: unable to complete archlinux installation for a week

ReDress wrote:

Yeah, could be, especially if one of them is debian - heh

I can't install Debian because I use sbctl for secureboot

"worMzy wrote:

What filesystem is this, and how are you mounting it?

I use ext4 file system and volumes are mounted by the archlinux installer.

cryptearth wrote:

I highly doubt that when booting archinstall and mounting a fresh wiped disk after mkfs /mnt is always owned by root you do something very wrong - please post full log from booting arch install medium to arch-chroot /mnt

You're right, but I forgot to mention that I had an nvme + two mecanical discs, and it was one of the mechanical discs that was causing the problem.


seth wrote:

You at some point have or repeat chmod/chown on the root fs - this doesn't just happen by itself and would not be tolerated by any other distro either (certainly not a systemd one)

It seems that GNU\Linux doesn't like empty spaces at the beginning of the disk.

Many thanks for your help.

solved

The problem was due to a formatted partition at the beginning of one of my disks due to a Windows repair disk “error” and windows took advantage of deleting arch partitions to place Windows on the nvme.
So I delete the Windows partitions and leave an empty space at the beginning of the hard disk in question and there is a partition at the end of the disk.

To diagnose the problem, I burn endevaouros on a USB key to test an installation of endevaoursOS.
During installation, I get a {pacman failed + pacstrap failed} error message and I've made a link with the Archlinux messages when I use pacstrap (/ owned by 1000)

So I format the hard disk which has no partition at the beginning of the disk. As a result, I was able to install endeveaouros and I notice that there are no longer any { pacman failed + pacstrap failed} messages.
I delete endevaourOS and install  arch via the archlinux liveCD.
I no longer get the error messages linked to pacstrap and I install archlinux without a hitch and very quickly, unlike other installation attempts.

It seems that GNU\Linux doesn't like empty spaces at the beginning of the disk.

Many thanks for your help.

Last edited by alexandre01 (2024-12-30 09:40:28)

Offline

#13 2024-12-30 09:46:43

seth
Member
Registered: 2012-09-03
Posts: 60,535

Re: unable to complete archlinux installation for a week

The problem was due to a formatted partition at the beginning of one of my disks due to a Windows repair disk “error” and windows took advantage of deleting arch partitions to place Windows on the nvme.
So I delete the Windows partitions and leave an empty space at the beginning of the hard disk in question and there is a partition at the end of the disk.

To diagnose the problem, I burn endevaouros on a USB key to test an installation of endevaoursOS.
During installation, I get a {pacman failed + pacstrap failed} error message and I've made a link with the Archlinux messages when I use pacstrap (/ owned by 1000)

So I format the hard disk which has no partition at the beginning of the disk. As a result, I was able to install endeveaouros and I notice that there are no longer any { pacman failed + pacstrap failed} messages.

This is complete nonsense. You've probably been trying to re-use some previously existing filesystem and simply flattened that w/ your re-installation efforts.

Offline

#14 2024-12-30 10:08:31

alexandre01
Member
Registered: 2024-02-19
Posts: 9

Re: unable to complete archlinux installation for a week

seth wrote:

This is complete nonsense. You've probably been trying to re-use some previously existing filesystem and simply flattened that w/ your re-installation efforts.

I have reinstalled archlinux and I have added one of the disks during the archlinux installation except on the disk I formatted because I need to put data back on this disk.
I understand that this is nonsense but I don't understand that deleting the partition (which only contains data) solves the problem.

Offline

#15 2024-12-30 12:51:11

seth
Member
Registered: 2012-09-03
Posts: 60,535

Re: unable to complete archlinux installation for a week

Nobody but you can know what has actually happened, but the most likely scenario I can come up with is that you had an existing partition with a filesystem where the root node was owned by UID 1000
You (or some install script) then just re-used that filesystem to install arch in-place, resulting in a root partition where the root node was owned by UID 1000 - what will expectably yield the errors and warnings you got because it's a major security concern.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#16 2025-01-09 00:39:13

mackin_cheese
Member
Registered: 2025-01-07
Posts: 96

Re: unable to complete archlinux installation for a week

can you please mark this as solved? wasted my time reading this trying to help you.

Offline

Board footer

Powered by FluxBB