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

Re: apt stuck at "Reading database"



Quoting Chris Bannister (cbannister@slingshot.co.nz):
> On Sun, Apr 12, 2015 at 11:50:40AM -0500, David Wright wrote:
> > In that situation, my first course of action would be to hide anything
> > but the essential sources.list contents of, basically, something like
> > 
> > # deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 NETINST Binary-1 20130615-21:53]/ wheezy main
> > 
> > deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib
> > deb-src http://ftp.us.debian.org/debian/ wheezy main non-free contrib
> > 
> > deb http://security.debian.org/ wheezy/updates main contrib non-free
> > deb-src http://security.debian.org/ wheezy/updates main contrib non-free
> > 
> > deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
> > deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
> 
> I'd even argue that the deb-src entries are not necessary for the majority of
> Debian users. 

Whether or not they're necessary, I *think* I posted the standard
contents for someone selecting contrib non-free at installation time.
Standard, not minimal, which in the circumstances seemed appropriate.

And certainly better than trying to recover from a system crash by
dist-upgrading 126 packages with 8 extra source lists being consulted.
The priority being to get apt/dpkg back up on its feet, official
source lists will be safe here (and saves having to add them at a
later date for whatever purpose).

Cheers,
David.


Reply to: