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

Re: apt-get upgrade broken && ls broken && many others broken



Chris <debian@cmulcahy.com> writes:
> I run apt-get update&&apt-get upgrade frequently. Seems a recently 
> installed package is broken (I'm suspecting fileutils). 
>
> When I do an ls I get:
> ls: reading directory .: Function not implemented
>
> When I do an apt-get upgrade I get:
> 27 packages upgraded, 0 newly installed, 0 to remove and 11 not 
> upgraded. 3 packages not fully installed or removed.
> Need to get 0B/26.2MB of archives. After unpacking 5009kB will be used.

...that is, in fact, the canonical symptom of the libc6 lossage you
mention.  If you're running APT updates "frequently" and seeing this
much changed, you're running unstable, since testing hasn't seen much
in the way of changes for quite a while now.  You can canonically
check by catting /etc/apt/sources.list.

> The fine folks on #debian at irc.openprojects.net suggested a problem 
> between libc6 2.3.1-6 and a 2.2 kernel, though I've not yet found how 
> to fix it with apt-get broken. 

You might be able to do it by hand with ar, tar, and a copy of a
different version of the libc6 package.  (A .deb file is a specially
formatted ar archive containing a flag file, control.tar.gz, and
data.tar.gz, so you can 'ar x libc6_2.3.1-7_i386.deb', then
'tar xzf data.tar.gz -C /'.)

If you're running unstable, you should be aware that this level of
breakage happens sometimes.  You should definitely subscribe to
debian-devel-announce (several messages a week); you might also
consider subscribing to debian-devel (a little less traffic than
debian-user), where these sorts of issues with unstable come up more
often.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: