Terminal output results

Asked by tesaba

terry@terry-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
terry@terry-laptop:~$ uname -a
Linux terry-laptop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux
terry@terry-laptop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for terry:
terry@terry-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
terry@terry-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
terry@terry-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
terry@terry-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
terry@terry-laptop:~$ sudo rm -rf /var/lib/apt/lists
terry@terry-laptop:~$ sudo mkdir /var/lib/apt/lists
terry@terry-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
terry@terry-laptop:~$ sudo rm /var/cache/apt/*.bin
terry@terry-laptop:~$ LANG=C;sudo apt-get clean
terry@terry-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
terry@terry-laptop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
terry@terry-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release.gpg
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid Release.gpg
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid Release
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:1 http://dl.google.com stable Release.gpg [191B]
Get:2 http://us.archive.ubuntu.com lucid Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:4 http://dl.google.com stable Release.gpg [189B]
Get:5 http://archive.canonical.com lucid Release.gpg [198B]
Get:6 http://us.archive.ubuntu.com lucid Release [57.2kB]
Get:7 http://dl.google.com stable Release [1310B]
Get:8 http://archive.canonical.com lucid Release [8215B]
Get:9 http://dl.google.com stable Release [1338B]
Get:10 http://dl.google.com stable/main Packages [974B]
Get:11 http://dl.google.com stable/main Packages [613B]
Get:12 http://archive.canonical.com lucid/partner Packages [11.9kB]
Get:13 http://us.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:14 http://archive.canonical.com lucid/partner Sources [4943B]
Get:15 http://us.archive.ubuntu.com lucid/main Packages [1386kB]
Get:16 http://security.ubuntu.com lucid-security Release.gpg [198B]
Get:17 http://security.ubuntu.com lucid-security Release [38.5kB]
Get:18 http://security.ubuntu.com lucid-security/main Packages [95.2kB]
Get:19 http://us.archive.ubuntu.com lucid/restricted Packages [6208B]
Get:20 http://us.archive.ubuntu.com lucid/main Sources [659kB]
Get:21 http://us.archive.ubuntu.com lucid/restricted Sources [3775B]
Get:22 http://us.archive.ubuntu.com lucid/universe Packages [5448kB]
Get:23 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:24 http://security.ubuntu.com lucid-security/main Sources [34.2kB]
Get:25 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Get:26 http://security.ubuntu.com lucid-security/universe Packages [47.4kB]
Get:27 http://security.ubuntu.com lucid-security/universe Sources [12.9kB]
Get:28 http://security.ubuntu.com lucid-security/multiverse Packages [1994B]
Get:29 http://security.ubuntu.com lucid-security/multiverse Sources [656B]
Get:30 http://us.archive.ubuntu.com lucid/universe Sources [3165kB]
Get:31 http://us.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:32 http://us.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:33 http://us.archive.ubuntu.com lucid-updates/main Packages [337kB]
Get:34 http://us.archive.ubuntu.com lucid-updates/restricted Packages [3240B]
Get:35 http://us.archive.ubuntu.com lucid-updates/main Sources [132kB]
Get:36 http://us.archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:37 http://us.archive.ubuntu.com lucid-updates/universe Packages [146kB]
Get:38 http://us.archive.ubuntu.com lucid-updates/universe Sources [56.7kB]
Get:39 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [7356B]
Get:40 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [3678B]
Fetched 12.0MB in 1min 5s (183kB/s)
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/dists/maverick/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/dists/maverick/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/multiverse/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/universe/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.
terry@terry-laptop:~$ sudo dpkg --clear-avail
terry@terry-laptop:~$ sudo dpkg --configure -a
terry@terry-laptop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
terry@terry-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release.gpg
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid Release.gpg
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid Release
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
Ign cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/multiverse Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1) lucid/universe Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:1 http://dl.google.com stable Release.gpg [191B]
Get:2 http://dl.google.com stable Release.gpg [189B]
Hit http://us.archive.ubuntu.com lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Get:3 http://dl.google.com stable Release [1310B]
Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://us.archive.ubuntu.com lucid Release
Hit http://archive.canonical.com lucid Release
Get:4 http://dl.google.com stable Release [1338B]
Hit http://security.ubuntu.com lucid-security Release
Hit http://us.archive.ubuntu.com lucid-updates Release
Get:5 http://dl.google.com stable/main Packages [974B]
Hit http://archive.canonical.com lucid/partner Packages
Get:6 http://dl.google.com stable/main Packages [613B]
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://archive.canonical.com lucid/partner Sources
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Fetched 4615B in 1s (2611B/s)
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/dists/maverick/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)/dists/maverick/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/multiverse/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu-Studio 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)/dists/lucid/universe/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.
terry@terry-laptop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

If you open software centre and edit the sources, you simply need to disable the install CD as a repo, those messages will vanish

You can also do this at command line (If you are running server) with:

sudo nano /etc/apt/sources.list

and comment out the top line defining the install CD as a repo by putting a hash '#' character at the start of the line

Then press CTRL+X
Press Y
Press ENTER

Then rerun:

sudo apt-get update

Should be smooth now.

Revision history for this message
tesaba (terry-r-bartley) said :
#2

Thanks actionparsnip, that solved my question.