You are not logged in.

#1 2009-02-20 20:26:52

reimu
Member
Registered: 2009-02-19
Posts: 8

Weird pacman bug. [SOLVED]

Everytime I use pacman it comes out with some interesting output. It doesn't seem to affect it's functionality but has me concerned anyway.

here's an example:

sudo pacman -S gcc
resolving dependencies...
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory

Targets (3): gmp-4.2.4-1.1  mpfr-2.3.2-2  gcc-4.3.3-1  

Total Download Size:    25.30 MB
Total Installed Size:   68.86 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
 gmp-4.2.4-1.1-i686       438.2K  407.4K/s 00:00:01 [#####################] 100%
 mpfr-2.3.2-2-i686        338.2K  356.3K/s 00:00:01 [#####################] 100%
 gcc-4.3.3-1-i686          24.5M  928.7K/s 00:00:27 [#####################] 100%
checking package integrity...
(3/3) checking for file conflicts                   [#####################] 100%
(1/3) installing gmp                                [#####################] 100%
(2/3) installing mpfr                               [#####################] 100%
(3/3) installing gcc                                [#####################] 100%
/sbin/ldconfig: file /usr/lib/libgs.so.8.64 is truncated

Everytime I install a package it starts with

resolving dependencies...
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory

Once the install has completed it ends with

/sbin/ldconfig: file /usr/lib/libgs.so.8.64 is truncated

Any idea of how to fix this?

Last edited by reimu (2009-02-20 21:11:03)

Offline

#2 2009-02-20 20:29:38

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Weird pacman bug. [SOLVED]

None of your disks are full, are they?

Offline

#3 2009-02-20 20:34:36

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

Re: Weird pacman bug. [SOLVED]

Remove the ghostscript package from /var/cache/pacman/pkg if it's there, and then reinstall it with pacman -Sy.

Offline

#4 2009-02-20 20:56:24

reimu
Member
Registered: 2009-02-19
Posts: 8

Re: Weird pacman bug. [SOLVED]

tomk wrote:

Remove the ghostscript package from /var/cache/pacman/pkg if it's there, and then reinstall it with pacman -Sy.

Removed it from /var/cache/pacman/pkg.

then did pacman -Sy

then tried to reinstall it

ry
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/depends: No such file or directory

Targets (1): ghostscript-8.64-2  

Total Download Size:    28.13 MB
Total Installed Size:   53.93 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 ghostscript-8.64-2-i686   28.1M  761.4K/s 00:00:38 [#########################################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [#########################################] 100%
error: could not open file /var/lib/pacman/local/ghostscript-8.64-2/files: No such file or directory
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
ghostscript: /etc/cups/pdftoraster.convs exists in filesystem
ghostscript: /etc/cups/pstoraster.convs exists in filesystem
ghostscript: /usr/lib/libgs.so.8.64 exists in filesystem
ghostscript: /usr/lib/libijs-0.35.so exists in filesystem
Errors occurred, no packages were upgraded.

*sigh*

Offline

#5 2009-02-20 20:57:53

reimu
Member
Registered: 2009-02-19
Posts: 8

Re: Weird pacman bug. [SOLVED]

ataraxia wrote:

None of your disks are full, are they?

No, they are not.

Offline

#6 2009-02-20 21:02:47

reimu
Member
Registered: 2009-02-19
Posts: 8

Re: Weird pacman bug. [SOLVED]

Hm, do you guys think

#mkdir /var/lib/pacman/local/ghostscript-8.64-2/depends

would do anything?

Offline

#7 2009-02-20 21:03:32

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

Re: Weird pacman bug. [SOLVED]

pacman -Sf ghostscript

The force flag is not usually recommended, but the goal here is to correct whatever is wrong with the related pacman db entry. Reinstalling it should do that.

Offline

#8 2009-02-20 21:08:00

reimu
Member
Registered: 2009-02-19
Posts: 8

Re: Weird pacman bug. [SOLVED]

tomk wrote:

pacman -Sf ghostscript

The force flag is not usually recommended, but the goal here is to correct whatever is wrong with the related pacman db entry. Reinstalling it should do that.

Thanks, fixed everything!

Offline

Board footer

Powered by FluxBB