[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mysql



On Thu, Apr 21, 2005 at 01:04:40PM -0700, Virendra Rode wrote:
> I'm trying to install mysql-server-4.1 on sarge (2.6.8-2-686), and I 
> keep getting following errors.
(...snip...)
> Get:5 ftp://ftp.debian.org testing/main mysql-server-4.1 4.1.10-1 [14.5MB]
> Err ftp://ftp.debian.org testing/main mysql-server-4.1 4.1.10-1
>   Unable to fetch file, server said 'Failed to open file.  ' [IP: 
> 208.185.25.35 21]
> Failed to fetch 
(...snip...)
> Why is it unable to fetch/open file?

When I manually try to download that file (with wget) I also get an
error. I think the problem is that your list of packages is
outdated. The current version for mysql-server4.1 is not the 4.1.10-1
that you are trying to download, but 4.1.11-1. So first update your
cache and then try again:

# apt-get update
# apt-get install mysql-server-4.1

> My current sources.list points to:
> 
> deb ftp://ftp.debian.org/debian/ testing main
> deb-src ftp://ftp.debian.org/debian/ testing main

Please see if there is a mirror in your area that you can use
instead. It helps to keep the load off of the main debian server:

http://www.debian.org/mirror/list

> On further digging I also found following locked files, see below. How 
> do you delete these lock files? Could this be interfering with apt-get 
> install?
> 
> /var/cache/apt/archives/partial/mysql-server_4.0.23-7_i386.deb
> /var/cache/apt/archives/partial/mysql-server-4.1_4.1.10-1_i386.deb

I assume these are files that have been partially downloaded
already. I can't imagine that it would do any harm if these files
stayed there. I also can't imagine that it would do any harm if you
remove these files. I suggest you move these files to another
directory and put them back if anything goes wrong.

HTH,

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key: keyserver.net ID 0x1735C5C2
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill

Attachment: signature.asc
Description: Digital signature


Reply to: