You are not logged in.
Pages: 1
when i do "pacman -Syu"
pacman can't created the repo cache and "/var" dir will change to readyonly. I'm sure it's "rw" before i do this cmd.
Offline
Need exact error. "LC_ALL=C pacman -Syu"
Offline
Thanks! Scimmia.
[gondor@gyc-m ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=2002360k,nr_inodes=500590,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sdb2 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/sdb5 on /var type reiserfs (rw,relatime)
/dev/sdb3 on /home type reiserfs (rw,relatime)[gondor@gyc-m ~]$ sudo LC_ALL=C pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxcn is up to date
:: Starting full system upgrade...
warning: sublime-text: local (2.0.1-3) is newer than archlinuxcn (2.0.1-2)
resolving dependencies...
looking for inter-conflicts...
Packages (16): automake-1.14-1 chmsee-2.0.1-1 colord-1.0.1-1 curl-7.31.0-1 firefox-22.0-1 freetype2-ubuntu-2.5.0.1-2 git-1.8.3.2-1 grub-2.00.5043-2 gtkmm-2.24.4-1
isl-0.12-1 libwebp-0.3.1-1 linux-3.9.8-1 lirc-utils-1:0.9.0-49 man-db-2.6.5-1 pacman-mirrorlist-20130626-1 xulrunner-22.0-1
Total Download Size: 89.40 MiB
Total Installed Size: 296.21 MiB
Net Upgrade Size: 7.71 MiB
:: Proceed with installation? [Y/n] y
warning: couldn't find or create package cache, using /tmp/ instead
:: Retrieving packages ...
curl-7.31.0-1-x86_64 525.4 KiB 284K/s 00:02 [###############################################################] 100%
grub-2.00.5043-2-x86_64 4.9 MiB 257K/s 00:20 [###############################################################] 100%
isl-0.12-1-x86_64 707.5 KiB 262K/s 00:03 [###############################################################] 100%
linux-3.9.8-1-x86_64 45.5 MiB 253K/s 03:04 [###############################################################] 100%
man-db-2.6.5-1-x86_64 364.4 KiB 274K/s 00:01 [###############################################################] 100%
pacman-mirrorlist-20130626-1-any 2.7 KiB 0.00B/s 00:00 [###############################################################] 100%
xulrunner-22.0-1-x86_64 30.8 MiB 256K/s 02:03 [###############################################################] 100%
colord-1.0.1-1-x86_64 431.3 KiB 324K/s 00:01 [###############################################################] 100%
firefox-22.0-1-x86_64 21.7 MiB 249K/s 01:29 [###############################################################] 100%
git-1.8.3.2-1-x86_64 3.5 MiB 248K/s 00:14 [###############################################################] 100%
gtkmm-2.24.4-1-x86_64 1015.9 KiB 272K/s 00:04 [###############################################################] 100%
libwebp-0.3.1-1-x86_64 213.8 KiB 314K/s 00:01 [###############################################################] 100%
lirc-utils-1:0.9.0-49-x86_64 285.6 KiB 258K/s 00:01 [###############################################################] 100%
chmsee-2.0.1-1-x86_64 121.6 KiB 466K/s 00:00 [###############################################################] 100%
freetype2-ubuntu-2.5.0.1-2-x86_64 400.5 KiB 341K/s 00:01 [###############################################################] 100%
(16/16) checking keys in keyring [###############################################################] 100%
(16/16) checking package integrity [###############################################################] 100%
(16/16) loading package files [###############################################################] 100%
(16/16) checking for file conflicts [###############################################################] 100%
(16/16) checking available disk space [###############################################################] 100%
error: could not remove database entry automake-1.13.4-1
error: could not create directory /var/lib/pacman/local/automake-1.14-1/: Read-only file system
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
warning: could not remove lock file /var/lib/pacman/db.lck[gondor@gyc-m ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=2002360k,nr_inodes=500590,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sdb2 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/sdb5 on /var type reiserfs (ro,relatime)
/dev/sdb3 on /home type reiserfs (rw,relatime)Last edited by gdzhu (2013-06-30 13:57:07)
Offline
Interesting...
How about your fstab?
Offline
No more interesting!! ┭┮﹏┭┮
=================================
[gondor@gyc-m ~]$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdc2
UUID=53d01bce-f64b-4eca-b044-a55a109738a0 / ext4 rw,relatime,data=ordered 0 1
# /dev/sdc3
UUID=cb968839-b577-45af-8bf0-b6c64aeda668 /home reiserfs rw,relatime 0 2
# /dev/sdc5
UUID=25ffe704-f50b-4bfd-a227-3cad4646f50f /var reiserfs rw,relatime 0 2Last edited by gdzhu (2013-06-30 13:56:17)
Offline
gdzhu, please use [ code ] tags for posting pieces of code https://bbs.archlinux.org/help.php#bbcode
like thisOffline
All right
Offline
Have you tried checking the partition's file system for errors with fsck?
Last edited by cfr (2013-06-30 14:12:18)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
thanks cfr!!
I having tried checking the partition's file system just now, and find some errors.
I try doing fsck with rebuild-tree and repair, but now I can't login my system. /var is readonly, can't writing entry!
thank you very much, this problem is because of disk errors!
I will create a bootable usb stick to try to fix it .
Offline
Pages: 1