Announcement

Collapse
No announcement yet.

review dependencies....

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    review dependencies....

    Hi there,

    am I not mistaken thinking Kubuntu shares dependencies system with Ubuntu?
    the only difference is that kubuntu-desktop virtual package has fully been installed and integrated...
    and of course all of the work that is needed in those extra packages included in kubuntu

    now I found something weird today... I was on a ubuntu-server system with not much of the xorg stuff installed.
    this is an amazon box that runs continuous integration testing with selenium. I have a xvfb running for firefox to load
    and that's it.

    now I needed to troubleshoot something, like firefox is jamming at some point for some reason... and I wonder how I could investigate this.
    I don't have much experience with xvfb, so it was not obvious at first, but then I thought about it and hey...

    I simply installed x11vnc, ran it from ssh toward my xvfb display and connect using my vnc client.
    right on !! I could troubleshoot my selenium/firefox issue.

    but seeing firefox with no window decoration. overlapping not entirely a black background was so sad... I thought. lets add kwin and make some joy in this life

    so I installed it

    Code:
    $ kwin
    The program 'kwin' is currently not installed.  To run 'kwin' please ask your administrator to install the package 'kde-window-manager'
    $ sudo apt-get install kde-window-manager
    dependencies all seemed to make sense and were as follow

    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      app-install-data apt-xapian-index aspell aspell-en dbus-x11 dictionaries-common exiv2 gdebi-core gdebi-kde ghostscript gsfonts hunspell-en-us icoutils install-package kdebase-runtime
      kdebase-runtime-data kdelibs-bin kdelibs5 kdelibs5-data kdepimlibs-data kdepimlibs5 kdesudo kpackagekit kubuntu-debug-installer libaa1 libakonadiprivate1 libaspell15 libattica0 libaudio2
      libboost-program-options1.40.0 libcaca0 libclucene0ldbl libcupsimage2 libdbusmenu-qt2 libenchant1c2a libexiv2-6 libgif4 libglu1-mesa libgpgme11 libgs8 libgudev-1.0-0 libhunspell-1.2-0 libical0
      libilmbase6 libiodbc2 libkdecorations4 libkephal4 libkwineffects1 libkworkspace4 liblcms1 libltdl7 libmagickcore2 libmagickwand2 libmng1 libmodplug0c2 libmpcdec3 libnm-glib2 libnm-util1 libopenexr6
      libpackagekit-glib2-12 libpackagekit-qt-12 libpaper-utils libpaper1 libphonon4 libplasma3 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-qt-1-0 libpth20 libqca2 libqt4-assistant libqt4-dbus
      libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml
      libqt4-xmlpatterns libqtcore4 libqtgui4 libraptor1 librasqal2 librdf0 libsdl1.2debian libsdl1.2debian-alsa libsmbclient libsoprano4 libspeex1 libssh-4 libstreamanalyzer0 libstreams0 libtalloc2
      libtheora0 libwavpack1 libwbclient0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x libxml2-utils libxss1 libxvmc1 oxygen-icon-theme
      packagekit packagekit-backend-apt phonon phonon-backend-xine plasma-scriptengine-javascript policykit-1 polkit-kde-1 psfontmgr python-debian python-kde4 python-packagekit python-qt4 python-sip
      python-xapian shared-desktop-ontologies software-properties-kde soprano-daemon ttf-dejavu ttf-dejavu-extra update-manager-kde virtuoso-nepomuk x11-xserver-utils xdg-utils
    Suggested packages:
      aspell-doc spellutils ispell emacsen-common jed-extra ghostscript-cups ghostscript-x hpijs hunspell openoffice.org-hunspell openoffice.org-core libterm-readline-gnu-perl libterm-readline-perl-perl
      djvulibre-bin hspell akonadi-server nas libenchant-voikko gpgsm liblcms-utils libmagickcore2-extra libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg libqca2-plugin-ossl libqca2-plugin-pkcs11 libqt4-dev
      qt4-qtconfig raptor-utils redland-utils librdf-storage-postgresql librdf-storage-mysql librdf-storage-sqlite speex gxine xine-ui libxine1-doc libxine-doc libxine1-ffmpeg phonon-backend-gstreamer
      phonon-backend-vlc phonon-backend-mplayer kcm-phonon-xine python-qt4-dbg xapian-doc nickle cairo-5c xorg-docs-core desktop-file-utils libgnome2-0 exo-utils libgnomevfs2-bin kdelibs4c2a konqueror
    The following NEW packages will be installed:
      app-install-data apt-xapian-index aspell aspell-en dbus-x11 dictionaries-common exiv2 gdebi-core gdebi-kde ghostscript gsfonts hunspell-en-us icoutils install-package kde-window-manager
      kdebase-runtime kdebase-runtime-data kdelibs-bin kdelibs5 kdelibs5-data kdepimlibs-data kdepimlibs5 kdesudo kpackagekit kubuntu-debug-installer libaa1 libakonadiprivate1 libaspell15 libattica0
      libaudio2 libboost-program-options1.40.0 libcaca0 libclucene0ldbl libcupsimage2 libdbusmenu-qt2 libenchant1c2a libexiv2-6 libgif4 libglu1-mesa libgpgme11 libgs8 libgudev-1.0-0 libhunspell-1.2-0
      libical0 libilmbase6 libiodbc2 libkdecorations4 libkephal4 libkwineffects1 libkworkspace4 liblcms1 libltdl7 libmagickcore2 libmagickwand2 libmng1 libmodplug0c2 libmpcdec3 libnm-glib2 libnm-util1
      libopenexr6 libpackagekit-glib2-12 libpackagekit-qt-12 libpaper-utils libpaper1 libphonon4 libplasma3 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-qt-1-0 libpth20 libqca2 libqt4-assistant
      libqt4-dbus libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml
      libqt4-xmlpatterns libqtcore4 libqtgui4 libraptor1 librasqal2 librdf0 libsdl1.2debian libsdl1.2debian-alsa libsmbclient libsoprano4 libspeex1 libssh-4 libstreamanalyzer0 libstreams0 libtalloc2
      libtheora0 libwavpack1 libwbclient0 libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x libxml2-utils libxss1 libxvmc1 oxygen-icon-theme
      packagekit packagekit-backend-apt phonon phonon-backend-xine plasma-scriptengine-javascript policykit-1 polkit-kde-1 psfontmgr python-debian python-kde4 python-packagekit python-qt4 python-sip
      python-xapian shared-desktop-ontologies software-properties-kde soprano-daemon ttf-dejavu ttf-dejavu-extra update-manager-kde virtuoso-nepomuk x11-xserver-utils xdg-utils
    0 upgraded, 139 newly installed, 0 to remove and 22 not upgraded.
    Need to get 106MB of archives.
    After this operation, 369MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    right on ! not a problem. and it's working.
    but I want more happiness.
    so I thought, lets get plasma-desktop running too

    Code:
    $ sudo apt-get install plasma-desktop
    well, you would think that most dependencies have already been installed when I installed the window manager right?
    I mean, what else can it be required for plasma that was not for kwin ?
    well maybe some plasma related lib, sure... but how about .... the following deps

    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      akonadi-server fancontrol intel-gpu-tools kdebase-workspace kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-kgreet-plugins kdepim-runtime kdm klipper ksysguard ksysguardd libkfontinst4
      libkscreensaver5 libksgrd4 libksignalplotter4 libplasma-applet-system-monitor4 libplasma-geolocation-interface4 libplasmaclock4 libplasmagenericshell4 libprocesscore4 libprocessui4 libqimageblitz4
      libsensors4 libsolidcontrol4 libsolidcontrolifaces4 libtaskmanager4 libweather-ion4 libxklavier16 libxxf86misc1 lm-sensors plasma-dataengines-workspace plasma-widgets-workspace systemsettings
      xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom
      xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
      xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv xserver-xorg-video-openchrome
      xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion
      xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware
      xserver-xorg-video-voodoo
    Suggested packages:
      plasma-scriptengines kdepasswd sensord read-edid i2c-tools xfonts-100dpi xfonts-75dpi xfonts-scalable gpointing-device-settings touchfreeze xinput firmware-linux
    The following NEW packages will be installed:
      akonadi-server fancontrol intel-gpu-tools kdebase-workspace kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-kgreet-plugins kdepim-runtime kdm klipper ksysguard ksysguardd libkfontinst4
      libkscreensaver5 libksgrd4 libksignalplotter4 libplasma-applet-system-monitor4 libplasma-geolocation-interface4 libplasmaclock4 libplasmagenericshell4 libprocesscore4 libprocessui4 libqimageblitz4
      libsensors4 libsolidcontrol4 libsolidcontrolifaces4 libtaskmanager4 libweather-ion4 libxklavier16 libxxf86misc1 lm-sensors plasma-dataengines-workspace plasma-desktop plasma-widgets-workspace
      systemsettings xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom
      xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
      xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv xserver-xorg-video-openchrome
      xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion
      xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware
      xserver-xorg-video-voodoo
    0 upgraded, 74 newly installed, 0 to remove and 22 not upgraded.
    Need to get 22.8MB of archives.
    After this operation, 71.5MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    this is simply crazy....
    i did not need xorg for kwin, but now I need it for plasma? that is just wrong...
    akonadi? well, I guess this is part of kdebase-workspace, but still shouldn't be required, although this is not too far fetch.
    fancontrol, kdepim, kdm, klipper, ksysguard, kscreenserver, are all obviously coming from a integrated kdebase-workspace. thats' fine.

    all of the xorg deps are the ones I find the most useless and stupid to install
    kdm might be the one fetching on xorg deps
    and kdm really could be mark as optional here.

    thank you

    #2
    Kubuntu is Ubuntu with the K desktop (and packages). The K desktop is designed for the end-user not for servers which do not need a GUI. In fact if your a "proper geek" you wouldn't need a GUI to use a computer but simply prefer to use the command line. I blame Microsoft for creating a dependency on GUI's which is why so many people (me included) cannot seem to operate a computer without one. I was very happy with DOS before I started using Windows.
    Last edited by Guest; Sep 19, 2012, 02:31 AM. Reason: added extra sentence at the end

    Comment


      #3
      Review...

      The Ubuntu Ecosystem

      The Ubuntu is a Debian derived Linux distribution. One of the Ubuntu recognised flavors is the Kubuntu: https://wiki.ubuntu.com/DerivativeTeam/Derivatives .


      Depends, Recommends, ...

      The Debian policy manual: http://www.debian.org/doc/debian-pol...tionships.html

      Depends

      This declares an absolute dependency...


      Recommends

      This declares a strong, but not absolute, dependency.
      The Recommends field should list packages that would be found together with this one in all but unusual installations...

      As default -Ubuntu 8.10 and later

      https://wiki.ubuntu.com/IntrepidRele...led_by_default
      Recommended packages installed by default

      In accordance with the Debian Policy Manual (which says "The 'Recommends' field should list packages that would be found together with this one in all but unusual installations"), the package management system now installs packages listed in the Recommends: field of other installed packages as well as Depends: by default. If you want to avoid this...

      simply crazy....


      this is simply crazy....
      i did not need xorg for kwin, but now I need it for plasma? that is just wrong...
      akonadi? well, I guess this is part of kdebase-workspace, but still shouldn't be required, although this is not too far fetch.
      fancontrol, kdepim, kdm, klipper, ksysguard, kscreenserver, are all obviously coming from a integrated kdebase-workspace. thats' fine.

      all of the xorg deps are the ones I find the most useless and stupid to install
      kdm might be the one fetching on xorg deps
      and kdm really could be mark as optional here.

      Looking packages:

      Package: plasma-desktop ( http://packages.ubuntu.com/precise/plasma-desktop )
      recommends: kde-workspace
      Package: kde-workspace ( http://packages.ubuntu.com/precise/kde-workspace )
      recommends: kdm
      Last edited by OneLine; Sep 19, 2012, 09:03 AM.
      Have you tried ?

      - How to Ask a Question on the Internet and Get It Answered
      - How To Ask Questions The Smart Way

      Comment


        #4
        Thank you ! exactly what I was looking for ...

        sudo apt-get --no-install-recommends install plasma-desktop
        from 98 down to 3 !!! WOW !!!!

        Code:
        $ sudo apt-get install plasma-desktop
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following extra packages will be installed:
          akonadi-server fancontrol intel-gpu-tools kdebase-workspace kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-kgreet-plugins kdepim-runtime kdepimlibs-data kdepimlibs5 kdm klipper ksysguard ksysguardd libakonadiprivate1 libboost-program-options1.40.0
          libgpgme11 libical0 libkfontinst4 libkscreensaver5 libksgrd4 libksignalplotter4 libplasma-applet-system-monitor4 libplasma-geolocation-interface4 libplasmaclock4 libplasmagenericshell4 libpolkit-backend-1-0 libprocesscore4 libprocessui4 libpth20 libqimageblitz4
          libqt4-assistant libqt4-help libqt4-scripttools libqt4-sql-mysql libqt4-test libsensors4 libsolidcontrol4 libsolidcontrolifaces4 libtaskmanager4 libweather-ion4 libxklavier16 libxxf86dga1 libxxf86misc1 lm-sensors phonon plasma-dataengines-workspace
          plasma-widgets-workspace policykit-1 polkit-kde-1 python-kde4 python-qt4 python-sip systemsettings x11-utils x11-xserver-utils xbitmaps xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse
          xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev
          xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon
          xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng
          xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo xterm
        Suggested packages:
          plasma-scriptengines kdepasswd gpgsm libqt4-dev sensord read-edid i2c-tools phonon-backend-gstreamer phonon-backend-vlc phonon-backend-mplayer python-qt4-dbg mesa-utils nickle cairo-5c xorg-docs-core xfonts-100dpi xfonts-75dpi xfonts-scalable
          gpointing-device-settings touchfreeze xinput firmware-linux xfonts-cyrillic
        The following NEW packages will be installed:
          akonadi-server fancontrol intel-gpu-tools kdebase-workspace kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-kgreet-plugins kdepim-runtime kdepimlibs-data kdepimlibs5 kdm klipper ksysguard ksysguardd libakonadiprivate1 libboost-program-options1.40.0
          libgpgme11 libical0 libkfontinst4 libkscreensaver5 libksgrd4 libksignalplotter4 libplasma-applet-system-monitor4 libplasma-geolocation-interface4 libplasmaclock4 libplasmagenericshell4 libpolkit-backend-1-0 libprocesscore4 libprocessui4 libpth20 libqimageblitz4
          libqt4-assistant libqt4-help libqt4-scripttools libqt4-sql-mysql libqt4-test libsensors4 libsolidcontrol4 libsolidcontrolifaces4 libtaskmanager4 libweather-ion4 libxklavier16 libxxf86dga1 libxxf86misc1 lm-sensors phonon plasma-dataengines-workspace plasma-desktop
          plasma-widgets-workspace policykit-1 polkit-kde-1 python-kde4 python-qt4 python-sip systemsettings x11-utils x11-xserver-utils xbitmaps xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse
          xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev
          xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon
          xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng
          xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo xterm
        0 upgraded, 98 newly installed, 0 to remove and 5 not upgraded.
        Need to get 37.4MB of archives.
        After this operation, 131MB of additional disk space will be used.
        Do you want to continue [Y/n]? ^C
        $ sudo apt-get --no-install-recommends install plasma-desktop
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following extra packages will be installed:
          libplasmagenericshell4 libtaskmanager4
        Recommended packages:
          kdebase-workspace
        The following NEW packages will be installed:
          libplasmagenericshell4 libtaskmanager4 plasma-desktop
        0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
        Need to get 414kB of archives.
        After this operation, 2,101kB of additional disk space will be used.
        Do you want to continue [Y/n]?

        Comment

        Working...
        X