Manjaro OS Installation Failing (live-usb), chown finished with exit code 1 (for various files on my existing home partition)

Hi All,

first post, fairly new to Manjaro but have used Arch a fair bit and Ubuntu a while back.

I had a working OS last night, Manjaro 18 has been working fine for 2 months using my current setup, I had one weird issue where boot up would take 10 seconds, then I would be stuck with a black screen for 4 minutes before the desktop appeared (auto-login enabled). I checked the boot logs to verify the 10 second thing, and was too lazy to dig further into what the delay in startup was and a few minutes to boot isn't the end of the world for me.

I shut down last night, tried to boot this morning 4 times in a row and got nothing but a black screen. I used to at least get a cursor but now nothing at all no matter how long I waited.

So I resolved to reinstall, retaining my home partition from the previous install (as I always do).

Now I am getting this annoying message (which I wonder, could this be part of the slow 'login' before):

Installation Failed
Command chown finished with exit code 1. Output: chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.56561780df4142d59686db302cdbcb03.x86_64-unknown-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/ksycoca5_en-GB_C7BU1T_wR9ZS2Yq+UovrltFBOzI=': Bad message chown: changing ownership of '/home/noki/.cache/qtshadercache/7bf56e291d281c0f5a4d49429bb468fd7adcdf3b': Bad message chown: changing ownership of '/home/noki/.cache/qtshadercache/e24592d8d235339875cae31851ad680a190a7cc6': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.56561780df4142d59686db302cdbcb03.x86_64-pc-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.e4ac1c0b89fc4772af455907f66d6b06.x86_64-unknown-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/ksycoca5_en-GB_40wwrCXj9tg90r4JOGrJraJD9Ko=': Bad message chown: changing ownership of '/home/noki/.cache/motd.legal-displayed': Bad message chown: changing ownership of '/home/noki/.cache/kdenlive-thumbs.kcache': Bad message chown: changing ownership of '/home/noki/.cache/plasma_theme_air_v5.60.0.kcache': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.82929df7ee394b73b81252fe3b4e5020.x86_64-pc-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.349b5949e1f34bd4a95c91c23b02713d.x86_64-unknown-linux-gnu': Bad message chown: changing ownership of '/home/noki/.PlayOnLinux/wine/linux-x86/1.6.2/share/wine/fonts/wingding.ttf': Bad message chown: changing ownership of '/home/noki/.PlayOnLinux/wine/mono/wine-mono-0.0.8.msi': Bad message chown: changing ownership of '/home/noki/.PlayOnLinux/wineprefix/default/playonlinux.log': Bad message

You can see these files are pointless to the installation of the OS, so why is my installing failing for a triviality? Perhaps the plasma_theme is more vital than it appears?

If it was working last night, why is it a problem this morning?

I don't just want to blast my home partition with a fat chown command, nor do I want to resolve them one by one. What do I do in this situation?

If I can resolve both my issues great, but I mostly just need to get my machine to boot and worry about slow boots later.

Any help appreciated.
Noki0100

You could have maybe solved the black screen issue by:
sudo systemctl enable haveged --now

Also would be important to know more about your system:
inxi -Fxxxz --no-host

Have you considered emptying the ~/.cahce folder before installing. I might be wrong, but i think the ~/.PlayOnLinux/wineprefix/ files also require attention as some of them have different permissions and chown doesn't cut it => failing, and if that fails the system fails to install, or at least it ends with that message. I never had such issue, as i keep user home configuration data clean for the installed system, while my personal data is symlinked from another partition. Only after that i particularly restore (from backup - no cache folder whatsoever) configs for the applications i use.
Hope this makes sense ... and help you out somehow.

1 Like

You may at some point have launched an application with sudo rights which then creates files which are root owned in your local home.

As you pasted text shows it is files from your .cache folder and removing the contents is completely safe. Because there is a permission issue use sudo to remove the content.

cd ~/.cache && sudo rm -rf ./*

The subject of the thread is kind of misleading as the OP does not mention what installation is failing. It does seem fair to conclude it is not a Manjaro installation but some application.

So please clear it a bit:

Is it the installation of Manjaro or is it some application?

Symlinking sounds like a better long term solution so I will look into that later.

I'll try just killing those non-essential sounding files and try again. So long as my actual files are ok I can rebuild.

I will look into haveged too, if I still have a problem. Though I don't understand what it does at a glance through the archwiki page for it.

Here is the output (from live-usb) of inxi -Fxxxz --no-host:
System: Kernel: 4.19.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: KDE Plasma 5.15.2 tk: Qt 5.12.1
wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Machine: Type: Desktop Mobo: ASRock model: Z77 Extreme4 serial: UEFI: American Megatrends v: P2.90 date: 07/11/2013
CPU: Topology: Quad Core model: Intel Core i7-3770K bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 56021
Speed: 1600 MHz min/max: 1600/4300 MHz Core speeds (MHz): 1: 1600 2: 1601 3: 1600 4: 1600 5: 1600 6: 1600 7: 1600
8: 1600
Graphics: Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics vendor: ASRock driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:0162
Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Micro-Star MSI driver: nvidia v: 418.43 bus ID: 01:00.0
chip ID: 10de:1f08
Display: x11 server: X.Org 1.20.4 driver: nvidia compositor: kwin_x11
resolution: 1920x1080~60Hz, 3840x2160~60Hz, 1920x1080~60Hz
OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 418.43 direct render: Yes
Audio: Device-1: NVIDIA TU106 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1
chip ID: 10de:10f9
Sound Server: ALSA v: k4.19.28-1-MANJARO
Network: Device-1: Broadcom and subsidiaries NetLink BCM57781 Gigabit Ethernet PCIe vendor: ASRock Z77 Extreme4 driver: tg3
v: 3.137 port: d000 bus ID: 04:00.0 chip ID: 14e4:16b1
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac:
Drives: Local Storage: total: 1.73 TiB used: 21.03 GiB (1.2%)
ID-1: /dev/sda vendor: Crucial model: M4-CT128M4SSD2 size: 119.24 GiB speed: 6.0 Gb/s serial: rev: 040H
scheme: GPT
ID-2: /dev/sdb vendor: Crucial model: CT512M550SSD1 size: 476.94 GiB speed: 6.0 Gb/s serial: rev: MU01
scheme: GPT
ID-3: /dev/sdc vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB speed: 6.0 Gb/s serial: rev: 2B6Q
ID-4: /dev/sdd vendor: Crucial model: M4-CT256M4SSD2 size: 238.47 GiB speed: 6.0 Gb/s serial: rev: 040H
scheme: GPT
ID-5: /dev/sde type: USB vendor: Kingston model: DataTraveler 2.0 size: 7.22 GiB serial: rev: 1.00
scheme: MBR
Partition: ID-1: / size: 23.47 GiB used: 519.5 MiB (2.2%) fs: overlay source: ERR-102
Sensors: System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 43 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 23%
Info: Processes: 229 Uptime: 2h 02m Memory: 31.30 GiB used: 2.47 GiB (7.9%) Init: systemd v: 241 Compilers: gcc: 8.2.1
Shell: bash v: 5.0.0 running in: konsole inxi: 3.0.32

Now I have tried deleting files, the ones I could find anyway. There installation error has changed so I know this had an impact of some kind.

But the new error is talking about files that simply don't exist.

Looking at the file explorer I can see the new root drive get made and mounted, as it is 'creating user' in the installation process this error appears. If I open the newly created root drive and navigate to home then it takes me to my existing home drive, correctly.

But the .cache folder within my user folder does not contain these files that are failing to chown. I am confused.

New message:
External command finished with errors.

Command chown finished with exit code 1. Output: chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.56561780df4142d59686db302cdbcb03.x86_64-unknown-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/ksycoca5_en-GB_C7BU1T_wR9ZS2Yq+UovrltFBOzI=': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.56561780df4142d59686db302cdbcb03.x86_64-pc-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.e4ac1c0b89fc4772af455907f66d6b06.x86_64-unknown-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/ksycoca5_en-GB_40wwrCXj9tg90r4JOGrJraJD9Ko=': Bad message chown: changing ownership of '/home/noki/.cache/motd.legal-displayed': Bad message chown: changing ownership of '/home/noki/.cache/kdenlive-thumbs.kcache': Bad message chown: changing ownership of '/home/noki/.cache/plasma_theme_air_v5.60.0.kcache': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.82929df7ee394b73b81252fe3b4e5020.x86_64-pc-linux-gnu': Bad message chown: changing ownership of '/home/noki/.cache/event-sound-cache.tdb.349b5949e1f34bd4a95c91c23b02713d.x86_64-unknown-linux-gnu': Bad message

Nor do these files show in the live-usb /home/ directories. I am very confused at this point.

Scratch that, I instead have this horrific file permission issue. Even LS can't deal with it. Each file being complained about looks the same so here is one example from the terminal:

./wineprefix/default: ls: cannot access './wineprefix/default/playonlinux.log': Bad message total 8 drwxr-xr-x 2 manjaro 1001 4096 Jun 30 2018 . drwxr-xr-x 3 manjaro 1001 4096 Jun 30 2018 .. -????????? ? ? ? ? ? playonlinux.log

It's failing to access the files entirely, I have no idea what could have caused this. I am at a loss on how to fix currently. Looking through google now but if anyone can help please respond.

Much appreciated.
Noki

fsck on the disk found a bunch of errors, hopefully fixed now.

Thanks for you help!

Noki

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by