[arch-general] pacman -S xfce4-goodies fail

doherty pete nishizawa23 at gmail.com
Wed Feb 2 01:18:18 EST 2011


is the great ideas to do following?

1. Download xz-utils from http://tukaani.org/xz/xz-4.999.8beta.tar.gz
2. Extract tarfile
  $ tar xvf xz-4.999.8beta.tar.gz
3. Build
  $ cd xz-4.999.8beta
  $ ./configure && make
4. Install
  $ sudo make install
5. Reconfigure dynamic linker bindings
  $ sudo ldconfig /usr/local/lib

Now pacman should work again. Install xz-utils using pacman:
  $ sudo pacman -S core/xz-utils

Now you can uninstall the manually installed xz-utils by vising its source
directory and:
  $ sudo make uninstall

Source directory and the downloaded tarfile can now be removed and
everything should be in order.

edit: Just to be safe, do another pacman -S core/xz-utils after removing the
manually installed packet.

2011/2/2 doherty pete <nishizawa23 at gmail.com>

> yes,i have the problem about liblzma
> pacman: error while loading shared libraries: liblzma.so.0: cannot open
> shared object file: No such file or directory
>
> sudo tar -xvpf /var/cache/pacman/pkg/xz*.gz -C / --exclude .PKGINFO
> --exclude .INSTALL
>
> sudo ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0
>
>
> so i need
>
> sudo ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5 ?
> 2011/2/2 Allan McRae <allan at archlinux.org>
>
> On 02/02/11 15:34, doherty pete wrote:
>>
>>> so i changed mirrors to ftp://mirrors.kernel.org/archlinux/
>>> sudo pacman -Scc
>>> sudo pacman -Syyu
>>> and many pkg like zd1211 show that
>>> error:fail to commit transtltion (invalid or corrupted package)
>>> zd1211-firware-1.4-4-ang.pkg.tar.xz
>>> is invalid or corrupted
>>>
>>> i think it's no problem about mirrors
>>>
>>>
>> I'm going to take a wild guess here and suggest you have made a symlink
>> from /usr/lib/liblzma.so.5 to another version, probably liblzma.so.0. (or
>> the other way around).
>>
>> Allan
>>
>
>
>
> --
> pete_doherty
>



-- 
pete_doherty


More information about the arch-general mailing list