You are not logged in.

#1 2014-04-30 09:26:01

samyazza
Member
From: Cracow, Poland
Registered: 2010-01-09
Posts: 27

How do packages become corrupted?

I've posted a topic yesterday (https://bbs.archlinux.org/viewtopic.php?pid=1410129) asking for help on a problem, which caused my Gnome to fail to boot. I have solved the problem and now I'm looking for follow-up information. It turned out that quite a few packages were corrupted. These included:

- mesa or mesa-libgl
- lib32-lcms2
- lib32-elfutils
- lib32-qt4
- gnome-settings-daemon
- xf86-video-intel and intel-dri
- as it turned out today, libgdiplus
- ...more?

In most of these cases, by corruption I mean the wiping out of .so files inside /usr/lib or /usr/lib32. They were still there, but the logs and error messages insisted they were either deleted or empty (I haven't checked whether they were actually 0 bytes though). However in the case of gnome-settings-daemon, important config files got wiped too (all the xml files in /usr/share/glib-2.0/schemas; this time I checked, they were actually empty).

This happened after a full update ( -Syu) and a reboot. But what seems peculiar to me is that none of these packages were upgraded. This is what happened in the syu:

- shared-color-profiles removed
- upgraded colord (1.0.6-1 -> 1.2.0-1)
- upgraded gtk3 (3.12.1-1 -> 3.12.1-2)
- upgraded colord-gtk (0.1.25-1 -> 0.1.25-2)
- upgraded cronie (1.4.11-1 -> 1.4.11-2)
- upgraded elfutils (0.158-1 -> 0.158-2)

As you can see, the wrecked packages are completely different than the ones upgraded. I can understand some sort of link between elfutils and lib32-elfutils (still not warranting lossage), but why would, say, an update of gtk3 wipe a gnome-settings-daemon config file?

At the moment, my Arch is fully operational. I'm still finding corrupted packages though and I'm afraid to launch an update. In fact, every reboot sort of scares me wink So my question is: what could have caused this corruption in packages that barely seem related to the update? Is this 'expected' behaviour or is something wrong with my system configuration? Or maybe my harddrive is running rebel?

Thanks in advance for the assistance.

Offline

#2 2014-04-30 09:39:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How do packages become corrupted?

I vote for hard drive issues.

Offline

#3 2014-04-30 09:47:40

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

Re: How do packages become corrupted?

tomk wrote:

I vote for hard drive issues.


This or filesystem corruption which may be caused, or exaggerated by, faulty RAM and subsequent fscking.

I recommend a round of smartctl and memtest86+.


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

#4 2014-04-30 10:34:16

samyazza
Member
From: Cracow, Poland
Registered: 2010-01-09
Posts: 27

Re: How do packages become corrupted?

I've got btrfs as my main filesystem where all the libraries are. So no fsck. But I guess it could be btrfs itself acting up, couldn't it?

Offline

#5 2014-04-30 12:20:51

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

Re: How do packages become corrupted?

Absolutely, though I'd explore the earlier suggestions first; make sure the hardware is okay, then check the software.


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

#6 2014-05-01 14:43:54

samyazza
Member
From: Cracow, Poland
Registered: 2010-01-09
Posts: 27

Re: How do packages become corrupted?

So I've ran a long test with smartctl, here's the output of smartctl -a /dev/sda
http://ix.io/c2s
It seems to say no errors were found.

I've also installed memtest86+, booted into it and gave it 2 passes (I needed to use the PC). No errors were found either. I'll leave the test running overnight, but I guess there's a good chance the hardware is healthy.

Offline

Board footer

Powered by FluxBB