You are not logged in.

#1 2012-04-25 12:45:12

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

[SOLVED]Broken pacman

Hi guys,

after a fresh installation when i'm following post installation i got an error. I suspect is caused by yaourt repo. Because last time i haven't problems when i hadn't used.

Now i have an error of "libarchive" and etc. Any command and action report an error.
So reading the wiki i read how fix pacman and with wget i took the packages:

openssl, libarchive, pacman

Used: wget http://www.archlinux.org/packages/core/ … l/download
wget http://www.archlinux.org/packages/core/ … e/download
wget http://www.archlinux.org/packages/core/ … n/download

I read (don't remember where) that when i use wget, it download in the folder where i am.
I used it, after logging so i'm in the / right?

After i did (assumed that wget download right in the root / :

tar -xvzf openssl
Got an error.

So i used the search in the forum and found another user that had my same problem.
An user advice him to use this (for installing pacman):

tar -xvpf pacman -C --exclude .PKGINFO --exclude .INSTALL
Got same error.

At this time i'm yet without pacman and i'm stuck to finish post installation and install xorg and video drivers u.u

Hope that someone can help me and i excuse if this question is yet answered many times but i had searched for an hour without big help.
Sorry also for my bad english.
Thanks, Gabriele.


edit: i noted that the file that download (in case of openssl) have this name: openssl-1.0.1.a-1-x86_64.pkg.tar

So i have tried: tar -xvzf openssl-1.0.1.a-1-x86_64.pkg.tar
Same error sad

Last edited by Lilith (2012-04-25 15:08:59)


#551378
Sky is the limit.

Offline

#2 2012-04-25 12:56:43

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

Why are you using yaourt after a fresh install? That should come way later, after you set up your video drivers, after X is running and you have a fully functional desktop.

yaourt is an AUR helper. What do you need from the AUR that has to be installed before video drivers and X? Because if it's that important, maybe the package needs to be bumped to the "core" repo.


... Any command and action report an error.

Got an error.

Got same error.

What error??? What does it say?

Last edited by DSpider (2012-04-25 12:59:17)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-04-25 13:22:41

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Because i'm reading another tutorial in my language and the guy that had wrote, advice to add in the pacman.conf
So i did it..

Anyway sorry i had forgotten.
Procedure:

tar -xvzf libarchive-3.0.4-1-x86_64.pkg.tar.xz
tar (child): libarchive-3.0.4-1-x86_64.pkg.tar.xz: Cannot open: No such file or directory
tar(child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Last edited by Lilith (2012-04-25 13:30:21)


#551378
Sky is the limit.

Offline

#4 2012-04-25 13:40:23

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Ok maybe i had understood.

I don't know why, command wget had downloaded for me the files with the name:

download
download.1
download.2

Now in the root i did: ls
and i receive: download download.1 download.2 libarchive.so.12

I tried with mv:

mv desktop openssl.pkg.tar.gz

Now if i try to extract i get: gzip: stdin: not in gzip format
Child return 1

<.<


#551378
Sky is the limit.

Offline

#5 2012-04-25 13:52:20

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

Wait, why does pacman need fixing? What's wrong with it?

You mentioned openssl and libarchive. Are you trying to follow "Q: pacman is completely broken! How do I reinstall it?" ? What did you do? Did you try to uninstall "pacman" using pacman or something?

Also, you have a girl's name. I just wanted you to know that.

Last edited by DSpider (2012-04-25 13:59:22)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-04-25 13:58:19

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Because yesterday i broke my pacman.
Now any tip i write with pacman before report to me:
error while loading shared libraries: libarchive.so.12: cannot open shared object file: No such file or directory


So i'm go to the wiki and found that article that you posted. Yes i'm trying. I had understood how to extract the packages (from wiki: tar -Jxvf package.tar.xz) (i haven't seen before, my fault). No i don't know, i'm setting the pacman key and later is began to be crazy. I'm pretty noob i know.

My name:
http://en.wikipedia.org/wiki/List_of_An … ion#Lilith
http://4.bp.blogspot.com/-T3A16Lmsu_k/T … mage_0.jpg


#551378
Sky is the limit.

Offline

#7 2012-04-25 14:08:01

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

I installed that 3 packages (libarchive, pacman, openssl) with this:

tar -xvpf damnanemofpackage -C / --exclude .PKGINFO --exclude .INSTALL

Tryed pacman -Syu

Now new error:

pacman: /lib/libc.so.6: versione 'GLIBC_2.15' not found (required by /usr/lib/libcurl.so.4)
pacman: /lib/libc.so.6: versione 'GLIBC_2.15' not found (required by /usr/lib/libcurl.so.11)

I should format and reinstall everything?


#551378
Sky is the limit.

Offline

#8 2012-04-25 14:16:49

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

I should format and reinstall everything?

Not necessarily, no. But don't be too surprised if you need to. At first it took me 3 times to get it right with partition schemes and all. I really, REALLY wanted an exact 10.0 GB partition.


Well, yes, there's "Lilith". But I was also talking about "Gabriele". You're Italian, right? Looks like there's a "Guida per Principianti" (Beginner's Guide) right here: https://wiki.archlinux.org/index.php/Ma … taliano%29

Which tutorial did you follow?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-04-25 14:19:52

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

Run:

$ sudo pacman -Syu

Edit: Oh.

Last edited by DSpider (2012-04-25 14:21:28)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#10 2012-04-25 14:24:39

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Ahahah i understood. Btw i didn't understood how use the disk manager of arch, so i had another usb stick where are last gparted release. I make right partitions and later come to installation arch.
Ok man, thanks for the help, this night i'll try to reinstall everything.

Yes i'm italian and yes i saw.. but later after did the damage ._.
Following this first: http://www.archlinuxitalia.com/2011/12/ … allazione/

Anyway from here to future, i'll always use wiki advices!


edit: nop smile

Last edited by Lilith (2012-04-25 14:27:02)


#551378
Sky is the limit.

Offline

#11 2012-04-25 14:30:27

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

I agree about reinstalling since the setup is in its infancy anyway. But use pacman next time, not yaourt. At least for basic stuff. Yaourt comes later, when you're a bit more familiar with Arch.

Also, use the "netinstall" ISO, not the "core" ISO.

Cheers.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-04-25 14:34:54

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Ok thanks.

Can i ask to you last thing?
In the setup when that is time to choose the packages, in the "core" i select all packages.. Base, base-devel and that in none group. Because i don't know which i need and not. Can do this an error or problems?
Thanks.


#551378
Sky is the limit.

Offline

#13 2012-04-25 14:53:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Broken pacman

You need the base package group, yes. I think this is what you're looking for: https://wiki.archlinux.org/index.php/Gu … per_gruppi

Make sure you read the Beginner's Guide (or "Guida per Principianti") properly. Twice.


I suggested the netinstall ISO because it's often the best way to avoid problems, since Arch Linux is about using an "up-to-date" OS.

Last edited by DSpider (2012-04-25 14:54:57)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-04-25 15:06:23

Lilith
Member
From: Sardinia, Italy
Registered: 2012-04-16
Posts: 117

Re: [SOLVED]Broken pacman

Ok many thanks man for had help me.

Ot: I live in Sardinia in Italy. When someone help someone with no ulterior motives we are usual to told him/her: Can God give back to you in health.
In italian obviously have another taste ahaha, hope that is perceptible.
Cheers!

Last edited by Lilith (2012-04-25 15:08:47)


#551378
Sky is the limit.

Offline

Board footer

Powered by FluxBB