You are not logged in.
Hello once again, is there a way to handle this post? I want to backup the installed softwares including its related dependencies of my Arch X86_64 and use it on another Arch install.
Is there any way other than Image Copy? I am after for not reinstalling and downloading anymore because I have a slow internet connection...
Thanks
Last edited by kaola_linux (2008-10-12 03:34:22)
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
You may use pacman -Qd and pacman -Qe to know all the installed packages as deps and explicitly.
Make a local repository where you copy all the packages you have in cache.
Configure your new system to seek the packages in your local repository as first choice.
Finally install all the packages you had in the 'pacman -Qd' list with 'pacman --asdeps -S'
and the others with 'pacman -S'.
Offline
No need to create a local repo. Just copy from /var/cache/pacman/pkg from one computer to the next.
Offline
errr...
lets see...
U'r package list: pacman -Qq | grep -v "$(pacman -Qqm)"
and you can use repo-add to build your custom repo-dvd
They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.
Offline
errr...
lets see...
U'r package list: pacman -Qq | grep -v "$(pacman -Qqm)"
and you can use repo-add to build your custom repo-dvd
pacman -Qq - used this and it showed me the list of packages alphabetically
grep -v "$(pacman -Qqm)" - issued this command and it just loads or nothing appears. What does it actually do?
repo-add - how do I use this?
The one suggested by allan is much simpler and faster I guess...
But can you help explain the above 3 plz... Thanks alot
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
pacman -Qq - used this and it showed me the list of packages alphabetically
grep -v "$(pacman -Qqm)" - issued this command and it just loads or nothing appears. What does it actually do?
pacman -Qq | grep -v "$(pacman -Qqm)"
is one single command.
repo-add - how do I use this?
http://wiki.archlinux.org/index.php/Cus … repository
The one suggested by allan is much simpler and faster I guess...
Copying it is faster, but won't work if you ever deleted the cache (by using pacman -Scc). If you did not, however, it should contain all packages you ever downloaded from the ftp site. To get rid of old stuff in there (removed packages, etc.), you can run "pacman -Sc" (ONE "c," not two) or delete manually as you see fit. You might also want to check this out: http://wiki.archlinux.org/index.php/Clean_Cache
I am not sure, however, whether the files originally installed from the install cd also went into this directory. If not and if they were not updated, you might miss some core stuff. Does anyone know better?
Last edited by mutlu_inek (2008-10-12 15:43:20)
Offline
the packages that are downloaded during an ftp-install are downloaded to /var/cache/pacman/pkg/, unless you chose not to keep them.
Last edited by Vintendo (2008-10-12 16:42:09)
Offline
Here the sum of all the knowledge obtained here:
Old system:
pacman -Suy #for updating
pacman -Qqe > list #to have the list of the installed packages
yes | pacman -Sc # to delete old packages
scp /var/cache/pacman/pkg/* root@othersystem.address:/var/cache/pacman/pkg
scp list root@othersystem.address:/root
New system (as root)
cd /root
pacman --noconfirm -Sy `cat list`
So the new system should install from the cache every file you had in the old system and download only if needed.
Offline
No need to create a local repo. Just copy from /var/cache/pacman/pkg from one computer to the next.
You could also mount /var/cache/pacman/pkg as a nfs share between the two. It worked for me.
Offline
I followed every step here, I also made my own package list and transferred it to the other system. The problem is when I issue these command pacman --noconfirm -Sy `cat list`
it says something about not located from the database hence I can't install...:/
Also if I did copy the packages, how do I make them installable on the other system without the use of internet?
Thanks alot for the replies guyz
I followed every step here, I also made my own package list and transferred it to the other system. The problem is when I issue these command
pacman --noconfirm -Sy `cat list`
Also if I did copy the packages, how do I make them installable on the other system without the use of internet?
Thanks alot for the replies guyz
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
It looks like you're using kdemod.. did you enable the community and kdemod repos on the new system?
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline