You are not logged in.

#1 2011-09-03 17:41:12

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Best way to clone a installation

Hi

I installed and configured arch on an older machine and now would like to clone the installation (mostly because all the mail settings, etc) to a different machine... my plan was to install the basic installtion from a live cd and then copy all files from the old / .
I know there are certain files than are machine specifiic eg. /etc/fstab, the extlinux loader file etc...
so I tried to copy everything but these machine specific files, but that ruined the installation so I guess I am doing something wrong. Is there an easier way to clone the setup or did I just miss a specific file?

Does anyone have experience in this issue?

regards,
keen

Last edited by keen90 (2011-09-03 23:38:26)

Offline

#2 2011-09-03 17:53:32

cbowman57
Member
Registered: 2011-08-21
Posts: 77

Re: Best way to clone a installation

Take a look at create-restore.tar.gz, there are some scripts in there that might be a base for what you want to do.

https://spideroak.com/browse/share/Chuc … dUCe-hAh93

Offline

#3 2011-09-03 20:24:14

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Best way to clone a installation

I simply used "cp -a" to copy everything. Then fix what needs to be fixed, install new drivers, remove old ones... Worked for me.

Offline

#4 2011-09-03 23:48:46

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

I was a bit unspecific. What I tried so far was to copy:
bin home opt root run sbin srv usr var
to the new /
then I continued with:
boot etc lib
I got trouble. System would not boot (I did use the right bootloader file)
on this thread there is a similar discussion:
https://bbs.archlinux.org/viewtopic.php?id=87476

Is this list for the machine dependent files mentioned there complete?
- /etc/fstab
- /boot/grub/menu.lst / ok in my case syslinux.conf
- /etc/rc.conf
- /etc/X11/xorg.conf
- /etc/hosts

I tried replacing the files while the arch system I copied the files to was running. Might that be a problem? I could also do this when booted from a live cd otherwise.

Offline

#5 2011-09-04 00:12:35

lukaszan
Member
Registered: 2011-05-05
Posts: 117

Re: Best way to clone a installation

To get it running, all you have to do is copy the entire system as is, update fstab and menu.lst, and recreate your initial ramdisk with mkinitcpio. That should get you to a bootable system and you can work your way from there (sound, video, network...).

Oh, don't forget to install grub.

Offline

#6 2011-09-04 12:40:51

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

Ok thanks for the hints...

I have a bootable system now.

But I am having two problems.

1. I can login as my standard user, but it does not find the homedir, so I end up at /. Which is strange since when I log in as root, /home is mounted and my homedir is there in all of its beauty. Anyway the scripts/programs in my home dir are not recognized, so he really does not find my homedir...

2. I have serious problems setting up the X environment. I used

#Xorg -configure

to generate a config file. I can launch the X server using this file, but this results in a frozen system and I get a funny screen. Mostly black, some coloured lines and some fragments that look a bit like a part of the arch logo.
I tried:

#startx --probe-only

but that gave me the same result
then I tried to log in on a diffrent TTY in advace using

# sleep 30
# pkill -9 X

and then launched X on the first TTY but that did not help me either to get some information about whats going wrong. It there an aesy way the get a log file?

Should I open a new thread for this?
Keen

Last edited by keen90 (2011-09-04 12:42:26)

Offline

#7 2011-09-04 12:51:47

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: Best way to clone a installation

I don't know that it's the "best" way, but I've used G4L to copy/move Arch between a few machines.  We have a very restrictive proxy at work that makes new installs painful, so I just keep using an existing machine as a base to copy from. 
I've done it from desktop to desktop, desktop to laptop, laptop to laptop, and laptop to virtual.  After cloning I've used System rescue CD to update fstab and any other files, and partimage to resize partitions when necessary. 

On first boot from the cloned HD I chose the Arch fallback image, immediately run mkinitcpio and have never had a problem.

Offline

#8 2011-09-04 16:11:47

lucak3
Member
From: Italy
Registered: 2010-01-23
Posts: 72

Re: Best way to clone a installation

For the user issue, does it goes in normally if you use a new login? If so, backup your home files, delete your user, remake it and put your backup up... (did you copy even .* files?)
As for the log files, Xorg leaves them in /var/log as Xorg.0.log and should be pretty human readable.


The Linux philosophy is 'laugh in the face of danger'. Oops. Wrong one. 'Do it yourself'. That's it. - Linus Torvalds

Offline

#9 2011-09-04 16:21:40

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

The user issue is fine now.
I used an external hard drive to copy my old installations data and did not use

cp -ar

so the permissions were missing. I fixed that.

I'll post my /var/log messages in a couple of minutes.

One more thing. I am a bit worried about the system I tried a pacman update und had these messages:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
error: duplicated database entry 'iproute2'
error: duplicated database entry 'iana-etc'
error: duplicated database entry 'usbutils'
error: duplicated database entry 'syslog-ng'
error: duplicated database entry 'binutils'
error: duplicated database entry 'file'
error: duplicated database entry 'device-mapper'
error: duplicated database entry 'gcc-libs'
error: duplicated database entry 'mkinitcpio-busybox'
error: duplicated database entry 'module-init-tools'
error: duplicated database entry 'readline'
error: duplicated database entry 'glibc'
error: duplicated database entry 'cronie'
error: duplicated database entry 'pcmciautils'
error: duplicated database entry 'pcre'
error: duplicated database entry 'psmisc'
error: duplicated database entry 'syslinux'
error: duplicated database entry 'coreutils'
error: duplicated database entry 'libgcrypt'
error: duplicated database entry 'initscripts'
error: duplicated database entry 'tzdata'
error: duplicated database entry 'zlib'
error: duplicated database entry 'linux-api-headers'
error: duplicated database entry 'util-linux'
error: duplicated database entry 'less'
error: duplicated database entry 'dbus-core'
error: duplicated database entry 'pacman-mirrorlist'
error: duplicated database entry 'grep'
error: duplicated database entry 'grub'
error: duplicated database entry 'pam'
error: duplicated database entry 'libcap'
error: duplicated database entry 'heirloom-mailx'
error: duplicated database entry 'perl'
error: duplicated database entry 'logrotate'
error: duplicated database entry 'mkinitcpio'
error: duplicated database entry 'wget'
error: duplicated database entry 'dash'
error: duplicated database entry 'cryptsetup'
error: duplicated database entry 'lvm2'
error: duplicated database entry 'gmp'
error: duplicated database entry 'db'
error: duplicated database entry 'libgpg-error'
error: duplicated database entry 'mdadm'
error: duplicated database entry 'filesystem'
error: duplicated database entry 'pacman'
error: duplicated database entry 'procps'
error: duplicated database entry 'shadow'
error: duplicated database entry 'run-parts'
error: duplicated database entry 'udev'
error: duplicated database entry 'gawk'
error: duplicated database entry 'diffutils'
error: duplicated database entry 'linux-firmware'
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Remove (1): kernel26-2.6.38.8-1

Total Removed Size:   52.11 MB

Targets (35): zlib-1.2.5-4  binutils-2.21.1-2  shadow-4.1.4.3-2  libcap-2.22-1  coreutils-8.12-3  cronie-1.4.8-1  gcc-libs-4.6.1-4  db-5.2.28-1  iana-etc-2.30-2  filesystem-2011.08-1  dbus-core-1.4.14-1  diffutils-3.1-1  file-5.08-1  gawk-4.0.0-1  pcre-8.13-2  grep-2.9-1  grub-0.97-20  heirloom-mailx-12.5-2  imlib2-1.4.5-1  module-init-tools-3.16-1  udev-173-3  iproute2-2.6.39-1  initscripts-2011.07.3-1  linux-firmware-20110822-1  linux-3.0.4-1  less-444-1  libgcrypt-1.5.0-1  linux-api-headers-3.0.1-1  mdadm-3.2.2-3  mkinitcpio-busybox-1.18.5-1  pacman-mirrorlist-20110816-1  psmisc-22.14-1  syslinux-4.04-2  syslog-ng-3.2.4-3  usbutils-004-1

Total Download Size:    0.00 MB
Total Installed Size:   165.15 MB

checking package integrity...
checking for file conflicts...
binutils: /usr/lib/libbfd-2.21.1.20110627.so exists in filesystem
binutils: /usr/lib/libopcodes-2.21.1.20110627.so exists in filesystem
shadow: /usr/share/licenses/shadow/LICENSE exists in filesystem
libcap: /lib/libcap.so.2.22 exists in filesystem
db: /usr/bin/db_tuner exists in filesystem
db: /usr/lib/libdb-5.2.a exists in filesystem
db: /usr/lib/libdb-5.2.so exists in filesystem
db: /usr/lib/libdb_cxx-5.2.a exists in filesystem
db: /usr/lib/libdb_cxx-5.2.so exists in filesystem
dbus-core: /usr/lib/libdbus-1.so.3.5.7 exists in filesystem
dbus-core: /usr/share/doc/dbus/dbus-faq.html exists in filesystem
dbus-core: /usr/share/doc/dbus/dbus-specification.html exists in filesystem
dbus-core: /usr/share/doc/dbus/dbus-test-plan.html exists in filesystem
dbus-core: /usr/share/doc/dbus/dbus-tutorial.html exists in filesystem
dbus-core: /usr/share/doc/dbus/diagram.png exists in filesystem
dbus-core: /usr/share/doc/dbus/diagram.svg exists in filesystem
dbus-core: /usr/share/doc/dbus/system-activation.txt exists in filesystem
diffutils: /usr/share/info/diffutils.info.gz exists in filesystem
gawk: /bin/gawk-4.0.0 exists in filesystem
gawk: /usr/bin/dgawk exists in filesystem
gawk: /usr/bin/pgawk-4.0.0 exists in filesystem
gawk: /usr/share/awk/quicksort.awk exists in filesystem
gawk: /usr/share/awk/walkarray.awk exists in filesystem
gawk: /usr/share/locale/fi/LC_MESSAGES/gawk.mo exists in filesystem
module-init-tools: /usr/share/man/man5/depmod.d.5.gz exists in filesystem
module-init-tools: /usr/share/man/man5/modules.dep.bin.5.gz exists in filesystem
udev: /lib/libudev.so.0.12.0 exists in filesystem
udev: /lib/modprobe.d/framebuffer_blacklist.conf exists in filesystem
udev: /lib/udev/accelerometer exists in filesystem
udev: /lib/udev/rules.d/61-accelerometer.rules exists in filesystem
udev: /lib/udev/rules.d/70-udev-acl.rules exists in filesystem
iproute2: /etc/iproute2/group exists in filesystem
initscripts: /etc/logrotate.d/bootlog exists in filesystem
initscripts: /usr/lib/initscripts/arch-tmpfiles exists in filesystem
initscripts: /usr/lib/tmpfiles.d/arch.conf exists in filesystem
linux-firmware: /lib/firmware/ar3k/30101coex/PS_ASIC.pst exists in filesystem
linux-firmware: /lib/firmware/ar3k/30101coex/PS_ASIC_aclHighPri.pst exists in filesystem
linux-firmware: /lib/firmware/ar3k/30101coex/PS_ASIC_aclLowPri.pst exists in filesystem
linux-firmware: /lib/firmware/ar3k/30101coex/RamPatch.txt exists in filesystem
linux-firmware: /lib/firmware/ar3k/30101coex/ar3kbdaddr.pst exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/athwlan.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.SD31.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.SD32.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/bdata.WB31.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/data.patch.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/endpointping.bin exists in filesystem
linux-firmware: /lib/firmware/ath6k/AR6003.1/hw2.1.1/otp.bin exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e1-7.0.20.0.fw exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e1-7.0.23.0.fw exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e1h-7.0.20.0.fw exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e1h-7.0.23.0.fw exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e2-7.0.20.0.fw exists in filesystem
linux-firmware: /lib/firmware/bnx2x/bnx2x-e2-7.0.23.0.fw exists in filesystem
linux-firmware: /lib/firmware/cis/src/3CCFEM556.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/3CXEM556.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/COMpad2.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/COMpad4.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/DP83903.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/LA-PCM.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/MT5634ZLX.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/NE2K.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/PCMLM28.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/PE-200.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/PE520.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/RS-COM-2P.cis exists in filesystem
linux-firmware: /lib/firmware/cis/src/tamarack.cis exists in filesystem
linux-firmware: /lib/firmware/dvb-usb-terratec-h5-drxk.fw exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/ms_init.bin exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/ms_rdwr.bin exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/msp_rdwr.bin exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/sd_init1.bin exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/sd_init2.bin exists in filesystem
linux-firmware: /lib/firmware/ene-ub6250/sd_rdwr.bin exists in filesystem
linux-firmware: /lib/firmware/libertas/cf8381.bin exists in filesystem
linux-firmware: /lib/firmware/libertas/cf8381_helper.bin exists in filesystem
linux-firmware: /lib/firmware/libertas/lbtf_sdio.bin exists in filesystem
linux-firmware: /lib/firmware/libertas/lbtf_usb.bin exists in filesystem
linux-firmware: /lib/firmware/libertas/usb8388_olpc.bin exists in filesystem
linux-firmware: /lib/firmware/radeon/SUMO2_me.bin exists in filesystem
linux-firmware: /lib/firmware/radeon/SUMO2_pfp.bin exists in filesystem
linux-firmware: /lib/firmware/radeon/SUMO_me.bin exists in filesystem
linux-firmware: /lib/firmware/radeon/SUMO_pfp.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl127x-fw-3.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl127x-fw-plt-3.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl127x-nvs.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl128x-fw-3.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl128x-fw-plt-3.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl128x-nvs.bin exists in filesystem
linux-firmware: /lib/firmware/ti-connectivity/wl12xx-nvs.bin exists in filesystem
linux-firmware: /usr/share/licenses/linux-firmware/LICENCE.OLPC exists in filesystem
linux-firmware: /usr/share/licenses/linux-firmware/LICENCE.ene_firmware exists in filesystem
libgcrypt: /lib/libgcrypt.so.11.7.0 exists in filesystem
libgcrypt: /usr/share/info/gcrypt.info-1.gz exists in filesystem
linux-api-headers: /usr/include/linux/media.h exists in filesystem
linux-api-headers: /usr/include/linux/mmc/ioctl.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_bitmap.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_hash.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_list.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_AUDIT.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_addrtype.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_devgroup.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_set.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_socket.h exists in filesystem
linux-api-headers: /usr/include/linux/omap3isp.h exists in filesystem
linux-api-headers: /usr/include/linux/ptp_clock.h exists in filesystem
linux-api-headers: /usr/include/linux/usb/functionfs.h exists in filesystem
linux-api-headers: /usr/include/linux/uvcvideo.h exists in filesystem
linux-api-headers: /usr/include/linux/v4l2-mediabus.h exists in filesystem
linux-api-headers: /usr/include/linux/v4l2-subdev.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_cm.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_sa.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_verbs.h exists in filesystem
linux-api-headers: /usr/include/rdma/rdma_netlink.h exists in filesystem
linux-api-headers: /usr/include/rdma/rdma_user_cm.h exists in filesystem
syslog-ng: /lib/systemd/system/syslog-ng.service exists in filesystem
Errors occurred, no packages were upgraded.

Last edited by keen90 (2011-09-04 16:49:15)

Offline

#10 2011-09-04 16:31:43

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

Moved the Xserver problem to

https://bbs.archlinux.org/viewtopic.php … 12#p986612

since I was not related to the headline any more

Last edited by keen90 (2011-09-05 09:06:02)

Offline

#11 2011-09-05 08:50:44

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

I admit the Xorg issue does not belong here, so I'll put that into a new thread. (Already moved)

Whereas I think the pacman problem is a consequence of copying the hard drive. Should I force pacman?
I've seen the sticky post in the forum about this error message, but I don't not what exactly caused this error messages.

Last edited by keen90 (2011-09-05 09:05:33)

Offline

#12 2011-09-05 09:39:55

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: Best way to clone a installation

I immediately thought of CloneZilla http://clonezilla.org/ which is specifically designed to backup, restore, clone etc. I haven't used it myself but it is very highly rated so I've read in Linux Format etc.

Offline

#13 2011-09-10 14:33:17

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

I still have problems using the
cp -a
method.

Say I have a installation on disk A. And I want to clone this installation to disk B.
What I did is:
Use live CD to install arch on B.
Backup /etc/rc.conf, /etc/host, /boot/syslinux/syslinux.cfg, /etc/fstab
copy all data from A/boot A/home A/bin A/etc A/lib A/opt A/root A/sbin A/usr to B
restore the 4 backed up files on B

When I then try to boot from B I get the message:
"Waiting 10 seconds for /dev/disk/by-uuid/THE_UUID_IS_HERE"

Then it times out and I end in some kind of minimal emergency bash

I checked the UUID. It's fine, the device is there. The UUID points to B's third partition
I tried to point to the device directly (/dev/sda3). But the same timeout occurs.

So I suppose I copy a file to much. Which one might that be?

Oh and by the way I do NOT use grub but the extlinux aka syslinux bootloader

Last edited by keen90 (2011-09-10 14:34:29)

Offline

#14 2011-09-10 22:59:17

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Best way to clone a installation

I suggest taking a look at rsnapshot, especially since we are on a rolling-release distro. rsnapshot allows automatic backup and is very configurable; it uses rsync to make the backup, and rsync itself is an incremental backup option- you dont have to redo all 7GB of your / everytime you backup, but instead rsync will only change what has been changed. This is good for something like Arch where everyday youre getting at least a few updates- rsnapshot makes backing up such small changes a breeze.

It is also quite easy to use rsnapshot for backups over a lan (to a data server), ssh, etc. I actually found out about it asking in the #archlinux freenode irc channel..

Good luck..

Offline

#15 2011-09-10 23:09:51

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

I used mirrordir (on crux linux), but I'm confident rsync is a splendid tool, too. But I cannot use any mirror utilities as long as I dont know exactly which files to mirror (and especially which not) so if anyone knows what I am doing wrong, please tell me.

Thanks in advance

Offline

#16 2011-09-10 23:10:14

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: Best way to clone a installation

rsync -avxHAXS --delete --progress / /new-root

never failed me , i actually take this from best wiki ever!
I have done this method several times, just one quick note !!! -for "x" option

Note that by using the -x option you are limiting rsync to a single file system. If you have a more traditional file system layout, with different partitions for /boot, /home, and perhaps others, you will need to rsync those file systems separately. For example:

[root@arch ~]# rsync -avxHAXS --delete --progress /boot /mnt/new-raid/boot
[root@arch ~]# rsync -avxHAXS --delete --progress /home /mnt/new-raid/home

quote is from wiki also


O' rly ? Ya rly Oo

Offline

#17 2011-09-12 18:46:08

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

For now I know the mysterious file is located in /boot, since my clone starts up when I copy:
/bin /etc /lib /opt /root /sbin /usr and ignore /boot

Whereas I still get the pacman errors (for many many files):

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] 
resolving dependencies...
looking for inter-conflicts...

Targets (3): linux-api-headers-3.0.1-1  glibc-2.14-6  pacman-3.5.4-4

Total Download Size:    0.00 MB
Total Installed Size:   38.58 MB

Proceed with installation? [Y/n] checking package integrity...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
linux-api-headers: /usr/include/linux/media.h exists in filesystem
linux-api-headers: /usr/include/linux/mmc/ioctl.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_bitmap.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_hash.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/ipset/ip_set_list.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_AUDIT.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_addrtype.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_devgroup.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_set.h exists in filesystem
linux-api-headers: /usr/include/linux/netfilter/xt_socket.h exists in filesystem
linux-api-headers: /usr/include/linux/omap3isp.h exists in filesystem
linux-api-headers: /usr/include/linux/ptp_clock.h exists in filesystem
linux-api-headers: /usr/include/linux/usb/functionfs.h exists in filesystem
linux-api-headers: /usr/include/linux/uvcvideo.h exists in filesystem
linux-api-headers: /usr/include/linux/v4l2-mediabus.h exists in filesystem
linux-api-headers: /usr/include/linux/v4l2-subdev.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_cm.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_sa.h exists in filesystem
linux-api-headers: /usr/include/rdma/ib_user_verbs.h exists in filesystem
linux-api-headers: /usr/include/rdma/rdma_netlink.h exists in filesystem
linux-api-headers: /usr/include/rdma/rdma_user_cm.h exists in filesystem
glibc: /lib/ld-2.14.so exists in filesystem
glibc: /lib/libBrokenLocale-2.14.so exists in filesystem
glibc: /lib/libanl-2.14.so exists in filesystem
glibc: /lib/libc-2.14.so exists in filesystem
glibc: /lib/libcidn-2.14.so exists in filesystem
glibc: /lib/libcrypt-2.14.so exists in filesystem
glibc: /lib/libdl-2.14.so exists in filesystem
glibc: /lib/libm-2.14.so exists in filesystem
glibc: /lib/libnsl-2.14.so exists in filesystem
glibc: /lib/libnss_compat-2.14.so exists in filesystem
glibc: /lib/libnss_dns-2.14.so exists in filesystem
glibc: /lib/libnss_files-2.14.so exists in filesystem
glibc: /lib/libnss_hesiod-2.14.so exists in filesystem
glibc: /lib/libnss_nis-2.14.so exists in filesystem
glibc: /lib/libnss_nisplus-2.14.so exists in filesystem
glibc: /lib/libpthread-2.14.so exists in filesystem
glibc: /lib/libresolv-2.14.so exists in filesystem
glibc: /lib/librt-2.14.so exists in filesystem
glibc: /lib/libutil-2.14.so exists in filesystem
glibc: /usr/bin/sotruss exists in filesystem
glibc: /usr/include/bits/timex.h exists in filesystem
glibc: /usr/lib/audit/sotruss-lib.so exists in filesystem
glibc: /usr/lib/gconv/CP770.so exists in filesystem
glibc: /usr/lib/gconv/CP771.so exists in filesystem
glibc: /usr/lib/gconv/CP772.so exists in filesystem
glibc: /usr/lib/gconv/CP773.so exists in filesystem
glibc: /usr/lib/gconv/CP774.so exists in filesystem
glibc: /usr/share/i18n/charmaps/CP770.gz exists in filesystem
glibc: /usr/share/i18n/charmaps/CP771.gz exists in filesystem
glibc: /usr/share/i18n/charmaps/CP772.gz exists in filesystem
glibc: /usr/share/i18n/charmaps/CP773.gz exists in filesystem
glibc: /usr/share/i18n/charmaps/CP774.gz exists in filesystem
glibc: /usr/share/i18n/locales/bem_ZM exists in filesystem
glibc: /usr/share/i18n/locales/en_ZM exists in filesystem
glibc: /usr/share/i18n/locales/ff_SN exists in filesystem
glibc: /usr/share/i18n/locales/lb_LU exists in filesystem
glibc: /usr/share/i18n/locales/lij_IT exists in filesystem
glibc: /usr/share/i18n/locales/mhr_RU exists in filesystem
glibc: /usr/share/i18n/locales/os_RU exists in filesystem
glibc: /usr/share/i18n/locales/sw_KE exists in filesystem
glibc: /usr/share/i18n/locales/sw_TZ exists in filesystem
glibc: /usr/share/i18n/locales/wae_CH exists in filesystem
glibc: /usr/share/i18n/locales/yue_HK exists in filesystem
pacman: /usr/lib/libalpm.so.6.0.4 exists in filesystem
Errors occurred, no packages were upgraded.

Any ideas on the pacman Issue?

Last edited by keen90 (2011-09-12 18:48:35)

Offline

#18 2011-09-13 11:17:51

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: Best way to clone a installation

Got it. I was missing /var/lib/pacman/...
Whereas it is necessary to remove this directory in advance (or use a mirror tool) since otherwise it ends up with duplicated database entries

Offline

Board footer

Powered by FluxBB