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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-03-2006, 01:43 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 7
Rep:
|
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.
|
|
|
04-03-2006, 01:47 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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
|
|
|
04-03-2006, 02:40 AM
|
#3
|
LQ Newbie
Registered: Mar 2006
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
04-03-2006, 03:47 AM
|
#4
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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
|
|
|
04-04-2006, 12:19 PM
|
#5
|
LQ Newbie
Registered: Mar 2006
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
04-04-2006, 07:37 PM
|
#6
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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
|
|
|
04-04-2006, 09:24 PM
|
#7
|
Member
Registered: Mar 2004
Posts: 136
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|