You are not logged in.

#1 2013-10-07 11:13:44

microcz
Member
Registered: 2008-11-08
Posts: 45

Upgrade packages from installation USB

Hi,

I moved harddrive with arch installation from one computer to another one, everything works well, except of networking (second computer has different network card)

What i want to do now, is reinstall/update kernels and drivers from my live arch USB. Is there any chance telling pacman to search for packages on live USB? I don't want to reinstall whole system.

Thank you

Offline

#2 2013-10-07 11:21:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Upgrade packages from installation USB

Edit pacman.conf and tell it to use a location on the pendrive instead of the default

#CacheDir    = /var/cache/pacman/pkg

You can even run

$ sudo pacman -U <kernel and network drivers>.pkg.tar.xz

Last edited by karol (2013-10-07 11:23:05)

Offline

#3 2013-10-10 00:59:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: Upgrade packages from installation USB

microcz wrote:

What i want to do now, is reinstall/update kernels and drivers from my live arch USB. Is there any chance telling pacman to search for packages on live USB? I don't want to reinstall whole system.

I'm a little confused.

!) Are you trying to get the latest packages from the repos, while booted into the live environment?

2) Or are you trying to install packages from your installed system's cache, while booted into the live environment?

3) Or are you trying to install packages from the live USB?

Karol's answer addresses (2) but I'm not sure if that's what you were asking.

And why would you need to reinstall the entire system?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-10-10 10:40:55

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Upgrade packages from installation USB

Can you establish an internet connection from the live USB?

Offline

Board footer

Powered by FluxBB