LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2006, 01:43 AM   #1
recarpo
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Ubuntu universe repository


I'm using Ubuntu 5.10 and I wanted to add a couple programs and it's available in the universal repository but when I try that says:

http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Sub-process gzip returned an error code (1)

then I get a warning window that comes up and says:

W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)

What can I do to get these applications so they're avaible and so I can use them? Thanks.
 
Old 04-03-2006, 01:47 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The lines in my /etc/apt/sources.list to add the universe and multiverse ubuntu repositories are:
Code:
 deb http://au.archive.ubuntu.com/ubuntu breezy universe multiverse
 deb-src http://au.archive.ubuntu.com/ubuntu breezy universe multiverse
These obviously use the Australian mirror, so you should choose one closer to you.
Add those line, and then run "sudo apt-get update", and then you should be able to install whatever packages using either apt-get or synaptic.

I hope this helps
--Ian
 
Old 04-03-2006, 02:40 AM   #3
recarpo
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the quick response. Now I have another question.
I'm in sources.list and it's a read-only file and it says that
"You are not the owner so you can't change these permissions."
How can I make it not a read-only file so I can make the changes?
I'm new to linux so sorry if these are fairly simple questions.
Thanks for any help.
 
Old 04-03-2006, 03:47 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Most config files on Linux are owned by root, unless they are in your home directory. To edit sources.list, from a terminal run
Code:
sudo gedit /etc/apt/sources.list
This will open sources.list in gedit with root priveliges. The lines for the universe repository are about 1/2 way down, and are commented out with a #. Simply delete the #, and then save and exit. Then run "sudo apt-get update".

I hope this helps
--Ian
 
Old 04-04-2006, 12:19 PM   #5
recarpo
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Ian, you're helping me out a lot.
I did all of that and tried to get it to work by doing all the things that you talked about and I'm still getting error messages that say:

Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Sub-process bzip2 returned an error code (2)
Reading package lists... Done
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)

when I try to do an update. I've tried everything I can think of to fix it but I'm out of ideas.
 
Old 04-04-2006, 07:37 PM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Make sure that the line in sources.list is exactly the same as the one I posted above, and then run apt-get update. Try with a different mirror, because it is possible that the US one is down.

I hope this helps
--Ian
 
Old 04-04-2006, 09:24 PM   #7
Rory in Toronto
Member
 
Registered: Mar 2004
Posts: 136

Rep: Reputation: 15
I suggest you check out the Ubuntu Guide for Breezy at:
http://easylinux.info/wiki/Ubuntu

You'll find this question along with many others answered in easy to follow steps. You'll also learn a lot in the process. I think you may find it very helpful.

Have fun with Linux and Ubuntu.

Rory
 
  


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
Ubuntu universe on CD Bogdan Ubuntu 2 02-16-2006 12:57 PM
k9copy guide and Ubuntu repository crispy_420 Linux - Software 0 12-24-2005 10:30 PM
LXer: Meanwhile, in a Parallel Universe... LXer Syndicated Linux News 0 12-13-2005 12:01 PM
Cosmic mystery of the Universe: how do I get a screenshot in icewm? johnMG Debian 7 01-23-2005 02:58 PM
Hitchhiker's Guide to the Galaxy/Life, The Universe, and Everything testforechozero General 7 08-24-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration