You are not logged in.

#1 2022-06-22 21:28:04

used
Member
Registered: 2010-12-14
Posts: 14

only download by list

I have list files on local PC after" pacman -Syu."
I want to load files on other PC with internet.
what command i must do for pacman

Last edited by used (2022-06-22 21:33:50)

Offline

#2 2022-06-22 22:02:13

seth
Member
Registered: 2012-09-03
Posts: 29,904

Re: only download by list

pacman -Sh | grep download

Offline

#3 2022-06-23 19:28:03

used
Member
Registered: 2010-12-14
Posts: 14

Re: only download by list

list:
            alsa-lib-1.2.7.1-1 
            ..............
            ...........
            qt5-xmlpatterns-5.15.5+kde+r0-1 
            .......
            .........
           
./a:
alsa-lib-1.2.7.1-1
qt5-xmlpatterns-5.15.5+kde+r0-1

pacman -Sw $(cat a)   
fail,error, not exist: alsa-lib-1.2.7.1-1  qt5-xmlpatterns-5.15.5+kde+r0-1

./a:
alsa-lib
qt5-xmlpatterns

pacman -Sw $(cat a)
OK!

Last edited by used (2022-06-23 19:30:27)

Offline

#4 2022-06-23 19:41:19

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,458

Re: only download by list

There's your answer! The list you created needs to be of package names only...
Have a look at https://wiki.archlinux.org/title/Pacman … g_packages
Adjust that command to  store packages in that list you want to be in it.

edit: uhmm, wrong link ... https://wiki.archlinux.org/title/Pacman … d_packages

Last edited by qinohe (2022-06-23 20:25:49)

Offline

#5 2022-06-24 07:10:27

used
Member
Registered: 2010-12-14
Posts: 14

Re: only download by list

Thank

Offline

#6 2022-06-24 08:35:12

used
Member
Registered: 2010-12-14
Posts: 14

Re: only download by list

issue good:
pacman -Syuw --print-format %n

solved

Offline

Board footer

Powered by FluxBB