[PLUG] apt problem

Randall Hansen list at sonofhans.net
Fri Jun 27 18:19:02 UTC 2003


Thus spoke Dirk Ouellette <hapibeli at attbi.com>
( 27 Jun 2003 17:37:42 -0700 ):

> When apt-get update reaches the following point and hangs, what are
> the possible solutions?

> Fetched 1325kB in 17s (76.7kB/s)
> Reading Package Lists... 66%

My first guess is that one of your package lists in
/var/lib/apt/lists/ is corrupt somehow and apt-get has trouble reading
it.  Try this (either as root or under 'sudo'):

  $ cd /var/lib/apt
  $ mv lists old_lists
  $ mkdir -p lists/partial

Here you're renaming your old 'lists' directory, then recreating
'lists' and 'lists/partial' (without these apt-get will fail).  Then
run 'apt-get update' again and it should fetch brand new lists.

If that doesn't work, try 'strace' to see if you can find out exactly
where it's hanging by running (as root or under 'sudo'):

  $ strace apt-get update | less

'| less' pipes the output (which will be very long) to 'less', which
will make it much easier to read; if you don't have 'less'
installed use 'more' instead (or any other pager program).

If these don't help and no one here offers better advice consider
asking the debian-users mailing list.  It's high-traffic, but
generally friendly and tolerant of varying skill levels:

  http://lists.debian.org/users.html

r
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20030627/d545c92a/attachment.asc>


More information about the PLUG mailing list