Announcement

Collapse
No announcement yet.

Trashed Kubuntu How can I get it back?

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

    Trashed Kubuntu How can I get it back?

    Hi
    I had KDE4 installed but it was removed by adept upgrade manager.
    I tried to reinstall following the instructions on the kubuntu web site.
    I now realise that I should not have run "sudo apt-get remove kdelib5 kde4base-data kde4libs-data as this appears to have removed KDE completely (Hindsight is a very exact science).
    Can I get it back without a complete re-installation?
    Any help would be appreciated.
    Best regards

    #2
    Re: Trashed Kubuntu How can I get it back?

    this appears to have removed KDE completely. Can I get it back without a complete re-installation?
    Yes - been there, done that.
    That is: cleaning Kubuntu Gutsy (sudo apt-get remove kdelib5...).


    If you don't have KDE (text login ?). Login and type:

    Install kubuntu:
    Code:
    sudo apt-get install kubuntu-desktop
    Install kdm:
    Code:
    sudo apt-get install kdm
    Install adept:
    Code:
    sudo apt-get install adept
    Restart. Do you have graphical login ?

    You could also (Start/Restart kdm) :
    Code:
    sudo /etc/init.d/kdm start
    or
    Code:
    sudo /etc/init.d/kdm restart
    Reboot (in the text mode)
    Code:
    sudo /sbin/shutdown -r now
    -r Reboot after shutdown

    There is log for dpkg (package manager for Debian ~ apt,aptitude,adept,synaptic)

    List of removed packages:
    Code:
    cat /var/log/dpkg.log | grep remove
    also dpkg.log.1, dpkg.log.2.gz...


    Problems to install packages ?
    Here, when i tried to install kubuntu-desktop
    kubuntu-desktop:
    Depends konq-plugins but it is not going to be installed

    =>
    konqueror:
    Depends: kcontrol (=4:3.5.8-0ubuntu2) but 4:3.5.8-2ubuntu3~gutsy1~ppa1 is to be installed
    Depends: kfind (=4:3.5.8-0ubuntu2) but 4:3.5.8-2ubuntu3~gutsy1~ppa1 is to be installed
    Solution:

    Find all packages from ppa /1/ repositories, remove them and install clean packages from ordinary repositories.

    Code:
    apt-show-versions | grep ppa
    ksysguard 4:3.5.8-2ubuntu3~gutsy1~ppa1 newer than version in archive
    kmenuedit 4:3.5.8-2ubuntu3~gutsy1~ppa1 newer than version in archive
    libstrigiqtdbusclient-dev 0.5.7-1~gutsy2~ppa1 newer than version in archive
    python-qt4 4.3.1-1ubuntu4~gutsy0~ppa1 newer than version in archive
    ...
    man apt-show-versions
    APT-SHOW-VERSIONS(1p) User Contributed Perl DocumentationAPT-SHOW-VERSIONS(1p)

    NAME
    apt-show-versions - Lists available package versions with distribution

    DESCRIPTION
    apt-show-versions parses the dpkg status file and the APT lists for the
    installed and available package versions and distribution and shows
    upgrade options within the specific distribution of the selected pack‐
    age.

    This is really useful if you have a mixed stable/testing environment
    and want to list all packages which are from testing and can be
    upgraded in testing.

    apt-show-versions uses caching for the status information of installed
    and available packages. If you run apt-show-versions as root the cache
    is updated as needed. If you run as non-root uses the newest available
    information, but can’t update the cache. If you run as root with the
    option -i the cache is initialized or updated only.

    SYNOPSIS
    apt-show-versions [-h] [[-p] package name] [-a] [-b]

    /1/ Canonical Announces Launch of Launchpad 'Personal Package Archive' Service For Developers
    http://www.ubuntu.com/news/launchpad-ppa
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Trashed Kubuntu How can I get it back?

      Hi
      thanks for the info worked fine, most of the desktop was there.
      I got the command line prompt by pressing enter and the desktop with startx.
      My internet connection had been disabled this caused a bit of confusion.
      I will file the hard copy of you instruction in case of need.
      Thanks again
      Best regards

      Comment

      Working...
      X