You are not logged in.

#26 2010-12-20 07:26:42

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

Re: Download all packages and them move them to home

To have an up to date system you need to periodically sync the DBs and get fresh versions of the packages you have installed on your Arch.
"Offline update" is a misnomer because you have to sync and download so you need some sort of internet connection. You may do this at work and bring the new packages home.

Offline

#27 2010-12-20 07:34:27

mfaridi
Member
Registered: 2010-12-15
Posts: 192

Re: Download all packages and them move them to home

karol wrote:

To have an up to date system you need to periodically sync the DBs and get fresh versions of the packages you have installed on your Arch.
"Offline update" is a misnomer because you have to sync and download so you need some sort of internet connection. You may do this at work and bring the new packages home.

So you advice me I downlaod DB packages from these links
    *  ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz
    * ftp://ftp.archlinux.org/extra/os/i686/extra.db.tar.gz
    * ftp://ftp.archlinux.org/community/os/i6 … .db.tar.gz
    * ftp://ftp.archlinux.org/multilib/os/i68 … .db.tar.gz
and move them to home and run this command again

 rm -r /var/lib/pacman/sync/{core,extra,community}
mkdir -p /var/lib/pacman/sync/{core,extra,community}
rm -r /var/lib/pacman/sync/{core,extra,community}/*
tar -xzf core.db.tar.gz      -C /var/lib/pacman/sync/core
tar -xzf extra.db.tar.gz     -C /var/lib/pacman/sync/extra
tar -xzf community.db.tar.gz -C /var/lib/pacman/sync/community
tar -xzf multilib.db.tar.gz  -C /var/lib/pacman/sync/multilib 

then I run this command in work computer with internet connection

 rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/community/os/any/ /home/narges/i686/ && rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/core/os/any/ /home/narges/i686/ && rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/core/os/i686/ /home/narges/i686/ && rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/extra/os/any/ /home/narges/i686/ && rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/extra/os/i686/ /home/narges/i686/ && rsync -avrt --bwlimit=18 rsync://ftp.osuosl.org/archlinux/multilib/os/i686/ /home/narges/i686/ 

and after that move files from work to home and copy them to

 /var/cache/pacman/pkg 

and run pacman for upgrade packages
which command for pacman can update packages ?

Offline

#28 2010-12-20 08:49:02

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

Re: Download all packages and them move them to home

mfaridi wrote:

which command for pacman can update packages ?

The usual one: 'pacman -Su'

Offline

#29 2010-12-20 14:11:42

mfaridi
Member
Registered: 2010-12-15
Posts: 192

Re: Download all packages and them move them to home

I need another suggestion

Offline

#30 2010-12-20 14:15:09

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

Re: Download all packages and them move them to home

mfaridi wrote:

I need another suggestion

Huh? What part didn't work? because I manually downloaded the DBs and 'pacman -Su' worked.

Offline

#31 2010-12-20 14:19:12

mfaridi
Member
Registered: 2010-12-15
Posts: 192

Re: Download all packages and them move them to home

karol wrote:
mfaridi wrote:

I need another suggestion

Huh? What part didn't work? because I manually downloaded the DBs and 'pacman -Su' worked.

I want understand that way I say is good way for update new packages , or I can find better way or another way

Offline

#32 2010-12-21 07:13:23

mfaridi
Member
Registered: 2010-12-15
Posts: 192

Re: Download all packages and them move them to home

can I use powerpill right now ?

Offline

#33 2010-12-21 22:57:42

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Download all packages and them move them to home

mfaridi wrote:

can I use powerpill right now ?

What do you mean? How do you want to use powerpill?

If you do not have an internet connection at home then you can follow the instructions for Powerpill Portable that I posted above, but you cannot use normal Powerpill from home.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#34 2010-12-22 05:08:06

mfaridi
Member
Registered: 2010-12-15
Posts: 192

Re: Download all packages and them move them to home

Xyne wrote:
mfaridi wrote:

can I use powerpill right now ?

What do you mean? How do you want to use powerpill?

If you do not have an internet connection at home then you can follow the instructions for Powerpill Portable that I posted above, but you cannot use normal Powerpill from home.

thanks,
please read this post

https://bbs.archlinux.org/viewtopic.php?id=110456

Offline

Board footer

Powered by FluxBB