apt-get stopped working

Hi,

I tried installing via apt-get several packages (the original command was apt-get install unixodbc unixodbc-dev freetds-dev sqsh tdsodbc) and after getting a message about not finding some or all of the packages, it seems like apt-get stopped working altogether.

I changed the sources.list file several times and even if I remove it completely (rename it), the message is always basically the same, not finding the package:

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Couldn't find package (package_name)

It seems to me as if sources.list is completely ignored and that apt-get doesn't really connect to any server.

Any idea what I'm doing wrong here and how this could be fixed?

Thanks!

*edit: The Ubuntu version on this Linode is Karmic 9.10.

4 Replies

Have you done 'apt-get update' to refresh the list?

EDIT: Also 9.10 isn't LTS, so it's likely that ubuntu have stopped providing repositories for that version. You should update to a supported version.

yes, I tried apt-get update and got a lot of 404 messages. I can try to update to a later version but even that requires apt-get update first doesn't it?

Fix up your sources and point the entries to something like this:

http://old-releases.ubuntu.com/ubuntu/

More info: https://help.ubuntu.com/community/EOLUpgrades

-Chris

OK, thanks a lot, now the update works and I'll upgrade to Lucid.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct