pacman -Syyu chưa từng gặp

8 views
Skip to first unread message

maikhai

unread,
Jun 4, 2013, 6:00:33 AM6/4/13
to archl...@googlegroups.com
[cobh@cobh ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
core 102.3 KiB 187K/s 00:01 [######################] 100%
extra 1431.7 KiB 300K/s 00:05 [######################] 100%
community 1959.7 KiB 304K/s 00:06 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (55): bash-4.2.045-4 bluez-4.101-2 caribou-0.4.11-1
coreutils-8.21-2 cryptsetup-1.6.1-2 device-mapper-2.02.98-4
dhclient-4.2.5.p1-2 dhcpcd-5.6.8-3 e2fsprogs-1.42.7-2
filesystem-2013.05-2 fuse-2.9.2-3 gcc-4.8.1-1
gcc-libs-4.8.1-1 gconf-3.2.6-2 gdm-3.8.1.1-2 giflib-4.2.1-2
glibc-2.17-6 gnome-bluetooth-3.8.1-1 inetutils-1.9.1-6
iproute2-3.9.0-2 iptables-1.4.19.1-1 kmod-13-2
libatasmart-0.19-2 libgdm-3.8.1.1-2 libltdl-2.4.2-9
libmbim-1.0.0-1 libogg-1.3.1-1 libsasl-2.1.26-4
libtool-2.4.2-9 lightdm-gtk3-greeter-1:1.6.0-1 lsof-4.87-2
lvm2-2.02.98-4 modemmanager-0.7.990-5
net-tools-1.60.20130531git-1 networkmanager-0.9.8.0-4
obex-data-server-0.4.6-7 pm-utils-1.4.1-6 ppp-2.4.5-6
rtmpdump-20121203-2 sed-4.2.2-3 shadow-4.1.5.1-6
strigi-0.7.8-3 systemd-204-3 systemd-sysvcompat-204-3
sysvinit-tools-2.88-11 tar-1.26-4 tor-0.2.3.25-2
udisks2-2.1.0-3 usbmuxd-1.0.8-2 util-linux-2.23.1-2
v4l-utils-0.9.5-2 wicd-1.7.2.4-7 wpa_actiond-1.4-2
wpa_supplicant-2.0-4 zvbi-0.2.33-6

Total Installed Size: 227.56 MiB
Net Upgrade Size: -2.73 MiB

:: Proceed with installation? [Y/n]
(55/55) checking keys in keyring [######################] 100%
(55/55) checking package integrity [######################] 100%
(55/55) loading package files [######################] 100%
(55/55) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
[cobh@cobh ~]$

Thấy vậy thì biết vậy, không hiểu gì hết :)

Anh K. Huynh

unread,
Jun 4, 2013, 6:03:46 AM6/4/13
to archl...@googlegroups.com
On Tue, 4 Jun 2013 03:00:33 -0700 (PDT)
maikhai <mkh...@gmail.com> wrote:

> error: failed to commit transaction
> (conflicting files) filesystem: /bin exists in filesystem
> filesystem: /sbin exists in filesystem filesystem: /usr/sbin exists
> in filesystem Errors occurred, no packages were upgraded.
> [cobh@cobh ~]$
>
> Thấy vậy thì biết vậy, không hiểu gì hết :)
>

đây bác https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/


--
I am ... 5 dog years old.

maikhai

unread,
Jun 4, 2013, 7:35:49 AM6/4/13
to archl...@googlegroups.com
Bị cái này:
[cobh@cobh ~]$ sudo paclist <repo> | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/'
bash: syntax error near unexpected token `|'




--
List uri: https://groups.google.com/group/archlinuxvn
List rules and others: http://archlinuxvn.org/vn/lists/
---
You received this message because you are subscribed to a topic in the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/archlinuxvn/D8LxFRmxMeA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to archlinuxvn...@googlegroups.com.





--
m k h _ s g n

maikhai

unread,
Jun 4, 2013, 7:38:27 AM6/4/13
to archl...@googlegroups.com
Bỏ lơ cái error vừa bị, cứ chạy tưới 3 dòng
# pacman -Syu --ignore filesystem,bash # pacman -S bash # pacman -Su
thì thấy hệ thống cũng chạy hùng hục như trâu. Vậy là sao hè? Trâu thật ta!


On Tue, Jun 4, 2013 at 5:03 PM, Anh K. Huynh <xky...@gmail.com> wrote:
--
List uri: https://groups.google.com/group/archlinuxvn
List rules and others: http://archlinuxvn.org/vn/lists/
---
You received this message because you are subscribed to a topic in the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/archlinuxvn/D8LxFRmxMeA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to archlinuxvn...@googlegroups.com.


Anh K. Huynh

unread,
Jun 4, 2013, 7:47:34 AM6/4/13
to archl...@googlegroups.com
On Tue, 4 Jun 2013 18:35:49 +0700
maikhai <mkh...@gmail.com> wrote:

> Bị cái này:
> [cobh@cobh ~]$ sudo paclist <repo> | awk ' { print $1 } ' | pacman
> -Ql - | grep ' /s\?bin/\| /usr/sbin/'
> bash: syntax error near unexpected token `|'

hehe nó mà chạy được thì cũng sẽ phá tanh bày thôi may cho bác :D

Kenny Lê

unread,
Jun 4, 2013, 9:40:21 AM6/4/13
to archl...@googlegroups.com
theo em được biết thì /bin và /sbin chứa binaries cần thiết cho hệ thống. vậy move /bin /sbin to /bin /sbin có ý nghĩa gì? mọi người phân tích giúp em với :)


You received this message because you are subscribed to the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archlinuxvn...@googlegroups.com.



Anh K. Huynh

unread,
Jun 4, 2013, 11:33:01 AM6/4/13
to archl...@googlegroups.com
On Tue, 4 Jun 2013 20:40:21 +0700
Kenny Lê <lehoa...@gmail.com> wrote:

> theo em được biết thì /bin và /sbin chứa binaries cần thiết cho hệ
> thống. vậy move /bin /sbin to /bin /sbin có ý nghĩa gì? mọi người
> phân tích giúp em với :)

Cấu trúc các thư mục trong hệ thống Linux tuân theo FHS phiên bản 2
(có từ năm 2004). Hiện giờ phiên bản 3 mới đang ở Draft.

Cùng với việc RedHat team (cụ thể hơn là đội FC) chuyển qua dùng systemd,
các thư mục cũ trở nên bất hợp lý hơn, vừa thiếu vừa thừa. Do đó,
dẫn tới việc gộp chung /lib/ và /usr/lib (đã làm), và nay là /bin/ và
/usr/bin/ . Việc này tính ra cũng hợp lý, vì việc chia ra chỉ có ý
nghĩa với một số hệ thống và với người làm `distro`, còn người dùng
khó phân biệt hay cảm nhận được. Tuy nhiên, các thay đổi này không tuân
theo các quy chuẩn nào. Đây cũng là mặc tính cực sẽ thúc đẩy phiên
bản kế tiếp của FHS, nhưng nó cũng gây ra nhiều cuộc chiến `tương tàn`
trên mạng :)

Đối với các bạn dùng Linux thì đây là dịp để thử khả năng `migration`
hệ thống của các bạn đấy. :P

Ngô Huy

unread,
Jun 4, 2013, 11:41:02 AM6/4/13
to archl...@googlegroups.com



2013/6/4 Kenny Lê <lehoa...@gmail.com>

theo em được biết thì /bin và /sbin chứa binaries cần thiết cho hệ thống. vậy move /bin /sbin to /bin /sbin có ý nghĩa gì? mọi người phân tích giúp em với :)

chính xác là

{bin,sbin}  -> /usr/bin
/usr/sbin -> /usr/bin

đồng thời cập nhật /etc/profile

# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH


You received this message because you are subscribed to the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archlinuxvn...@googlegroups.com.



--
List uri: https://groups.google.com/group/archlinuxvn
List rules and others: http://archlinuxvn.org/vn/lists/
---
You received this message because you are subscribed to the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archlinuxvn...@googlegroups.com.
 
 



--

'Tình yêu là sự cố gắng của một người để chỉ yêu thương một người mà thôi.'


maikhai

unread,
Jun 4, 2013, 7:56:42 PM6/4/13
to archl...@googlegroups.com
Thánh nhân đãi kẻ khù khờ mà. Lần sau gặp nữa sẽ tránh xa.
:)

On Tue, Jun 4, 2013 at 6:47 PM, Anh K. Huynh <xky...@gmail.com> wrote:
hehe nó mà chạy được thì cũng sẽ phá tanh bày thôi may cho bác :D


--
I am ... 5 dog years old.

--
List uri: https://groups.google.com/group/archlinuxvn
List rules and others: http://archlinuxvn.org/vn/lists/
---
You received this message because you are subscribed to a topic in the Google Groups "ArchLinux for Vietnamese" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/archlinuxvn/D8LxFRmxMeA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to archlinuxvn...@googlegroups.com.


Reply all
Reply to author
Forward
0 new messages