You are not logged in.

#1 2006-08-06 04:37:44

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

pacman -Syu fails on kde-common error

Hi - tried a -Syu today but it crashed and burned with many repeats of the following line:

error: /var/lib/pacman/local/kde-common-3.5.4-2/desc: No such file or directory

I can't go through with an -Syu even after a reboot.

Everything still works, my system is not broken.  I don't use KDE at all (XFCE4 is my desktop of choice), but I have a handful of apps installed which use various pieces / libraries from the KDE group.

How can I fix this problem and go through with a clean pacman -Syu?

Thanks
Francis

Offline

#2 2006-08-06 04:41:59

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: pacman -Syu fails on kde-common error

Update - at the end of dozens of lines of the first error I get this:

error: the following file conflicts were found:
  kde-common: /etc/dbus-1/session.d/kde.conf: exists in filesystem
  kde-common: /etc/pam.d/kde: exists in filesystem
  kde-common: /etc/pam.d/kde-np: exists in filesystem
  kde-common: /etc/rc.d/kdm: exists in filesystem
  kde-common: /opt/kde/share/apps/kdm/faces/.default.face.icon: exists in filesystem
  kde-common: /opt/kde/share/config/kdm/backgroundrc: exists in filesystem
  kde-common: /opt/kde/share/config/kdm/kdmrc: exists in filesystem


errors occurred, no packages were upgraded.

Offline

#3 2006-08-06 08:10:50

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: pacman -Syu fails on kde-common error

Your pacman db is broken. Fix it with

pacman -Sf kde-common

Offline

#4 2006-08-06 22:26:21

blauknox
Member
Registered: 2006-06-24
Posts: 10

Re: pacman -Syu fails on kde-common error

To get rid of these error messaages, I first had to get rid of the pacman kde-common library directory.  It existed, but was missing files 'depends' and 'desc'. 

rm -Rf /var/lib/pacman/local/kde-common-3.5.4-1

Next, I followed brain0's good advice...

pacman -Sf kde-common
pacman -Syu

This solved the problem for me.  Hope it helps.

Offline

#5 2006-08-12 06:01:40

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: pacman -Syu fails on kde-common error

brain0 wrote:

Your pacman db is broken. Fix it with

pacman -Sf kde-common

brain0 - thanks, this seems to have worked.  I didn't need to do the rm -rf step, and now am currently updating via -Syu without a problem so far.

Cheers
Francis

Offline

Board footer

Powered by FluxBB