You are not logged in.

#1 2009-08-06 01:37:44

dangsos
Member
Registered: 2009-03-06
Posts: 28

[Solved] Pacman broke after -Sy error loading liblmza.so.0

so I read in another post that all I hafta  do is manually install xz-utils...so I got to AUR and try to makepkg -s after i tar -zxvf the .tar.gz file they provide

I might be missing something or may have not downloaded some extra file I need....anyways it said there was no target specified and no make file found....I'm sure it's fairly obvious that I'm new to linux so any help would be appreciated

i put the .tar.gz into a folder I named xz-util then i cd there and i utarred it with tar -zxvf then i cd into the now utarred file and I type makepkg -s

thanks in advance

Last edited by dangsos (2009-08-06 05:41:11)

Offline

#2 2009-08-06 01:46:06

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

If xv-utils isn't in your /var/cache/pacman/pkg directory, then get it here: http://archlinux.umflint.edu/core/os/x8 … pkg.tar.gz (if you're using i686, replace x86_64 with i686). Or use any other mirror you like.

Once you've downloaded that file, just do a

pacman -U /path/to/xz-utils-4.999.8beta-4-x86_64.pkg.tar.gz

.

Offline

#3 2009-08-06 01:52:55

dangsos
Member
Registered: 2009-03-06
Posts: 28

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

when trying to pacman -U i get the same message that i need the xz-utils to even use pacman.  So how do I install without pacman?
or maybe I'm doing it wrong??

I download to my home directory and then type pacman -U xz-utils-4.999.8beta-4-i686.pkg.tar.gz

which presents me with the same error

error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory

Offline

#4 2009-08-06 02:17:12

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

Do you have /usr/lib/liblzma.so.0.0.0?  liblzma.so.0 is just a symlink to that file.

As a side note, what is this build-essential package you're talking about (at least it sounds like a package to me based on your thread title and this post)?  It's definitely not in any of the official repos.

Last edited by tdy (2009-08-06 02:26:03)

Offline

#5 2009-08-06 04:27:13

dangsos
Member
Registered: 2009-03-06
Posts: 28

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

no I don't have that file or anything that looks like it in /usr/lib

also I have no idea what package "build-essential" is....I know I needed it in ubuntu to run aircrack-ng programs so I was just checking to see if it was in the archlinux repos

anyways...I'll cross that bridge when I get there! for now I just need to use my pacman!!!

Offline

#6 2009-08-06 04:58:25

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

`pacman -Sy build-essential' would have done literally nothing except tell you that build-essential doesn't exist.  That command was not what broke your system.. it happened before that, but it's a bit pointless to play the guessing game about what happened (assuming you really didn't use the -d option like you say).

For now, I would just copy the files/links from the xz-utils pkg archive to the right locations or unpack the archive to the / dir.  If xz-utils isn't in your local pacman db, you'll have to deal with the files/depends/desc entries later.

Just for future reference, installing aircrack-ng on arch is as simple as issuing a `pacman -Sy aircrack-ng' command.

Last edited by tdy (2009-08-06 05:01:35)

Offline

#7 2009-08-06 05:05:19

dangsos
Member
Registered: 2009-03-06
Posts: 28

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

where can I grab these files from tdy?

also thanks for your help thus far....and I am sure I could be wrong....but my pacman worked before it asked me to update it....which it asked for the update after I looked for build-essential

after I updated it then it didn't work....not sure what the deal is, but it sounds the same as the other guys problem that you linked too

thanks for the file link in advance....the only thing I can seem to find is some package in AUR that doesn't seem to build right for me and some xz.4-999.8beta file that once utarred it gives me a bunch of files including readme's configure files and compile files (all of which I don't know what to do with AND I doubt I need them to copy/paste some files into /usr/lib)

Offline

#8 2009-08-06 05:12:38

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

dangsos wrote:

where can I grab these files from tdy?

Profjim gave you the link above.  It is a plain tarball that contains all the necessary files and symlinks.

dangsos wrote:

after I updated it then it didn't work....not sure what the deal is, but it sounds the same as the other guys problem that you linked too

oskarn did -Syu (and most likely -Syud as Allan said), which is not -Sy.  Since you aren't familiar with the basics of arch/pacman, it's hard to guess what you really did exactly.  If you're able to get this all fixed, you'll need to read through some wiki articles to get a basic grasp of things.

Last edited by tdy (2009-08-06 05:15:38)

Offline

#9 2009-08-06 05:23:36

dangsos
Member
Registered: 2009-03-06
Posts: 28

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

well I extracted that file straight into my /usr/lib .....but that didn't put the liblzma.so.0 or anything similar into the directory.  I tried to pacman -Syu in hopes that something there would cover the dependancies and update my system...but it gave me the exact same error as before.

If you're able to get this all fixed, you'll need to read through some wiki articles to get a basic grasp of things.

I've read through quite a bit of wiki's actually, but you're right I deff need to obtain a better grasp of what is going on.

Offline

#10 2009-08-06 05:35:10

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

dangsos wrote:

well I extracted that file straight into my /usr/lib .....but that didn't put the liblzma.so.0 or anything similar into the directory.

I said extract it to /, not /usr/lib.  Something like this:

bsdtar -xf xz-utils-4.999.8beta-4-x86_64.pkg.tar.gz -C /

I'm headed to sleep now.. won't be back until after work tomorrow.

Last edited by tdy (2009-08-06 05:36:58)

Offline

#11 2009-08-06 05:40:09

dangsos
Member
Registered: 2009-03-06
Posts: 28

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

thanks moved the file to my / dir and then tar -zxvf filestuffhere.tar.gz and everything works!

missed where you told me to eariler...Oh well I'm learning, thanks

Offline

#12 2009-08-06 09:57:41

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

Re: [Solved] Pacman broke after -Sy error loading liblmza.so.0

You should probably install xz-utils using pacman afterwards so pacman can handle dependencies correctly for future packages requiring xz-utils.

Offline

Board footer

Powered by FluxBB