LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install packages and it always gives me errors (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-packages-and-it-always-gives-me-errors-369725/)

kdavis 10-04-2005 12:24 PM

Trying to install packages and it always gives me errors
 
I am running Ubuntu Hoary. Everytime I try to install a package like Flash player, it keeps giving me the following error:



Code:

W: Couldn't stat source package list  -SOME URL -  stat (2 No such file or directory)
So, I run the update. and get this at the end:


Code:

Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Im obviously new to Linux and have no clue how to do anything. What am I doing wrong here?

Thanks in advance!!

Matir 10-04-2005 01:00 PM

Please post the contents of /etc/apt/sources.lst.

kdavis 10-04-2005 01:03 PM

Here is what I have:


#deb http://ch.archive.ubuntu.com/ubuntu/ hoary main restricted

deb http://at.archive.ubuntu.com/ubuntu/ hoary main restricted
deb-src http://at.archive.ubuntu.com/ubuntu/ hoary main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://at.archive.ubuntu.com/ubuntu/ hoary universe
# deb-src http://at.archive.ubuntu.com/ubuntu/ hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

# deb http://security.ubuntu.com/ubuntu hoary-security universe
# deb-src http://security.ubuntu.com/ubuntu hoary-security universe

Matir 10-04-2005 01:06 PM

Those addresses look valid? Which one(s) usually fail?

kdavis 10-04-2005 01:12 PM

you're right. I changed it back to its original. I have problems when I try to install things. Like Acrobat reader:

sudo apt-get install acroread
sudo apt-get install mozilla-acroread
sudo apt-get install acroread-plugins

and it gives me this:
kyle@ubuntu:~$ sudo apt-get install acroread
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package acroread
kyle@ubuntu:~$ sudo apt-get install mozilla-acroread
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package mozilla-acroread

Theta13579 10-04-2005 01:14 PM

?
 
If... it may only accept certain web pages to update the files, are they accurate?

Matir 10-04-2005 01:14 PM

It's telling you that those packages do not exist.

kdavis 10-04-2005 01:23 PM

As I said, I am new, Is there a place where I can see the packages that do exist? If I dowload the acrobat reader file, there is no .exe like in windows. I need to use commands to install it. Is there a good resource that you know that explains how to install linux applications?


All times are GMT -5. The time now is 04:08 AM.