Results 1 to 4 of 4

Thread: Can't install upgrades - asks to insert CD

  1. #1
    Join Date
    Aug 2013
    Beans
    1

    Can't install upgrades - asks to insert CD

    Was told to re-install 12.04 to access other disc on my Toshiba Satellite. Got 12.04 download onto a CD as instructed - took hours and hours to download and was useless.

    Upgrades asks for this CD when told to install upgrades and fails when the CD is installed. Not inserting the CD has the same effect. I now have over 300 upgrades waiting! How do I get past this?

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,490
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Can't install upgrades - asks to insert CD

    Welcome to the forums.

    Updates don't come from a server unless the PC knows there are updates waiting. There are two phases to doing an update. On the command line, the first is
    Code:
    sudo apt-get update
    which tells the PC to go to the servers to download a list of the latest versions of all the packages - update its database. Then
    Code:
    sudo apt-get upgrade
    which tells it to go ahead and download/install all those updates, upgrading everything that can be upgraded.

    Until it has updated its list from the database from the net, the only software sources it knows about is the CD it installed from.

    If "sudo apt-get update" gives youi any error messages, report them back here and we will try to figure out why.

  3. #3
    Join Date
    Aug 2013
    Beans
    24

    Re: Can't install upgrades - asks to insert CD

    try to do
    Code:
    Sudo su
    then
    Code:
    Apt-get update && apt-get upgrade
    if it didnt work post the errors it gives you

  4. #4
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Can't install upgrades - asks to insert CD

    Quote Originally Posted by micox2 View Post
    Was told to re-install 12.04 to access other disc on my Toshiba Satellite. Got 12.04 download onto a CD as instructed - took hours and hours to download and was useless.

    Upgrades asks for this CD when told to install upgrades and fails when the CD is installed. Not inserting the CD has the same effect. I now have over 300 upgrades waiting! How do I get past this?
    You might need to disable the cd in your sources.

    Open Software Sources from the menu or dash - go to the Other Software tab - disable the cdrom.

    Then try updating and upgrading again

    Quote Originally Posted by ahmad3 View Post
    try to do
    Code:
    Sudo su
    then
    Code:
    Apt-get update && apt-get upgrade
    if it didnt work post the errors it gives you
    Why use su?

    Why not just

    Code:
    sudo apt-get update && sudo apt-get upgrade
    In addition your command will fail, you need apt-get not Apt-get

Bookmarks

Posting Permissions

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