You are not logged in.

#1 2018-11-24 13:51:51

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

[Solved] System broken after upgrading

Hi there,

After upgrading the system with pacman, I can't boot anymore. I get some error messages and get stuck into the terminal for trying to repair the system. Here are some of the errors:

Mounting boot /boot...
mount: /boot: unknown filesystem type 'vfat'
Mounting /media/F
fuse: device not found , try 'modprobe fuse' first

I tried to update the system using pacman, but pacman is broken too. Some libraries are missing.

pacman -Syu
loading shared libraries: libkeyutils.so.1: cannot open shared object file: No such file or directory

Tried to fix it chrooting, but it doesn't work, since pacman is broken.

Would you please help me to fix this?
Thanks.

Last edited by dicaiopolis (2018-11-25 15:00:03)

Offline

#2 2018-11-24 14:27:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,705
Website

Re: [Solved] System broken after upgrading

Please upload your entire /var/log/pacman.log and post it here.

Also post your /etc/fstab.

https://wiki.archlinux.org/index.php/Li … in_clients

Mod note: Moving to NC.

Last edited by WorMzy (2018-11-24 14:27:45)


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

#3 2018-11-24 15:21:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,720

Re: [Solved] System broken after upgrading

https://wiki.archlinux.org/index.php/Pa … an_upgrade
But something went terribly wrong w/ your update and you should seek to understand the error before fixing it - and rule out a dying HDD, https://wiki.archlinux.org/index.php/SMART

Offline

#4 2018-11-24 16:08:36

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

Hi there,
HDD is new and is working properly. It was an updating issue. Here's my fstab:

# /dev/sda2
UUID=6181af6a-94ff-4151-b7c7-442a6adb3110	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda1
UUID=3564-29EA      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/sda3
UUID=013931d0-98a4-4714-bfaa-76e43834596d	/home     	ext4      	rw,relatime,data=ordered	0 2

# /dev/sda4
UUID=ad0166fc-5789-446d-a916-9d55f567e9b7	none      	swap      	defaults,pri=-2	0 0

# /dev/sdb2
UUID=90B5-B36F	/media/C     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/sdb4
UUID=F090BA4090BA0D5A	/media/D     	ntfs-3g      	rw,relatime,data=ordered	0 2

# /dev/sdc2

UUID=B4D0E24CD0E21500	/media/F     	ntfs-3g      	rw,relatime,data=ordered	0 2

# /dev/sdc3
UUID=8e4fece7-b4a5-4572-a69b-2ffa8d587e32	/media/Linux-Dados     	ext4      	rw,relatime,data=ordered	0 2

/home/andre/Iso/Tlg.iso /media/Tlg 	iso9660  	user,loop  			0 	0
/home/andre/Iso/Phi5.iso /media/Phi 	iso9660  	user,loop  			0 	0
/home/andre/Iso/Il_Verbo_Greco.iso /media/VerboGreco 	iso9660  	user,loop  			0 	0

pacman.log is here: pascman.log

Offline

#5 2018-11-24 16:19:58

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

[2018-11-21 02:03] [PACMAN] starting full system upgrade

Was this the pacman run that caused the issues or is it missing from the log?
Have you run a S.M.A.R.T. self-test to check the status of the storage device?

Offline

#6 2018-11-24 16:26:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,532
Website

Re: [Solved] System broken after upgrading

There seems to have been a clock change here:

[2018-11-21 01:19] [PACMAN] Running 'pacman --color auto -Sy'
[2018-11-21 01:19] [PACMAN] synchronizing package lists
[2018-11-21 02:03] [PACMAN] Running 'pacman --color auto -S -u'
[2018-11-21 02:03] [PACMAN] starting full system upgrade

First, stop using yaourt.  It's ridiculoud process is prone to all sorts of problems that will result in partial upgrades and much breakage.  In theory, it is supposed to run -Sy followed right away by -Su, and most entries in the log show it doing just this: the -Su immediately follows the -Sy.  But in this last entey, there was just under an hour between yaourt running -Sy and then later running -Su.  A clock change is about the only thing I could think of that could cause this.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2018-11-24 16:36:13

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

Trilby wrote:

A clock change is about the only thing I could think of that could cause this.

Ok. But how could I fix it?

Offline

#8 2018-11-24 16:38:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,705
Website

Re: [Solved] System broken after upgrading

Okay, so for some reason your keyutils package has seemingly vanished -- pacman has no record of its removal, and yet it didn't get updated during your last transaction (it's just been updated, and moved to core/ from testing/ on the 20th), and now pacman can't find the shared library it provides.

Firstly, I would boot a liveCD, check the storage integrity as loqs suggests.

Then (all things being well) mount your root and boot partitions (e.g. as /mnt and /mnt/boot), and then use the live environment's pacman to do another full system update, reinstalling keyutils and the kernel in the process. Use pacman's --root flag to facilitate this, e.g.

pacman --root /mnt -Syu linux keyutils

Finally, check the integrity of the other packages on the installed system using

pacman --sysroot /mnt -Qqkk

Reinstall any that have missing files.

Last edited by WorMzy (2018-11-24 17:47:38)


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

#9 2018-11-24 17:28:04

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

When running

pacman --root /mnt -Syu linux keyutils

I get a list of errors like

could not open file /mnt/var/lib/pacman/sync/core.db: unrecognized archive format

Then, it tries to download the keyutils package, but an old version (1.5.11-1) and I get an 404 error, since the last version is 1.6.x.

Any tips?

Offline

#10 2018-11-24 17:38:09

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

What was the output of the SMART self-test?
Please post the output of `pacman --root /mnt -Syu linux keyutils 2>&1` from the console using the tip from Pastebin_clients
Also the contents of /mnt/etc/pacman.d/mirrorlist
Edit:
adjusted mirrorlist location to add in /mnt/

Last edited by loqs (2018-11-24 17:41:11)

Offline

#11 2018-11-24 20:39:37

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

contents of /mnt/etc/pacman.d/mirrorlist:

https://ptpb.pw/IPFm

SMART self-test: completed without error

`pacman --root /mnt -Syu linux keyutils 2>&1`
https://ptpb.pw/byy-

Last edited by dicaiopolis (2018-11-24 20:54:41)

Offline

#12 2018-11-24 20:47:10

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

loqs wrote:

Please post the output of `pacman --root /mnt -Syu linux keyutils 2>&1` from the console using the tip from Pastebin_clients

Offline

#13 2018-11-24 20:55:14

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

loqs wrote:
loqs wrote:

Please post the output of `pacman --root /mnt -Syu linux keyutils 2>&1` from the console using the tip from Pastebin_clients

Please, see my previous message again. I edited it.

Last edited by dicaiopolis (2018-11-24 20:56:22)

Offline

#14 2018-11-24 21:03:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,720

Re: [Solved] System broken after upgrading

Why does it stop at

:: Proceed with installation? [Y/n]

? Did you not proceed?

Offline

#15 2018-11-24 21:04:01

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

Missing tee from the redirection so dicaiopolis had no output?
Edit:

pacman --root /mnt -Syu linux keyutils 2>&1 | tee | curl -F c=@- https://ptpb.pw

hopefully keep the output visible and also save it to file.

Last edited by loqs (2018-11-24 21:12:10)

Offline

#16 2018-11-24 21:14:45

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

seth wrote:

Why does it stop at

:: Proceed with installation? [Y/n]

? Did you not proceed?

Yes, but then I get a huge (it doesn't stop) list of 404 error, since the last version of keyutils is 1.6.x. and there's no version 1.5.x on the mirrors anymore...

Offline

#17 2018-11-24 21:23:52

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

If the mirror list being used was from /mnt/etc/pacman/mirrorlist that you posted it has 11 uncommented mirrors so there should be 11 404 errors.
How many uncommented mirrors are there in the install medias mirrorlist etc/pacman/mirrorlist ?

Offline

#18 2018-11-24 21:31:46

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

loqs wrote:

If the mirror list being used was from /mnt/etc/pacman/mirrorlist that you posted it has 11 uncommented mirrors so there should be 11 404 errors.
How many uncommented mirrors are there in the install medias mirrorlist etc/pacman/mirrorlist ?

I mounted root in /mnt and boot in /mnt/boot. 'etc' was supposed to be mounted in /mnt too. The list of mirrors is huge it doesn't stop showing the same 404 error. Please, see an image here: https://ptpb.pw/BQtb.jpg

Offline

#19 2018-11-24 21:39:01

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

pacman --sysroot /mnt -Syu linux keyutils

Does the above produce only 11 404 errors?

Offline

#20 2018-11-24 21:40:50

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

loqs wrote:
pacman --sysroot /mnt -Syu linux keyutils

Does the above produce only 11 404 errors?

No, much more than that. There's some inconsistency here, but I can't figure it out. See the picture in my previous message.

Last edited by dicaiopolis (2018-11-24 21:41:18)

Offline

#21 2018-11-24 21:43:43

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

I saw the picture but switching from --root to --sysroot I hoping pacman would use /mnt/etc/pacman.d/mirrorlist with only 11 active entries.

Offline

#22 2018-11-24 22:01:36

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: [Solved] System broken after upgrading

loqs wrote:

I saw the picture but switching from --root to --sysroot I hoping pacman would use /mnt/etc/pacman.d/mirrorlist with only 11 active entries.

Using --sysroot gives:

pacman: unrecognized option '--sysroot'

Offline

#23 2018-11-24 22:08:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] System broken after upgrading

You can't run it from an ancient ISO

Offline

#24 2018-11-24 22:27:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,720

Re: [Solved] System broken after upgrading

keyutils is at 1.6, I'd say the bogus db archieves spoil the db update, thus operating on dated versions.
Move away everything in /mnt/var/lib/pacman/sync/ and try again.

Offline

#25 2018-11-24 22:30:43

loqs
Member
Registered: 2014-03-06
Posts: 19,109

Re: [Solved] System broken after upgrading

@seth what if the iso is so old the pacman version it is providing uses the previous db version?

Offline

Board footer

Powered by FluxBB