Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I did something really really stupid: I did Code: sudo apt-get remove rarian-compat because it was uncompatible with another package. It deleted a lot (gedit, synaptic, ubuntu-desktop ). Now ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    47

    [SOLVED] install packages from cdrom thru the terminal

    Hi,
    I did something really really stupid: I did
    Code:
    sudo apt-get remove rarian-compat
    because it was uncompatible with another package. It deleted a lot (gedit, synaptic, ubuntu-desktop ). Now I can only boot in the terminal mode (Alt+F1). I do not have internet either, just the ubuntu 8.10 live cd. I did
    Code:
    sudo apt-cdrom add
    but I cannot find the necessary repositories for doing:
    Code:
    sudo apt-get install ubuntu-desktop
    Do I have to put the cd rom in /etc/apt/source.list? and How?
    Thanks,
    Alex

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Did you execute sudo apt-get update command after adding CD?
    Code:
    sudo apt-cdrom add
    sudo apt-get update
    sudo apt-get install ubuntu-desktop
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    47
    Hi thanks for the reply,
    Yes I tried those commands. The computer says that it cannot finds the repositories, and I see the URLs..
    Alex

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    47
    Quote Originally Posted by devils casper View Post
    Hi and Welcome !

    Did you execute sudo apt-get update command after adding CD?
    Code:
    sudo apt-cdrom add
    sudo apt-get update
    sudo apt-get install ubuntu-desktop
    in /etc/apt/sources.list I left only the live cd:
    deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (.....)]/ intrepid main restricted
    but then I get:
    Code:
    sudo apt-get install ubuntu-desktop 
    2	Reading package lists... DOne 
    3	Reading ..etc Done 
    4	Package ubuntu-desktop is not available, but is referred to by another package. 
    This may mean that the package is missing, has been obsoleted, or is only available from another source 
    5	E: Package ubuntu-desktop has no installation candidate
    maybe I can put the packages in a usb, then mount the usb and install the debians? but how to find all the correct packages I need (I remind you that I did apt-get remove rarian-compat and it removed 200MB of stuff) ?
    cheers

  5. #5
    Just Joined!
    Join Date
    Nov 2008
    Posts
    47
    I fixed it! I had the list of all the stuff I had deleted, and I downloaded this stuff to my usb:
    Code:
    capplets-data_2.24.0.1-0ubuntu7_all.deb
    fast-user-switch-applet_2.24.0-0ubuntu6_i386.deb
    gedit_2.24.0-0ubuntu1_i386.deb
    gnome-app-install_0.5.12-0ubuntu1_all.deb
    gnome-applets_2.24.1-0ubuntu1_i386.deb
    gnome-applets-data_2.24.1-0ubuntu1_all.deb
    gnome-control-center_2.24.0.1-0ubuntu7_i386.deb
    gnome-panel_2.24.1-0ubuntu2_i386.deb
    gnome-panel-data_2.24.1-0ubuntu2_all.deb
    gnome-session_2.24.1-0ubuntu1_i386.deb
    gnome-system-monitor_2.24.1-0ubuntu1_i386.deb
    gnome-terminal_2.24.1-0ubuntu1_i386.deb
    gnome-utils_2.24.1-0ubuntu1_i386.deb
    gucharmap_2.24.1-0ubuntu1_i386.deb
    jockey-common_0.5~beta3-0ubuntu5_all.deb
    jockey-gtk_0.5~beta3-0ubuntu5_all.deb
    language-selector_0.3.17_all.deb
    libgnome-window-settings1_2.24.0.1-0ubuntu7_i386.deb
    nautilus_2.24.1-0ubuntu1_i386.deb
    nautilus-cd-burner_2.24.0-0ubuntu1_i386.deb
    nautilus-data_2.24.1-0ubuntu1_all.deb
    nautilus-share_0.7.2-0ubuntu7_i386.deb
    python-software-properties_0.68_all.deb
    rarian-compat_0.8.1-1ubuntu2_i386.deb
    scrollkeeper_0.3.14-16ubuntu1_i386.deb
    software-properties-gtk_0.68_all.deb
    synaptic_0.62.1ubuntu10_i386.deb
    ubuntu-desktop_1.124_i386.deb
    update-manager_0.93.32_all.deb
    update-manager-core_0.93.32_i386.deb
    update-notifier_0.71.8_i386.deb
    zenity_2.24.0-0ubuntu1_i386.deb
    mount the usb and copy somewhere
    s
    Code:
    u
    mkdir /media/usb
    mount /dev/sdb1 /media/usb
    cp /media/usb/*deb /somepath
    installed the debians one by one:
    Code:
    dpkg -i debian_file.deb
    Thanks for the help!
    Alex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...