LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2005, 03:11 AM   #1
wwwjscom
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
apt-get problem


I'm new to Ubuntu, and linux mostly, and I tried to run sudo apt-get update in the term and I get the following errors:

Code:
gzip: stdin: not in gzip format
Err hxtp://us.archive.ubuntu.com breezy/main Sources
  Sub-process gzip returned an error code (1)
Fetched 4B in 6s (1B/s)
Failed to fetch cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/dists/breezy/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
Failed to fetch cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/dists/breezy/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
Failed to fetch hxtp://us.archive.ubuntu.com/ubuntu/dists/breezy/main/source/Sources.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/main Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy/restricted Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
I tried using apt-cdrom add and that didn't help (or maybe I used it wrong), both of my CDROMs are mounted, I even tried to unmount them and try again and still no luck, I also tried changing the servers to the one recomended on ubuntuguide.org but the same deal. Any ideas? I believe I'm using 5.10

Thankx
 
Old 11-02-2005, 03:26 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
apt-get update is used when your sources change, or you're wanting to get the latest list of available packages from the Internet. Not sure why it's trying to update your CD-ROM source lists as it should know they're static. Have you tried apt-setup and adding in some sources across the Internet? The GUI update manager for Ubuntu simplfies all this and might be a tad easier if you're just starting out.
 
Old 11-02-2005, 10:28 AM   #3
wwwjscom
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I tried adding the sources from ubuntuguide.org and still got the same things. It wont even let me apt-get install x since I'm missing packages things depend on that I can't get via apt-get upgrade because of this error.
 
Old 11-02-2005, 02:33 PM   #4
stynhx9000
LQ Newbie
 
Registered: Nov 2005
Location: Boston Area
Distribution: Ubuntu 5.10 Breezy
Posts: 27

Rep: Reputation: 15
Hey,

Try edting your /etc/apt/sources.list file and removing anything that says "CD" in it (or commenting it out). This line should be on the top and will look something like this when you're done:

#deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/ unstable main restricted

You can comment out a section by placing '#' (sans quote) in front of the line.

In a term session you can edit this file by using the following command:

Code:
sudo gedit /etc/apt/sources.list &
I'd recommend making a backup copy of it first.

Cheers,
Ben
 
Old 11-02-2005, 03:37 PM   #5
wwwjscom
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Cool cool got it working now thankx
 
Old 11-02-2005, 08:37 PM   #6
stynhx9000
LQ Newbie
 
Registered: Nov 2005
Location: Boston Area
Distribution: Ubuntu 5.10 Breezy
Posts: 27

Rep: Reputation: 15
Smile

Quote:
Originally posted by wwwjscom
Cool cool got it working now thankx
Excellent!

Glad it's working for you.

Cheers,
Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with apt efi360 Debian 18 12-24-2005 06:12 PM
apt problem filwhua Suse/Novell 3 04-23-2005 08:22 AM
problem with apt-get himanshuabc Debian 1 10-21-2004 05:46 PM
Problem with apt-get scng Linux - General 2 09-16-2004 02:39 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM


All times are GMT -5. The time now is 12:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration