You are not logged in.
hi
I have log directory on my classic hdd, so on SSD I have link for /var/log
ll /var
total 36
drwxr-xr-x 10 root root 4096 nov 23 2013 cache
drwxr-xr-x 3 root root 4096 feb 11 21:33 db
drwxr-xr-x 2 root root 4096 máj 31 2013 empty
drwxrwxr-x 2 root games 4096 nov 19 2013 games
drwxr-xr-x 30 root root 4096 feb 11 08:45 lib
drwxr-xr-x 2 root root 4096 máj 31 2013 local
lrwxrwxrwx 1 root root 11 okt 25 20:41 lock -> ../run/lock
lrwxrwxrwx 1 root root 16 dec 2 2013 log -> /mnt/hdd/var/log
lrwxrwxrwx 1 root root 10 okt 25 20:41 mail -> spool/mail
drwxr-xr-x 2 root root 4096 máj 31 2013 opt
lrwxrwxrwx 1 root root 6 okt 25 20:41 run -> ../run
drwxr-xr-x 5 root root 4096 jan 19 09:54 spool
drwxrwxrwt 7 root root 4096 feb 11 21:34 tmpand here is log dir
ll /var/log/
total 1956
-rw------- 1 root utmp 0 feb 1 09:35 btmp
-rw------- 1 root utmp 1152 jan 22 11:01 btmp.1
drwxr-xr-x 2 root root 4096 nov 22 2013 cpufreq-bench
-rw------- 1 root root 32032 feb 10 16:46 faillog
drwx--x--x 2 root gdm 4096 apr 13 2014 gdm
drwxr-sr-x+ 4 root systemd-journal 4096 aug 27 07:40 journal
-rw-r--r-- 1 root root 292292 feb 6 10:43 lastlog
-rw-r--r-- 1 root root 916237 feb 11 21:44 pacman.log
drwxr-xr-x 2 root root 4096 okt 27 2013 speech-dispatcher
-rw-rw-r-- 1 root utmp 910848 feb 11 21:29 wtmp
-rw-r--r-- 1 root root 38967 apr 15 2014 Xorg.0.log
-rw-r--r-- 1 root root 33246 apr 13 2014 Xorg.0.log.oldwhile I am updating cups I am geeting this error:
error: failed to commit transaction (conflicting files)
cups: /var/log exists in filesystem
Errors occurred, no packages were upgraded.so I did remove cups and then delete /var/log/cups and trying to install it. But same error popup
pacman -S cups
resolving dependencies...
looking for conflicting packages...
Packages (1) cups-2.0.2-1
Total Installed Size: 13,27 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
error: failed to commit transaction (conflicting files)
cups: /var/log exists in filesystem
Errors occurred, no packages were upgraded.thanks for any help / tip how to solve this.
Last edited by jancici (2015-02-11 21:21:17)
Offline
Use a bind mount rather than a symlink.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
thanks very much, it is working now
Last edited by jancici (2015-02-11 21:21:01)
Offline