Re: apt stuck at Reading database

2015-04-20 Thread David Wright
Quoting Chris Bannister (cbannis...@slingshot.co.nz):

 That's obviously a problem with aptitude, I don't use it as I find
 apt-get and apt-cache do everything I need. I started using apt, but
 there is no completion, I filed a bug, but haven't heard anything since.

Teemu Ikonen appears to have submitted a patch in January.
I don't know whether it fixes things: I've never looked into
how completion works. When it doesn't work, I just use dirty
tricks to get round the problem.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150420140740.GA5776@alum



Re: apt stuck at Reading database

2015-04-20 Thread Chris Bannister
On Mon, Apr 20, 2015 at 09:07:40AM -0500, David Wright wrote:
 Quoting Chris Bannister (cbannis...@slingshot.co.nz):
 
  That's obviously a problem with aptitude, I don't use it as I find
  apt-get and apt-cache do everything I need. I started using apt, but
  there is no completion, I filed a bug, but haven't heard anything since.
 
 Teemu Ikonen appears to have submitted a patch in January.

There's a link but no patch. Weird, I didn't get notified of it.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150420193627.GA23009@tal



Re: apt stuck at Reading database

2015-04-19 Thread seeker5528

//Is this still a work in progress?

/From: Luis Finotti luis.fino...@gmail.com
Date: Tue, 7 Apr 2015 10:03:48 -0400
Message-id: 
CAMo809Whz_V=qvvypE2RBef3ZrAQm0f_x=m724pxjcopovo...@mail.gmail.com


Dear all,

I had a power failure while I was away and when I came back the boot
failed, asking to run fsck manually, which I did.

*Many* errors where fixed and I could reboot to what it seems to be a
 normal session, except I cannot dist-upgrade or upgrade (I'm on
 sid, BTW):
/


If there is log information on what was fixed, that might be helpful, could
be a binary corrupted somewhere.

Taking into account there was already some clearing of some apt related 
stuff

elsewhere in the thread

If it was me, my next steps would be to clean some old stuff out and see 
if using

dpkg to install something will work.

As root something like..

dpkg --clear-avail
apt-get clean
apt-get update
apt-get -d upgrade
cd /var/cache/apt/archives/
dpkg -i *tiff*

If the packages fail to install then more investigation is needed to get 
that sorted.

If installation is successful then I might try

apt-get --reinstall install the same packages that dpkg installed 
successfully


Later, Seeker




Re: apt stuck at Reading database

2015-04-17 Thread Jape Person

On 04/17/2015 07:08 AM, Chris Bannister wrote:

On Wed, Apr 15, 2015 at 11:08:15AM -0400, Jape Person wrote:

On 04/14/2015 03:59 AM, Chris Bannister wrote:

On Mon, Apr 13, 2015 at 08:42:45AM -0400, Jape Person wrote:

IIRC apt-listbugs or apt-listchanges (or both) don't work without the
deb-src entries in /etc/apt/sources.list.


Works fine for me. Did you *actually* try it?


It works fine for me, too -- now. But, as I've said elsewhere, I remember
that aptitude stopped being able to display changelogs when I removed the
deb-src lines from my sources.list. That was years ago, and someone on this
list (I think) told me to place the deb-src lines back in the sources.list
file. After that, everything was fine.


That's obviously a problem with aptitude, I don't use it as I find
apt-get and apt-cache do everything I need. I started using apt, but
there is no completion, I filed a bug, but haven't heard anything since.

Yes, aptitude seems certainly to have been the culprit in that case, 
though I haven't actually checked it's history in the BTS to be certain.


I just went through several installations using the Jessie RC2 netinst 
image and performed all of the manual software installations after the 
d-i had run using apt. I was testing the d-i. Apt worked really well for 
this purpose. First time I've ever used it.


My previous tests of the same d-i using aptitude for post-installation 
software installations did not produce final products that worked as 
well. So at least apt's defaults for package installations seem to work 
better for me than those for aptitude. (I tried installations using 
aptitude with and without automatic installation of recommends. Without 
actually worked better when I was careful to pick and choose among the 
recommends manually.)


Over the years I've always found that aptitude's TUI was useful in 
helping to sort out alternatives when there were dependency problems. 
But it looks as though it's no longer going to be my primary tool for 
package management. Maybe I'll use it as a fall-back tool only for 
trouble-shooting.



I shall now don the pointy hat and sit in the corner.

;-)


Ahh!, the Wizards hat, have extra desert for me, while you are at it! :)



Alas, the dessert days are over for me. Docs say only proteins, green 
leafy vegetables, and minimal carbs for me!


At least I know I can always count on the good folks around here to tell 
me if I've got something stuck between my teeth!


:-)

Best regards,
JP


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5530fe52.5030...@comcast.net



Re: apt stuck at Reading database

2015-04-17 Thread Chris Bannister
On Wed, Apr 15, 2015 at 11:08:15AM -0400, Jape Person wrote:
 On 04/14/2015 03:59 AM, Chris Bannister wrote:
 On Mon, Apr 13, 2015 at 08:42:45AM -0400, Jape Person wrote:
 IIRC apt-listbugs or apt-listchanges (or both) don't work without the
 deb-src entries in /etc/apt/sources.list.
 
 Works fine for me. Did you *actually* try it?
 
 It works fine for me, too -- now. But, as I've said elsewhere, I remember
 that aptitude stopped being able to display changelogs when I removed the
 deb-src lines from my sources.list. That was years ago, and someone on this
 list (I think) told me to place the deb-src lines back in the sources.list
 file. After that, everything was fine.

That's obviously a problem with aptitude, I don't use it as I find
apt-get and apt-cache do everything I need. I started using apt, but
there is no completion, I filed a bug, but haven't heard anything since.

 I shall now don the pointy hat and sit in the corner.
 
 ;-)

Ahh!, the Wizards hat, have extra desert for me, while you are at it! :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150417110824.GB2569@tal



Re: apt stuck at Reading database

2015-04-15 Thread Jape Person

On 04/14/2015 03:59 AM, Chris Bannister wrote:

On Mon, Apr 13, 2015 at 08:42:45AM -0400, Jape Person wrote:

IIRC apt-listbugs or apt-listchanges (or both) don't work without the
deb-src entries in /etc/apt/sources.list.


Works fine for me. Did you *actually* try it?

It works fine for me, too -- now. But, as I've said elsewhere, I 
remember that aptitude stopped being able to display changelogs when I 
removed the deb-src lines from my sources.list. That was years ago, and 
someone on this list (I think) told me to place the deb-src lines back 
in the sources.list file. After that, everything was fine.


I don't think I'm misremembering because I did find old notes about the 
problem in a journal. Unfortunately, those notes don't mention whether 
this was a bug or a feature.


I should have checked before offering my recollection. My only defense 
is that I did preface it with IIRC. But I also neglected to mention 
that I was talking about the display of changelogs on files that were 
available for upgrade from within aptitude. That's a pretty specific set 
of circumstances.


I shall now don the pointy hat and sit in the corner.

;-)

Regards,
JP


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552e7edf.6080...@comcast.net



Re: apt stuck at Reading database

2015-04-14 Thread Chris Bannister
On Mon, Apr 13, 2015 at 08:42:45AM -0400, Jape Person wrote:
 IIRC apt-listbugs or apt-listchanges (or both) don't work without the
 deb-src entries in /etc/apt/sources.list. 

Works fine for me. Did you *actually* try it?

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150414075903.GA19695@tal



Re: apt stuck at Reading database

2015-04-13 Thread David Wright
Quoting Brian (a...@cityscape.co.uk):
 On Mon 13 Apr 2015 at 08:42:45 -0400, Jape Person wrote:
 
  I'd even argue that the deb-src entries are not necessary for the majority 
  of
  Debian users.
  
  IIRC apt-listbugs or apt-listchanges (or both) don't work without
  the deb-src entries in /etc/apt/sources.list. I think these are
  tools that Debian users should be encouraged to use. At the least
  they provide a bit of a heads-up to the unwary during installations
  and upgrades.
 
 You would have to provide a source for the information in your first
 sentence. One of my machines has a single line in sources.list and it
 doesn't begin deb-src.

So are you saying that the apt-listbugs and apt-listchanges tools work
for you on that machine? I'm dubious of the truth of needing deb-src
entries for them to work, but I have no evidence to the contrary bcause
I haven't removed my deb-src lines. (I also read their control files
and man pages, but it's not obvious how the former would express such
a dependency, and grep 'src' gives no matches in the latter.)

 I agree apt-listbugs and apt-listchanges are
 very useful for any user but the bug information really needs to be
 checked with the BTS to get the full benefit of apt-listbugs.

Yes, I thought it did that. (Or is there a fallback if the network
has gone down?)

  But I do get your point.
 
 It is quite a good one. If you never re-build a deb package the line
 is redundant.

Perhaps I should have trimmed the posting of my AFAICT standard Debian
/etc/apt/sources.list considering the debate it's engendered.
I would have been better pleased if someone were to firm up the
options available if my suggestions didn't fix the problem. I only
posted at all because this guy had been sitting on a non-functioning
machine for at least 5 days by (my) Sunday morning.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150413174652.gh7...@alum.home



Re: apt stuck at Reading database

2015-04-13 Thread James P. Wallen



On 04/13/2015 11:10 AM, Curt wrote:

On 2015-04-13, Jape Person jap...@comcast.net wrote:


IIRC apt-listbugs or apt-listchanges (or both) don't work without the
deb-src entries in /etc/apt/sources.list. I think these are tools that


They don't?  Is that documented somewhere?



Not that I can find. I remembered having to restore the deb-src lines 
after someone on this list (IIRC) suggesting doing that when I lost my 
ability to see changelogs for upgradable files from within the aptitude 
TUI. Restoring those deb-src lines did restore the ability to see the 
changelogs in aptitude. I'm pretty sure my memory on this is correct.


I'm wondering if it was a bug in aptitude.

I'll try to do some research to find out whether or not this is simply 
some confabulation / conflation created solely by my tiny mind.


;-)


Debian users should be encouraged to use. At the least they provide a
bit of a heads-up to the unwary during installations and upgrades.


I used apt-listbugs when I ran testing to avoid unpleasant surprises
(you just hold off on upgrading a day or two, and the surprise usually
goes away of its own accord).

For stable I don't see the point.


But I do get your point.



Depends what flavor (stable, testing, experiemental) of Debian
you're running, IMHO.





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552c080f.8020...@comcast.net



Re: apt stuck at Reading database

2015-04-13 Thread Jape Person
Sorry, this message was sent initially from a shared e-mail address. I'm 
using the correct address now. The primary owner of that addy is even 
older and grumpier than I am. Heh.


On 04/13/2015 11:10 AM, Curt wrote:
 On 2015-04-13, Jape Person jap...@comcast.net wrote:

 IIRC apt-listbugs or apt-listchanges (or both) don't work without the
 deb-src entries in /etc/apt/sources.list. I think these are tools that

 They don't?  Is that documented somewhere?


Not that I can find. I remembered having to restore the deb-src lines
after someone on this list (IIRC) suggesting doing that when I lost my
ability to see changelogs for upgradable files from within the aptitude
TUI. Restoring those deb-src lines did restore the ability to see the
changelogs in aptitude. I'm pretty sure my memory on this is correct.

I'm wondering if it was a bug in aptitude.

I'll try to do some research to find out whether or not this is simply
some confabulation / conflation created solely by my tiny mind.



 Debian users should be encouraged to use. At the least they provide a
 bit of a heads-up to the unwary during installations and upgrades.

 I used apt-listbugs when I ran testing to avoid unpleasant surprises
 (you just hold off on upgrading a day or two, and the surprise usually
 goes away of its own accord).

 For stable I don't see the point.

 But I do get your point.


 Depends what flavor (stable, testing, experiemental) of Debian
 you're running, IMHO.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552c0a5c.6050...@comcast.net



Re: apt stuck at Reading database

2015-04-13 Thread Jape Person

On 04/13/2015 01:11 PM, Brian wrote:

On Mon 13 Apr 2015 at 08:42:45 -0400, Jape Person wrote:


I'd even argue that the deb-src entries are not necessary for the majority of
Debian users.


IIRC apt-listbugs or apt-listchanges (or both) don't work without
the deb-src entries in /etc/apt/sources.list. I think these are
tools that Debian users should be encouraged to use. At the least
they provide a bit of a heads-up to the unwary during installations
and upgrades.


You would have to provide a source for the information in your first
sentence. One of my machines has a single line in sources.list and it
doesn't begin deb-src. I agree apt-listbugs and apt-listchanges are
very useful for any user but the bug information really needs to be
checked with the BTS to get the full benefit of apt-listbugs.



Yup, I would have to provide a source, but I don't seem to be able to do so.

I do remember years ago deciding to remove the deb-src lines in my 
sources.list file and finding to my dismay that I couldn't see 
changelongs for files which I was preparing to upgrade. This was when I 
was using aptitude in interactive TUI mode. It was my habit to hit u 
to get aptitude to update its cache and then Ctrl+t followed by g 
twice to see the list of proposed upgrades. Then I'd highlight a package 
of interest and use aptitude to view the changelog.


I asked about it on this list (I think) and someone told me that I 
needed the deb-src lines to see the changelog in aptitude. When I added 
the deb-src back to sources.list, I regained the changelog function. I 
remember thinking at the time that this seemed more like a bug than a 
feature.


I should have stated all of that information when I posted about this 
earlier. Sorry.


I wonder if I'm misremembering, or if this was actually the case. After 
further reflection I am also thinking that I was not yet using 
apt-listbugs at that time, so it would have been apt-changelog that 
wasn't working for me. I think I only started using apt-listbugs last year.


If I get a little time later today, I'll do a little experimentation to 
see if I can see any evidence whatsoever that might confirm my earlier 
presumption.



But I do get your point.


It is quite a good one. If you never re-build a deb package the line
is redundant.



Yup.

Best,
JP


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552c0680.5020...@comcast.net



Re: apt stuck at Reading database

2015-04-13 Thread Brian
On Mon 13 Apr 2015 at 08:42:45 -0400, Jape Person wrote:

 I'd even argue that the deb-src entries are not necessary for the majority of
 Debian users.
 
 IIRC apt-listbugs or apt-listchanges (or both) don't work without
 the deb-src entries in /etc/apt/sources.list. I think these are
 tools that Debian users should be encouraged to use. At the least
 they provide a bit of a heads-up to the unwary during installations
 and upgrades.

You would have to provide a source for the information in your first
sentence. One of my machines has a single line in sources.list and it
doesn't begin deb-src. I agree apt-listbugs and apt-listchanges are
very useful for any user but the bug information really needs to be
checked with the BTS to get the full benefit of apt-listbugs.
 
 But I do get your point.

It is quite a good one. If you never re-build a deb package the line
is redundant.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150413171130.gn22...@copernicus.demon.co.uk



Re: apt stuck at Reading database

2015-04-13 Thread Jape Person

On 04/12/2015 10:46 PM, Chris Bannister wrote:

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.



IIRC apt-listbugs or apt-listchanges (or both) don't work without the 
deb-src entries in /etc/apt/sources.list. I think these are tools that 
Debian users should be encouraged to use. At the least they provide a 
bit of a heads-up to the unwary during installations and upgrades.


But I do get your point.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552bb9c5.1000...@comcast.net



Re: apt stuck at Reading database

2015-04-13 Thread David Wright
Quoting Chris Bannister (cbannis...@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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150413163608.ge7...@alum.home



Re: apt stuck at Reading database

2015-04-13 Thread Curt
On 2015-04-13, Jape Person jap...@comcast.net wrote:

 IIRC apt-listbugs or apt-listchanges (or both) don't work without the 
 deb-src entries in /etc/apt/sources.list. I think these are tools that 

They don't?  Is that documented somewhere?

 Debian users should be encouraged to use. At the least they provide a 
 bit of a heads-up to the unwary during installations and upgrades.

I used apt-listbugs when I ran testing to avoid unpleasant surprises
(you just hold off on upgrading a day or two, and the surprise usually
goes away of its own accord).

For stable I don't see the point.

 But I do get your point.


Depends what flavor (stable, testing, experiemental) of Debian
you're running, IMHO.


-- 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnminn3h.2d3.cu...@einstein.electron.org



Re: apt stuck at Reading database

2015-04-12 Thread Chris Bannister
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. 

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150413024615.GA11671@tal



Re: apt stuck at Reading database

2015-04-12 Thread David Wright
[I'm hoping this isn't a duplicate post, but my first
attempt was rejected by bendel.debian.org as forged.]

Quoting Luis Finotti (luis.fino...@gmail.com):
 I've been trying to fix this problem, but have not found a solution
 yet. (I've also asked at the aptosid list without success.)
 
 Before I resigned myself to a reinstall, I thought I'd post the output of
 
 strace apt-get dist-upgrade
 
 (I killed the process a few seconds after it got stuck.)  The first
 4000 lines are here:
 
 http://www.math.utk.edu/~finotti/misc/DU.log

I took a look at this and I notice that apt is trying to upgrade 126
packages which is quite a mouthful. I also noticed that there are a
lot of lines matching /etc/apt/sources.list.d/...

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

Then I would   apt-get update   which will clear out /var/lib/apt/lists/
(AFAIK there's no point doing this until you've pruned /etc/apt/sources.list
because   apt-get update   will repopulate it.)

Then see if   apt-get upgrade   will work (ie not hang or crash) and
see what error messages it emits.

If apt is screwed, then the only way I know (not being an expert) of
trying to recover is to see if dpkg itself can install things, perhaps
by trying to reinstall the apt packages. (Obviously no dependency
problems in doing that.)

If apt is working but emitting errors, then it may be that you need to
look at whether the files in / var/lib/dpkg are ok. There is one level
of backup in there.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150412165040.gd8...@alum.home



Re: Re: apt stuck at Reading database

2015-04-11 Thread Luis Finotti
Yes, without success, but thanks for the suggestion!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/camo809wb7syscwef9ew+2nqgo7ndasturqb9ecbgjtz4y8l...@mail.gmail.com



Re: apt stuck at Reading database

2015-04-11 Thread rob

On 10/04/15 21:56, Luis Finotti wrote:

Dear all,

I've been trying to fix this problem, but have not found a solution
yet. (I've also asked at the aptosid list without success.)

Before I resigned myself to a reinstall, I thought I'd post the output of

 strace apt-get dist-upgrade

(I killed the process a few seconds after it got stuck.)  The first
4000 lines are here:

http://www.math.utk.edu/~finotti/misc/DU.log

At line 37886, we start to see

 pselect6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 0 (Timeout)
 wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

repeat over and over. At line 38006, we see:

 select6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 1 (in
[40], left {0, 264028})
 read(40, (Reading database ... \r, 1024) = 23
 write(1, (Reading database ... \r, 23) = 23
 write(4, (Reading database ... \r, 23) = 23
 wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

before the pattern above starts to repeat again.

Of the last 117592 lines, most are the (repeating ones) above, only
1012 are different. I've post these different ones, i.e., the result
of

 tail -117592 DU.txt | grep -F -v 'wait4(8948, 0x7ffd2430a5c0,
WNOHANG, NULL) = 0' | grep -F -v 'pselect6(43, [0 40 42], NULL, NULL,
{0, 50}, {[], 8}) = 0 (Timeout)'

here:

http://www.math.utk.edu/~finotti/misc/DU2.log

Again, just a last attempt.

Best to all,

Luis



If you haven't already try:
rm /var/lib/apt/lists/* -vf
apt-get update
and if needed
dpkg --configure -a


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/552936bd.9090...@rektau.ukfsn.org



Re: apt stuck at Reading database

2015-04-11 Thread Marko Randjelovic
Did you try

apt-get udpate
dpkg --configure -a
apt-get -f install

?


-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, Signs near the travel-road


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150411130547.3a47c...@eunet.rs



Re: apt stuck at Reading database

2015-04-10 Thread Luis Finotti
Dear all,

I've been trying to fix this problem, but have not found a solution
yet. (I've also asked at the aptosid list without success.)

Before I resigned myself to a reinstall, I thought I'd post the output of

strace apt-get dist-upgrade

(I killed the process a few seconds after it got stuck.)  The first
4000 lines are here:

http://www.math.utk.edu/~finotti/misc/DU.log

At line 37886, we start to see

pselect6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 0 (Timeout)
wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

repeat over and over. At line 38006, we see:

select6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 1 (in
[40], left {0, 264028})
read(40, (Reading database ... \r, 1024) = 23
write(1, (Reading database ... \r, 23) = 23
write(4, (Reading database ... \r, 23) = 23
wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

before the pattern above starts to repeat again.

Of the last 117592 lines, most are the (repeating ones) above, only
1012 are different. I've post these different ones, i.e., the result
of

tail -117592 DU.txt | grep -F -v 'wait4(8948, 0x7ffd2430a5c0,
WNOHANG, NULL) = 0' | grep -F -v 'pselect6(43, [0 40 42], NULL, NULL,
{0, 50}, {[], 8}) = 0 (Timeout)'

here:

http://www.math.utk.edu/~finotti/misc/DU2.log

Again, just a last attempt.

Best to all,

Luis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMo809V9Rm8yz2KR=sstayayephvknjaywufl+ttveqmsy4...@mail.gmail.com