[nylug-talk] Ubuntu: apt-get install requires cdrom
Matt Williams
Tue Apr 25 13:51:50 EDT 2006
On 4/25/06, Jim Keenan <jkeen at verizon.net> wrote:
> I have previously used 'apt-get install' to install many packages, including Subversion, on a Debian server which I manage remotely. Now I'm working with an Ubuntu distribution on my own desktop and want to install Subversion there as well. However, once I type 'sudo apt-get install subversion', I get the following message:
>
> [snip]
> Get:7 http://security.ubuntu.com hoary-security/main libruby1.8 1.8.1+1.8.2pre4-1ubuntu0.3 [856kB]
> Media change: please insert the disc labeled
> 'Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)'
> in the drive '/cdrom/' and press enter
>
> Why should I need to get the installation CD (which I may no longer have available) in order to install this package? I have installed other packages on Ubuntu in the same way I installed packages on Debian, i.e., straight from the 'Net with no cdrom needed? Is there a way around this?
>
> Thank you very much.
>
> Jim Keenan
By default, the Install CD is listed as the first source in
sources.list. Just comment this out, or remove it.
Also, the current 'stable' release of Ubuntu is Breezy. If you're
using Ubuntu as your personal desktop, there's really no advantage to
using Hoary any more. The new 'Dapper' release is scheduled for June 1
and is Ubuntu's first 'Enterprise' release with extended support,
etc... You might consider upgrading to Dapper now. The 'beta' is
actually pretty solid. I have been using it for about a month with few
complaints.
Depending on whether or not you want the 'universe' and 'multiverse'
repositories, you can comment out lines, but here's my 'sources.list':
# deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/
dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe
deb http://us.archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
If you would prefer to stick with Hoary (or Breezy), of course just:
:%s/dapper/hoary/g
~ Matt
More information about the nylug-talk
mailing list