You are not logged in.

#1 2006-04-13 11:56:47

myst
Member
From: Brest, Belarus
Registered: 2006-01-30
Posts: 54

How to upgrade package w/o network connection?

I've just installed 0.7.1 but it seems that kernel 2.6.15 don't support my Marvell Yukon Fast Ethernet card.

Yes, I know there's sk98lin module, but in kernel 2.6.15 it supports only Gigabit Ethernet cards.

So I have to update packages w/o network conection. At least the kernel, because Gentoo 2006.0 x86 LiveCD, which has kernel 2.6.15-gentoo-r5 w/ Gentoo patchset, supports my LAN card. So I think may be newer kernel(s) support my LAN card?

In short - is it possible to download packages separately and then install them w/o -Sy? If yes, please point me where I can read how to do it.

Offline

#2 2006-04-13 12:10:20

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: How to upgrade package w/o network connection?

About your network card, I have no idea if it is supported or not.
About installing downloaded packages, if you don't need dependency resolving, it is as easy as 'pacman -A foo.pkg.tar.gz'
If you need dependency resolving, the way to go is to edit pacman.conf, remove all on-line repositories, and add a local repository. Check the pacman manpage on howto create a local repository.

Offline

#3 2006-04-13 13:00:06

myst
Member
From: Brest, Belarus
Registered: 2006-01-30
Posts: 54

Re: How to upgrade package w/o network connection?

Thanx for the answer. I found it's sky2.ko driver which supports my Yukon card. And this driver IS in 2.6.16 e.g. So the only thing I need is to update the kernel.

So if I understand you right all I need to do is 'pacman -U kernel26-2.6.16.4-1.pkg.tar.gz'?

Offline

#4 2006-04-13 13:03:19

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: How to upgrade package w/o network connection?

yes that will do it

Offline

#5 2006-04-13 16:42:43

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: How to upgrade package w/o network connection?

Also make sure you have the newest mkinitrd or mkinitramfs version installed.

Offline

#6 2006-04-14 00:37:44

sash
Member
Registered: 2005-10-16
Posts: 155

Re: How to upgrade package w/o network connection?

In short - is it possible to download packages separately and then install them w/o -Sy? If yes, please point me where I can read how to do it.

Yes, it is possible, by running

pacman -U some_package_name-$pkgver.tar.gz

.

For packages with dependencies, you will of course need the dependency packages as well.

Offline

#7 2006-04-15 15:17:36

myst
Member
From: Brest, Belarus
Registered: 2006-01-30
Posts: 54

Re: How to upgrade package w/o network connection?

It works. Both pacman and LAN card. Thank you all!

Offline

Board footer

Powered by FluxBB