You are not logged in.

#1 2009-10-25 21:07:15

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

(Solved) Install packages Problem/mount usb

Hi again another day another problem

I'm having a problem installing packages,I just installed linux again and set up my usb/flash drive because i cant install my internet until i have a few files installed.i moved the tar.gz files from my usb to /var/cache/pacman/pkg/ and tried pacman -P,and -U to install but i keep getting errors
with -P i get package not found searching for group and error not found in sync db with -U i get error loading package metadata and error invalid or corrupted package i havent configured any files and im not sure how to... to install a package.

thanks

Last edited by unilx (2009-10-26 15:42:54)

Offline

#2 2009-10-25 21:32:19

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: (Solved) Install packages Problem/mount usb

From what I know, you don't need to move the files. Just navigate to folder in question, and run pacman -U somefile.tar.gz. And that should install just fine.

Birger smile

Offline

#3 2009-10-25 21:43:17

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: (Solved) Install packages Problem/mount usb

ive tried installing from the usb and i get the same error messages

Offline

#4 2009-10-25 21:52:25

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

Re: (Solved) Install packages Problem/mount usb

Arch packages are something.pkg.tar.gz - is that what you've got? If it's just tar.gz, it's not an Arch package, and you'll have to install it the manual way.

Offline

#5 2009-10-25 22:13:05

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: (Solved) Install packages Problem/mount usb

my packages arent pkg.tar.gz there just tar.gz.and how do u install packages manually? and where do i get the pkg.tar.gz files


I use /dev/sdd1  /media/disk to mount my usb
then i cd /media/disk/  and then do  ls   to see the file gnone-desktop-2.228.0.tar.gz
after that i use pacman -S   gnone-desktop-2.228.0.tar.gz  and i get and error.
Am i suppose to configure /etc/pacman.conf and /etc/pacman.d/mirrorlist so pacman
will recognize the file and if so what lines i would have to add to these files

when i use pacman -Syy i get the error failed to update core,extra and community servers not configured for repository

Last edited by unilx (2009-10-25 22:47:52)

Offline

#6 2009-10-25 23:13:38

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: (Solved) Install packages Problem/mount usb

That looks like a generic source package, not an Arch package. Where did you get it and are you trying to install the GNOME desktop environment?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2009-10-25 23:16:30

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: (Solved) Install packages Problem/mount usb

You need to download an arch package (what you have seems to be the source code), so go to an arch mirror like [1], look for the package in the folder named as the repo that holds the package and download it. Be careful, you have to choose the folder that fits your architecture (i686 or x86_64). Then copy the packages you need to a flash drive or so, mount it in your arch install, go to the folder and pacman -U package.pkg.tar.gz.

You will need to have the dependencies for the packages installed. Check the package search at the main website and download each dependencie that you don't have installed.

[1] http://distrib-coffee.ipsl.jussieu.fr/p … archlinux/

Last edited by Surgat_ (2009-10-25 23:22:27)

Offline

#8 2009-10-26 11:45:07

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

Re: (Solved) Install packages Problem/mount usb

unilx wrote:

i cant install my internet until i have a few files installed

Uhmm.. you don't need gnome-desktop installed to "install your internet". yikes

Read the beginner's guide, set up your network and pacman correctly, and then proceed as normal.

Offline

#9 2009-10-26 15:34:13

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: (Solved) Install packages Problem/mount usb

I needed wvdil to get my internet up and now its installed also i was installing the wrong packages,once i installed the arch packages pacman -U worked
thanks for all the help
BTW anybody else using a usb stick with this problem can make a txt copy of the mirrorlist and copy it to your usb/flash drive then log into your
os and search the servers for the files u need.if u need to know how to mount your usb first then take a look at this link
http://www.linuxconfig.org/Howto_mount_ … e_in_Linux

thx again

Offline

Board footer

Powered by FluxBB