Difference between pages "System information" and "Apt-get"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
(example for troubleshooting)
 
Line 1: Line 1:
= What hardware do I have? =
+
root@Microknoppix:~# apt-get install cheese
This shows how to check what hardware is installed. It will remain the same after a reboot, but may change with a re-installation. Includes partitions.
+
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Some packages could not be installed. This may mean that you have
 +
requested an impossible situation or if you are using the unstable
 +
distribution that some required packages have not yet been created
 +
or been moved out of Incoming.
 +
The following information may help to resolve the situation:
  
== All hardware ==
+
The following packages have unmet dependencies:
[[hwinfo]] --all
+
  cheese: Depends: gstreamer0.10-plugins-good but it is not going to be installed
 +
E: Broken packages
 +
root@Microknoppix:~# apt-get install gstreamer0.10-plugins-good
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Some packages could not be installed. This may mean that you have
 +
requested an impossible situation or if you are using the unstable
 +
distribution that some required packages have not yet been created
 +
or been moved out of Incoming.
 +
The following information may help to resolve the situation:
  
== processor ==
+
The following packages have unmet dependencies:
[[hwinfo]] --cpu
+
  gstreamer0.10-plugins-good: Depends: libcucul0 (>= 0.99.beta14-1) but it is not going to be installed
 
+
E: Broken packages
== usb ==
+
root@Microknoppix:~# apt-get install libcucul0               
[[hwinfo]] --usb
+
Reading package lists... Done
 
+
Building dependency tree     
== hard disks ==
+
Reading state information... Done
[[hwinfo]] --block
+
The following packages were automatically installed and are no longer required:
 
+
  libopenal1 libavutil49 libosip2-4 libsrtp0 libdiscid0 liblircclient0
== partitions ==
+
  libavformat52 libschroedinger-1.0-0 mplayer-skin-blue libcdparanoia0
[[hwinfo]] --partition
+
  libexosip2-4 libavcodec52 liboil0.3 libdirac-encoder0 libortp8 libspeexdsp1
 
+
  libmusicbrainz3-6 libfaad2
== network cards ==
+
Use 'apt-get autoremove' to remove them.
[[hwinfo]] --netcard
+
The following extra packages will be installed:
 
+
  libatk1.0-0 libavcodec52 libavformat52 libavutil49 libortp8 libsrtp0
= What is happening on my hardware? =
+
Suggested packages:
This chapter shows how to keep control about what is happening on your hardware like running kernel and drivers, but also system log and network connections.
+
  srtp-utils
 
+
The following packages will be REMOVED:
== Kernel Information ==
+
  adriane adriane-multimedia gnome-mplayer libcaca0 liblinphone3
Running kernel
+
  libmediastreamer0 libpostproc51 libswscale0 linphone linphone-nox mplayer
uname -r
+
The following NEW packages will be installed:
all kernel information
+
  libcucul0 libsrtp0
uname -a
+
The following packages will be upgraded:
 
+
  libatk1.0-0 libavcodec52 libavformat52 libavutil49 libortp8
== Drivers ==
+
5 upgraded, 2 newly installed, 11 to remove and 622 not upgraded.
* list all device drivers (kernel modules)
+
Need to get 5263kB of archives.
[[lsmod]]
+
After this operation, 8520kB disk space will be freed.
 
+
Do you want to continue [Y/n]? Y
== Distribution ==
+
Get:1 http://ftp.de.debian.org testing/main libatk1.0-0 1.30.0-1 [82.4kB]
See [[find out your distribution]].
+
Get:2 http://ftp.de.debian.org testing/main libavformat52 4:0.5.2-5 [709kB]
 
+
Get:3 http://ftp.de.debian.org testing/main libavcodec52 4:0.5.2-5 [4001kB]
== System log ==
+
Get:4 http://ftp.de.debian.org testing/main libavutil49 4:0.5.2-5 [90.3kB]   
cat /var/log/messages
+
Get:5 http://ftp.de.debian.org stable/main libcucul0 0.99.beta14-1 [265kB]    
or
+
Get:6 http://ftp.de.debian.org testing/main libsrtp0 1.4.4~dfsg-6 [49.5kB]    
dmesg
+
Get:7 http://ftp.de.debian.org unstable/main libortp8 3.3.2-3 [65.6kB]       
 
+
Fetched 5263kB in 16s (329kB/s)                                               
== Network ==
+
(Reading database ... 88299 files and directories currently installed.)
Network connections:
+
Removing adriane ...
netstat -putan
+
Removing adriane-multimedia ...
 
+
Removing gnome-mplayer ...
ethtool
+
Removing mplayer ...
 
+
Removing libcaca0 ...
ifconfig
+
Removing linphone ...
 
+
Removing linphone-nox ...
route
+
Removing liblinphone3 ...
 
+
Removing libmediastreamer0 ...
ethereal
+
Removing libpostproc51 ...
 
+
Removing libswscale0 ...
iptraf
+
Processing triggers for menu ...
 
+
Processing triggers for man-db ...
== Uptime ==
+
Processing triggers for hicolor-icon-theme ...
uptime
+
(Reading database ... 88096 files and directories currently installed.)
 
+
Preparing to replace libatk1.0-0 1.28.0-1 (using .../libatk1.0-0_1.30.0-1_i386.deb) ...
== Mounts ==
+
Unpacking replacement libatk1.0-0 ...
* [[mount]]
+
Preparing to replace libavformat52 4:0.5+svn20090706-2+b1 (using .../libavformat52_4%3a0.5.2-5_i386.deb) ...
 
+
Unpacking replacement libavformat52 ...
= How much capacity is left? =
+
Preparing to replace libavcodec52 4:0.5+svn20090706-2+b1 (using .../libavcodec52_4%3a0.5.2-5_i386.deb) ...
 
+
Unpacking replacement libavcodec52 ...
== System load ==
+
Preparing to replace libavutil49 4:0.5+svn20090706-2+b1 (using .../libavutil49_4%3a0.5.2-5_i386.deb) ...
* [[xosview]]
+
Unpacking replacement libavutil49 ...
* [[top]]
+
Selecting previously deselected package libcucul0.
 
+
Unpacking libcucul0 (from .../libcucul0_0.99.beta14-1_i386.deb) ...
== temperature ==
+
Selecting previously deselected package libsrtp0.
* [[lm-sensors]]
+
Unpacking libsrtp0 (from .../libsrtp0_1.4.4~dfsg-6_i386.deb) ...
 
+
Preparing to replace libortp8 3.2.1-1 (using .../libortp8_3.3.2-3_i386.deb) ...
== hard disk ==
+
Unpacking replacement libortp8 ...
* [[vmstat]]
+
Setting up libatk1.0-0 (1.30.0-1) ...
 
+
Setting up libavutil49 (4:0.5.2-5) ...
== Memory ==
+
Setting up libavcodec52 (4:0.5.2-5) ...
* [[free]]
+
Setting up libavformat52 (4:0.5.2-5) ...
 
+
Setting up libcucul0 (0.99.beta14-1) ...
== hard disk ==
+
Setting up libsrtp0 (1.4.4~dfsg-6) ...
* Free harddisk space
+
Setting up libortp8 (3.3.2-3) ...
[[df]] -h
+
root@Microknoppix:~# apt-get install cheese
* [[du]] -csh
+
Reading package lists... Done
 
+
Building dependency tree     
= See also =
+
Reading state information... Done
* [[benchmarks]]
+
The following packages were automatically installed and are no longer required:
 +
  libopenal1 libavutil49 libosip2-4 libsrtp0 libdiscid0 liblircclient0
 +
  libavformat52 libschroedinger-1.0-0 mplayer-skin-blue libexosip2-4
 +
  libavcodec52 libdirac-encoder0 libortp8 libspeexdsp1 libmusicbrainz3-6
 +
  libfaad2
 +
Use 'apt-get autoremove' to remove them.
 +
The following extra packages will be installed:
 +
  gstreamer0.10-alsa gstreamer0.10-plugins-base gstreamer0.10-plugins-good
 +
  gstreamer0.10-x libavc1394-0 libcaca0 libcamel1.2-11 libcdio7 libdv4
 +
  libebook1.2-9 libedataserver1.2-9 libiec61883-0 libraw1394-8 libshout3
 +
  libtag1c2a libvisual-0.4-0 libvisual-0.4-plugins libwavpack1
 +
Suggested packages:
 +
  libdv-bin libraw1394-doc
 +
The following NEW packages will be installed:
 +
  cheese gstreamer0.10-alsa gstreamer0.10-plugins-base
 +
  gstreamer0.10-plugins-good gstreamer0.10-x libavc1394-0 libcaca0
 +
  libcamel1.2-11 libcdio7 libdv4 libebook1.2-9 libedataserver1.2-9
 +
  libiec61883-0 libraw1394-8 libshout3 libtag1c2a libvisual-0.4-0
 +
  libvisual-0.4-plugins libwavpack1
 +
0 upgraded, 19 newly installed, 0 to remove and 622 not upgraded.
 +
Need to get 7586kB of archives.
 +
After this operation, 14.0MB of additional disk space will be used.
 +
Do you want to continue [Y/n]?

Revision as of 05:43, 2 October 2010

root@Microknoppix:~# apt-get install cheese Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:

 cheese: Depends: gstreamer0.10-plugins-good but it is not going to be installed

E: Broken packages root@Microknoppix:~# apt-get install gstreamer0.10-plugins-good Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:

 gstreamer0.10-plugins-good: Depends: libcucul0 (>= 0.99.beta14-1) but it is not going to be installed

E: Broken packages root@Microknoppix:~# apt-get install libcucul0 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:

 libopenal1 libavutil49 libosip2-4 libsrtp0 libdiscid0 liblircclient0
 libavformat52 libschroedinger-1.0-0 mplayer-skin-blue libcdparanoia0
 libexosip2-4 libavcodec52 liboil0.3 libdirac-encoder0 libortp8 libspeexdsp1
 libmusicbrainz3-6 libfaad2

Use 'apt-get autoremove' to remove them. The following extra packages will be installed:

 libatk1.0-0 libavcodec52 libavformat52 libavutil49 libortp8 libsrtp0

Suggested packages:

 srtp-utils

The following packages will be REMOVED:

 adriane adriane-multimedia gnome-mplayer libcaca0 liblinphone3
 libmediastreamer0 libpostproc51 libswscale0 linphone linphone-nox mplayer

The following NEW packages will be installed:

 libcucul0 libsrtp0

The following packages will be upgraded:

 libatk1.0-0 libavcodec52 libavformat52 libavutil49 libortp8

5 upgraded, 2 newly installed, 11 to remove and 622 not upgraded. Need to get 5263kB of archives. After this operation, 8520kB disk space will be freed. Do you want to continue [Y/n]? Y Get:1 http://ftp.de.debian.org testing/main libatk1.0-0 1.30.0-1 [82.4kB] Get:2 http://ftp.de.debian.org testing/main libavformat52 4:0.5.2-5 [709kB] Get:3 http://ftp.de.debian.org testing/main libavcodec52 4:0.5.2-5 [4001kB] Get:4 http://ftp.de.debian.org testing/main libavutil49 4:0.5.2-5 [90.3kB] Get:5 http://ftp.de.debian.org stable/main libcucul0 0.99.beta14-1 [265kB] Get:6 http://ftp.de.debian.org testing/main libsrtp0 1.4.4~dfsg-6 [49.5kB] Get:7 http://ftp.de.debian.org unstable/main libortp8 3.3.2-3 [65.6kB] Fetched 5263kB in 16s (329kB/s) (Reading database ... 88299 files and directories currently installed.) Removing adriane ... Removing adriane-multimedia ... Removing gnome-mplayer ... Removing mplayer ... Removing libcaca0 ... Removing linphone ... Removing linphone-nox ... Removing liblinphone3 ... Removing libmediastreamer0 ... Removing libpostproc51 ... Removing libswscale0 ... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for hicolor-icon-theme ... (Reading database ... 88096 files and directories currently installed.) Preparing to replace libatk1.0-0 1.28.0-1 (using .../libatk1.0-0_1.30.0-1_i386.deb) ... Unpacking replacement libatk1.0-0 ... Preparing to replace libavformat52 4:0.5+svn20090706-2+b1 (using .../libavformat52_4%3a0.5.2-5_i386.deb) ... Unpacking replacement libavformat52 ... Preparing to replace libavcodec52 4:0.5+svn20090706-2+b1 (using .../libavcodec52_4%3a0.5.2-5_i386.deb) ... Unpacking replacement libavcodec52 ... Preparing to replace libavutil49 4:0.5+svn20090706-2+b1 (using .../libavutil49_4%3a0.5.2-5_i386.deb) ... Unpacking replacement libavutil49 ... Selecting previously deselected package libcucul0. Unpacking libcucul0 (from .../libcucul0_0.99.beta14-1_i386.deb) ... Selecting previously deselected package libsrtp0. Unpacking libsrtp0 (from .../libsrtp0_1.4.4~dfsg-6_i386.deb) ... Preparing to replace libortp8 3.2.1-1 (using .../libortp8_3.3.2-3_i386.deb) ... Unpacking replacement libortp8 ... Setting up libatk1.0-0 (1.30.0-1) ... Setting up libavutil49 (4:0.5.2-5) ... Setting up libavcodec52 (4:0.5.2-5) ... Setting up libavformat52 (4:0.5.2-5) ... Setting up libcucul0 (0.99.beta14-1) ... Setting up libsrtp0 (1.4.4~dfsg-6) ... Setting up libortp8 (3.3.2-3) ... root@Microknoppix:~# apt-get install cheese Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:

 libopenal1 libavutil49 libosip2-4 libsrtp0 libdiscid0 liblircclient0
 libavformat52 libschroedinger-1.0-0 mplayer-skin-blue libexosip2-4
 libavcodec52 libdirac-encoder0 libortp8 libspeexdsp1 libmusicbrainz3-6
 libfaad2

Use 'apt-get autoremove' to remove them. The following extra packages will be installed:

 gstreamer0.10-alsa gstreamer0.10-plugins-base gstreamer0.10-plugins-good
 gstreamer0.10-x libavc1394-0 libcaca0 libcamel1.2-11 libcdio7 libdv4
 libebook1.2-9 libedataserver1.2-9 libiec61883-0 libraw1394-8 libshout3
 libtag1c2a libvisual-0.4-0 libvisual-0.4-plugins libwavpack1

Suggested packages:

 libdv-bin libraw1394-doc

The following NEW packages will be installed:

 cheese gstreamer0.10-alsa gstreamer0.10-plugins-base
 gstreamer0.10-plugins-good gstreamer0.10-x libavc1394-0 libcaca0
 libcamel1.2-11 libcdio7 libdv4 libebook1.2-9 libedataserver1.2-9
 libiec61883-0 libraw1394-8 libshout3 libtag1c2a libvisual-0.4-0
 libvisual-0.4-plugins libwavpack1

0 upgraded, 19 newly installed, 0 to remove and 622 not upgraded. Need to get 7586kB of archives. After this operation, 14.0MB of additional disk space will be used. Do you want to continue [Y/n]?