参考例 その1
nyantarou:~# apt-get install jless
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
jless
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 105kB of archives. After unpacking 206kB will be used.
Get:1 http://ring.asahi-net.or.jp stable/main jless 358-iso254-1 [105kB]
Fetched 105kB in 1s (102kB/s)
Selecting previously deselected package jless.
(Reading database ... 40890 files and directories currently installed.)
Unpacking jless (from .../jless_358-iso254-1_i386.deb) ...
Setting up jless (358-iso254-1) ...
参考例 その2 どじった 場合も 含む
nyantarou:~# apt-get install tcsh-kanji mutt-ja doc-linux-text-ja nvi-m17n-canna xemacs
21-mule-canna-wnn
Reading Package Lists... Done
Building Dependency Tree... Done
Package mutt-ja has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package mutt-ja has no installation candidate
lx:~# apt-get install tcsh-kanji doc-linux-text-ja nvi-m17n-canna xemacs21-mule-canna-wnn
lx:~# apt-get install tcsh-kanji doc-linux-text-ja nvi-m17n-canna xemacs21-mule-canna-wnn
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package doc-linux-text-ja
lx:~# apt-get install tcsh-kanji nvi-m17n-canna xemacs21-mule-canna-wnn
lx:~# apt-get install tcsh-kanji nvi-m17n-canna xemacs21-mule-canna-wnn
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libcompfaceg1 nvi-m17n-common xemacs21 xemacs21-basesupport xemacs21-bin
xemacs21-mulesupport xemacs21-support
The following packages will be REMOVED:
tcsh
The following NEW packages will be installed:
libcompfaceg1 nvi-m17n-canna nvi-m17n-common tcsh-kanji xemacs21
xemacs21-basesupport xemacs21-bin xemacs21-mule-canna-wnn
xemacs21-mulesupport xemacs21-support
0 packages upgraded, 10 newly installed, 1 to remove and 0 not upgraded.
Need to get 25.2MB of archives. After unpacking 75.1MB will be used.
Do you want to continue? [Y/n] y
.......
Setting up xemacs21 (21.4.6-8) ...
参考例 その3 どじった 場合も 含む
nyan@nyantarou:~$ apt-get install gimp
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
nyan@nyantarou:~$ su -
Password:
nyantarou:~# apt-get inatsll gimp
E: Invalid operation inatsll
lx:~# apt-get install gimp
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting gimp1.2 instead of gimp
Sorry, gimp1.2 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.