Saturday, July 14, 2012

Nhật ký ArchLinux - KISS

vì thích cái triết lý của Arch từ lâu mà đã down đĩa cài về. Install xong nhưng vứt 1 xó vì không có thời gian mò.


http://www.archlinux.org/

A simple, lightweight distribution 

the Arch Philosophy, perhaps best summarized by the acronym KISS for Keep It Simple, Stupid. 

nay lại chả muốn làm gì, ngồi nghịch arch tiếp cho vui :D 

 

sau khi search mỏi mắt cho 1 đống lỗi khi pacman -Syu . Xem lại bản mình down là từ hồi : 035_archlinux-2010.05-core-i686 dùng kernel 2.6 

còn giờ là : archlinux-2011.08.19-core-i686 dùng kernel 3.4.

Thôi đành down lại bản mới để khỏi tự làm khổ mình =.=

~~~~

down và cài Arch không có gì khó khăn cả...

sau khi cài xong phần core mới bắt đầu có vấn đề. Là người dùng Ubuntu chuyển sang, hay từ Debian chuyển lại, chắc hẳn bạn sẽ không biết phải làm gì để có 1 cái GUI để dùng.

Đoạn note take lúc cài GUI cho Arch, hầu hết có ở Wiki của ArchLinux, 1 trong những Wiki đầy đủ nhất:


First, you will need to install the X server with the package xorg-server,

 Tip: The easiest way to start X is by using a display manager such as GDM, KDM or SLiM.

error: failed to commit transaction (conflicting files) inetutils: /bin/dnssomainname exist in filesystem inetutils: /bin/domainname exist in filesystem inetutils: /bin/hostname exits in filesystem inetutils: /usr/share/man/man1/dnsdnomainname.1.gz exist in filesystem inetutils: /usr/share/man/man1/domainame.1.gz exist in filesystem inetutils: /usr/share/man/man1/hostname.1.gz exist in filesystem Errors occured, no packages were upgraded

It is possibly due to the fact that such files were moved from net-tools to inetutils. Try updating net-tools and inetutils together via

pacman -S net-tools inetutils

Why this is happening: pacman has detected a file conflict, and by design, will not overwrite files for you. This is a design feature, not a flaw.

The issue is usually trivial to solve. A safe way is to first check if another package owns the file (pacman -Qo /path/to/file). If the file is owned by another package, file a bug report. If the file is not owned by another package, rename the file which 'exists in filesystem' and re-issue the update command. If all goes well, the file may then be removed.

If you had installed a program manually without using pacman or a frontend, you have to remove it and all its files and reinstall properly using pacman.

Have you done a full upgrade yet/recently?

sudo pacman -Syu

Error message:

    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.7.0-3

First do

pacman -Syy

, update pacman:

pacman -S pacman

and then

#pacman -Su



 

 

No comments: