Jan 9, 2011

2011-01-09

globally turn on/off USE setting:
edit /etc/make.conf
read http://www.gentoo.org/doc/zh_tw/handbook/handbook-x86.xml?part=2&chap=2
http://jdev.tw/blog/2359/tomboy-notes-taking

http://web.nlhs.tyc.edu.tw/~lss/wiki/TiddlyWikiTutorialTW.html#

http://b-oo-k.net/blog/
老貓學出版,目前關站中。

~~~
emerge --unmerge
uninstalll all files except the configuration files you changed.
bad things: portage does not check other pkg which depends on the to-be-uninstalled pkg.
origin:'''When you remove a package from your system, the dependencies of that package that were installed automatically when you installed the software are left. To have Portage locate all dependencies that can now be removed, use emerge's --depclean functionality. We will talk about this later on. '''

[emerge --update world] 更新全系統
[emerge --update --ask world] 先問user再繼續
在我的系統,它只看gcc, glibc
[emerge --update --deep world] 更新系統上'''每一個'''套件
不過,用這個指令,它還是只看gcc, glibc
'''Portage will then search for newer version of the applications you have installed. However, it will only verify the versions for the applications you have explicitly installed (the applications listed in /var/lib/portage/world) - it does not thoroughly check their dependencies. If you want to update every single package on your system, add the --deep argument: '''
~~~
>> 目前的問題
* Error: circular dependencies:

('ebuild', '/', 'sys-devel/gcc-4.5.2', 'merge') depends on
('ebuild', '/', 'sys-libs/glibc-2.12.2', 'merge') (buildtime)
('ebuild', '/', 'sys-libs/glibc-2.12.2', 'merge') depends on
('ebuild', '/', 'sys-devel/gcc-4.5.2', 'merge') (buildtime)

[ebuild NS ] sys-devel/gcc-4.5.2 [4.1.2] USE="fortran gtk mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) -lto (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 64,810 kB
[ebuild U ] sys-libs/glibc-2.12.2 [2.6.1] USE="nls -debug -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 16,009 kB

church:
[ebuild R ] sys-devel/gcc-4.4.3-r2 USE="fortran gtk mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB
[ebuild R ] sys-libs/glibc-2.11.2 USE="gd nls -debug -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 0 kB
!!! The following installed packages are masked:
- dev-java/sun-jdk-1.4.2.18 (masked by: sun-bcla-java-vm license(s))
A copy of the 'sun-bcla-java-vm' license is located at '/usr/portage/licenses/sun-bcla-java-vm'.

- dev-java/sun-jdk-1.6.0.07 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

~~~
根據 http://forums.gentoo.org/viewtopic-t-812003-start-0.html
我做了emerge --nodeps gcc
~~
http://sky.csie.org/sky/archives/000093.html
http://wiki.gentoo.org.tw/index.php/Portage
home:http://wiki.gentoo.org.tw/index.php/Main_Page

ebuild 的字母代表意義:

retval = mergetask.merge()
File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 914, in merge
rval = self._merge()
File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1222, in _merge
self._main_loop()
File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1360, in _main_loop
while self._schedule():
File "/usr/lib/portage/pym/_emerge/PollScheduler.py", line 43, in _schedule
return self._schedule_tasks()
File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1391, in _schedule_tasks
if q.schedule():
File "/usr/lib/portage/pym/_emerge/SequentialTaskQueue.py", line 56, in schedule
task.start()
File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start
self._start()
File "/usr/lib/portage/pym/_emerge/MergeListItem.py", line 91, in _start
self._start_task(build, self._default_final_exit)
File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 119, in _start_task
task.start()
File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start
self._start()
File "/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 69, in _start
self._prefetch_exit(prefetcher)
File "/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 93, in _prefetch_exit
self._start_task(fetcher, self._fetch_exit)
File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 119, in _start_task
task.start()
File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start
self._start()
File "/usr/lib/portage/pym/_emerge/EbuildFetcher.py", line 44, in _start
self._build_dir.lock()
File "/usr/lib/portage/pym/_emerge/EbuildBuildDir.py", line 57, in lock
self._lock_obj = portage.locks.lockdir(dir_path)
File "/usr/lib/portage/pym/portage/locks.py", line 32, in lockdir
return lockfile(mydir,wantnewlockfile=1)
File "/usr/lib/portage/pym/portage/locks.py", line 71, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
File "/usr/lib/portage/pym/portage/__init__.py", line 228, in __call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 28] No space left on device: '/var/tmp/portage/sys-devel/.gcc-4.5.2.portage_lockfile'

~~
I don't know the reason. Reboot.

~~~
free inodes 只剩68,可能是 root cause
~~~
把一些目錄移走,終於騰出387個inodes,也解決了問題
~~~
Barton6 / # du --max-depth=1 -h
3.5M ./sbin
774M ./var
297M ./lib
2.1M ./etc
72K ./root
4.0K ./home
12K ./tmp
196K ./dev
27M ./boot
16K ./lost+found
5.6M ./bin
~~~
再一次
emerge --nodeps gcc
~~
http://truemovie.com/forum/viewtopic.php?t=19417&sid=e86c11b6666c66cbfd6370e27fe42c9f
~~~
http://www.fuplay.com/dvd catchplay 旗下?
http://www.ivideo.com.tw/rent_video/video_detail.asp?film_id=42956 不懂那個日期是???
http://www.deltamac.com.tw/Mall/newrelease.asp
http://www.mlvideo.com.tw/usa_video.asp
~~~
barton ~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 4.6G 2.2G 2.2G 51% /
udev 10M 240K 9.8M 3% /dev
shm 252M 0 252M 0% /dev/shm
/dev/hda1 4.6G 3.6G 850M 81% /root/p1
/dev/hda2 4.6G 2.9G 1.6G 65% /root/p2
/dev/hda3 4.6G 2.2G 2.2G 51% /root/p3
/dev/hda4 4.6G 1.4G 3.0G 32% /root/p4
/dev/hda5 4.6G 2.8G 1.7G 63% /root/p5
/dev/hda6 4.6G 3.5G 913M 80% /root/p6
/dev/hda7 4.6G 138M 4.3G 4% /root/p7
/dev/hda8 4.7G 138M 4.3G 4% /root/p8
~~~
barton ~ # resize2fs /dev/hda6 15G
resize2fs 1.41.12 (17-May-2010)
The containing partition (or device) is only 1220608 (4k) blocks.
You requested a new size of 3932160 blocks.

No comments:

Post a Comment