Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #20349 > unrolled thread

Trouble using apt-get

Started bybob prohaska <bp@www.zefox.net>
First post2019-06-25 01:46 +0000
Last post2019-07-11 18:27 +0000
Articles 18 — 5 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  Trouble using apt-get bob prohaska <bp@www.zefox.net> - 2019-06-25 01:46 +0000
    Re: Trouble using apt-get neverland@GoodeveCa.net (Pete) - 2019-07-07 00:00 +0000
      Re: Trouble using apt-get not@telling.you.invalid (Computer Nerd Kev) - 2019-07-07 01:16 +0000
        Re: Trouble using apt-get neverland@GOODEVEca.net (Pete) - 2019-07-08 01:40 +0000
          Re: Trouble using apt-get neverland@GoodeveCa.net (Pete) - 2019-07-08 06:02 +0000
            Re: Trouble using apt-get not@telling.you.invalid (Computer Nerd Kev) - 2019-07-08 23:49 +0000
              Re: Trouble using apt-get neverland@GOODEVEca.net (Pete) - 2019-07-09 19:49 +0000
                Re: Trouble using apt-get not@telling.you.invalid (Computer Nerd Kev) - 2019-07-09 23:23 +0000
      Re: Trouble using apt-get Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-07 11:40 -0400
        Re: Trouble using apt-get Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-07 12:38 -0400
          Re: Trouble using apt-get not@telling.you.invalid (Computer Nerd Kev) - 2019-07-07 23:08 +0000
            Re: Trouble using apt-get neverland@GOODEVEca.net (Pete) - 2019-07-08 01:25 +0000
              Re: Trouble using apt-get Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-08 11:29 -0400
                Re: Trouble using apt-get neverland@GOODEVEca.net (Pete) - 2019-07-09 20:05 +0000
                  Re: Trouble using apt-get Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-10 00:37 -0400
                    Re: Trouble using apt-get not@telling.you.invalid (Computer Nerd Kev) - 2019-07-11 00:09 +0000
                      Re: Trouble using apt-get Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-07-11 10:22 -0400
    Re: Trouble using apt-get bob prohaska <bp@www.zefox.net> - 2019-07-11 18:27 +0000

#20349 — Trouble using apt-get

Frombob prohaska <bp@www.zefox.net>
Date2019-06-25 01:46 +0000
SubjectTrouble using apt-get
Message-ID<qeruco$cma$1@news.albasani.net>
Lately attempts to use apt-get have been going awry, like so:

bob@raspberrypi:~ $ sudo apt-get clean
bob@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages     
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:11662628 [weak]
   - SHA256:203e317bfde8cbbcb7677160459573bcb0f1a60dc07fec7b9c4faab3c1a8494e
   - SHA1:25d446506d592a3207e8917177a3e8d8849b81a8 [weak]
   - MD5Sum:4fb63b0668099b0752c75d45f18fedc6 [weak]
  Hashes of received file:
   - SHA256:6d332bfac22e51d07bb18d8e664c6ee5d85868321738d123bc7a0fb9898156c9
   - SHA1:79f7cdbc6ee28d91472d330f7629136fed235fa0 [weak]
   - MD5Sum:884352f5fbcfed64a47b7611b11af246 [weak]
   - Filesize:6799545 [weak]
  Last modification reported: Mon, 24 Jun 2019 04:30:23 +0000
  Release file created at: Mon, 24 Jun 2019 16:28:10 +0000
Fetched 6,815 kB in 1min 8s (98.9 kB/s)                                        
Reading package lists... Done
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages.xz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:11662628 [weak]
    - SHA256:203e317bfde8cbbcb7677160459573bcb0f1a60dc07fec7b9c4faab3c1a8494e
    - SHA1:25d446506d592a3207e8917177a3e8d8849b81a8 [weak]
    - MD5Sum:4fb63b0668099b0752c75d45f18fedc6 [weak]
   Hashes of received file:
    - SHA256:6d332bfac22e51d07bb18d8e664c6ee5d85868321738d123bc7a0fb9898156c9
    - SHA1:79f7cdbc6ee28d91472d330f7629136fed235fa0 [weak]
    - MD5Sum:884352f5fbcfed64a47b7611b11af246 [weak]
    - Filesize:6799545 [weak]
   Last modification reported: Mon, 24 Jun 2019 04:30:23 +0000
   Release file created at: Mon, 24 Jun 2019 16:28:10 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Anybody got a workaround? This has persisted for several days.

Thanks for reading,



[toc] | [next] | [standalone]


#20504

Fromneverland@GoodeveCa.net (Pete)
Date2019-07-07 00:00 +0000
Message-ID<qfrcm3$k85$1@gioia.aioe.org>
In reply to#20349
In article <qeruco$cma$1@news.albasani.net>,
bob prohaska  <bp@www.zefox.net> wrote:
>Lately attempts to use apt-get have been going awry, like so:
>
> [....]

Huh!  I was just going to post about my own problem, which is
slightly different, but I wonder if the cause is not what I thought?

My Pi is an old one that's using Wheezy.  As it does the job perfectly
for me, I have no reason to update.  Except...

I happened to want to use tcpdump, but find it isn't there.
So I went to apt-get it, but that failed, suggesting an 'apt-get update'.
Did that, and *everything* was 404!  Do they really not keep archives
for more that four years, or is something else going on?

I thought, Oh well, I'll just compile the thing from source...
But tcpdump requires libpcap, which requires flex, which requires
libtoolize...  At that point I gave up, as I can't install anything.

Are my expectations too high? (:-/)

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20505

Fromnot@telling.you.invalid (Computer Nerd Kev)
Date2019-07-07 01:16 +0000
Message-ID<qfrh66$16e0$1@gioia.aioe.org>
In reply to#20504
Pete <neverland@goodeveca.net> wrote:
> 
> My Pi is an old one that's using Wheezy.  As it does the job perfectly
> for me, I have no reason to update.  Except...
> 
> I happened to want to use tcpdump, but find it isn't there.
> So I went to apt-get it, but that failed, suggesting an 'apt-get update'.
> Did that, and *everything* was 404!  Do they really not keep archives
> for more that four years, or is something else going on?

I'm not a Raspbian user, but the first post includes reference to:
http://archive.raspberrypi.org/debian
and browsing that in a web browser finds a "dists/wheezy" directory.

I suggest adding that to /etc/apt/sources.list, if it's not already
there.

> I thought, Oh well, I'll just compile the thing from source...
> But tcpdump requires libpcap, which requires flex, which requires
> libtoolize...  At that point I gave up, as I can't install anything.

Yeah, I've done a fair bit of that. It does wear a bit when you get
so far along the dependency trail just to find one that refuses to
compile.

-- 
__          __
#_ < |\| |< _#

[toc] | [prev] | [next] | [standalone]


#20532

Fromneverland@GOODEVEca.net (Pete)
Date2019-07-08 01:40 +0000
Message-ID<qfu6v8$ls7$1@gioia.aioe.org>
In reply to#20505
In article <qfrh66$16e0$1@gioia.aioe.org>,
Computer Nerd Kev <not@telling.you.invalid> wrote:

>I'm not a Raspbian user, but the first post includes reference to:
>http://archive.raspberrypi.org/debian
>and browsing that in a web browser finds a "dists/wheezy" directory.
>
Thanks, but digging into that seems to show that it's only raspbian
itself.  No other packages.

>I suggest adding that to /etc/apt/sources.list, if it's not already
>there.

The format of the list is a bit different.  Not sure how it works:

 deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
 deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

Maybe I'll dig around a bit.  See if I can find anything.

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20533

Fromneverland@GoodeveCa.net (Pete)
Date2019-07-08 06:02 +0000
Message-ID<qfum9i$ka9$1@gioia.aioe.org>
In reply to#20532
In article <qfu6v8$ls7$1@gioia.aioe.org>, Pete <neverland@GOODEVEca.net> wrote:
>In article <qfrh66$16e0$1@gioia.aioe.org>,
>Computer Nerd Kev <not@telling.you.invalid> wrote:
>
>>I'm not a Raspbian user, but the first post includes reference to:
>>http://archive.raspberrypi.org/debian
>>and browsing that in a web browser finds a "dists/wheezy" directory.
>>
>Thanks, but digging into that seems to show that it's only raspbian
>itself.  No other packages.
>
>
>The format of the list is a bit different.  Not sure how it works:
>
> deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib
>non-free rpi
> deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main
>contrib non-free rpi
>
Well, maybe I'll forgive 'em... (:-/)  I should always remember
to wander the web a bit before complaining too hard.  I did a
search for "raspberrypi wheezy repo", and it threw up a forum
discussion sparked by somebody with just the same problem.
The answer is to replace the url above with:

   http://legacy.raspbian.org/raspbian/

I just put that in both the above lines (not sure if I should have
changed the 'deb-src' line -- maybe they are still appropriate?),
and I was able to install my package.  (After remembering to also
do "apt-get update"!)

Thanks, all.

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20537

Fromnot@telling.you.invalid (Computer Nerd Kev)
Date2019-07-08 23:49 +0000
Message-ID<qg0kpc$1ffg$1@gioia.aioe.org>
In reply to#20533
Pete <neverland@goodeveca.net> wrote:
> In article <qfu6v8$ls7$1@gioia.aioe.org>, Pete <neverland@GOODEVEca.net> wrote:
>>In article <qfrh66$16e0$1@gioia.aioe.org>,
>>Computer Nerd Kev <not@telling.you.invalid> wrote:
>>
>>>I'm not a Raspbian user, but the first post includes reference to:
>>>http://archive.raspberrypi.org/debian
>>>and browsing that in a web browser finds a "dists/wheezy" directory.
>>>
>>Thanks, but digging into that seems to show that it's only raspbian
>>itself.  No other packages.

The packages are in the "pool" directory. The package manager gets
the package lists from within the "dists/wheezy" directory, then
uses that to locate compatible packages within "pool/".

>>The format of the list is a bit different.  Not sure how it works:
>>
>> deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib
>>non-free rpi
>> deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main
>>contrib non-free rpi
>>
> Well, maybe I'll forgive 'em... (:-/)  I should always remember
> to wander the web a bit before complaining too hard.  I did a
> search for "raspberrypi wheezy repo", and it threw up a forum
> discussion sparked by somebody with just the same problem.
> The answer is to replace the url above with:
> 
>   http://legacy.raspbian.org/raspbian/

I'm guessing they're Raspbian specific packages, while the other
archive link is for Debian packages that are compatible with
Rasbian. If so, then you'd want both in /etc/sources.list

> I just put that in both the above lines (not sure if I should have
> changed the 'deb-src' line -- maybe they are still appropriate?),
> and I was able to install my package.  (After remembering to also
> do "apt-get update"!)

Yes, put it in the deb-src part as well. I'm not sure what the format
is for the Debian archive in /etc/sources.list. There's "main",
"staging", and "untested". If I assume that this is about testing
Debian packages to see whether they break under Raspbian, perhaps
use:
deb http://archive.raspberrypi.org/debian wheezy main
deb-src http://archive.raspberrypi.org/debian wheezy main

But as I say, I'm not a Rasbian user and am just guessing based
on my knowledge of Debian. Anyway you've got the package you wanted,
so maybe it doesn't matter until the next time you want to install
a new program.

-- 
__          __
#_ < |\| |< _#

[toc] | [prev] | [next] | [standalone]


#20558

Fromneverland@GOODEVEca.net (Pete)
Date2019-07-09 19:49 +0000
Message-ID<qg2r4g$1698$1@gioia.aioe.org>
In reply to#20537
In article <qg0kpc$1ffg$1@gioia.aioe.org>,
Computer Nerd Kev <not@telling.you.invalid> wrote:
>Pete <neverland@goodeveca.net> wrote:
>> In article <qfu6v8$ls7$1@gioia.aioe.org>, Pete
><neverland@GOODEVEca.net> wrote:
>>>In article <qfrh66$16e0$1@gioia.aioe.org>,
>>>Computer Nerd Kev <not@telling.you.invalid> wrote:
>>>
>>>>I'm not a Raspbian user, but the first post includes reference to:
>>>>http://archive.raspberrypi.org/debian
>>>>and browsing that in a web browser finds a "dists/wheezy" directory.
>>>>
>>>Thanks, but digging into that seems to show that it's only raspbian
>>>itself.  No other packages.
>
>The packages are in the "pool" directory. The package manager gets
>the package lists from within the "dists/wheezy" directory, then
>uses that to locate compatible packages within "pool/".

Mmm..  I don't think so.  I looked there too -- and everywhere else
I coukld think of -- and didn't see anything but core stuff.
>
> [....]
>> I just put that in both the above lines (not sure if I should have
>> changed the 'deb-src' line -- maybe they are still appropriate?),
>> and I was able to install my package.  (After remembering to also
>> do "apt-get update"!)
>
>Yes, put it in the deb-src part as well. [...]

Yeah, I was being silly.  As the deb-src line also contains "wheezy",
it must be specific.
>
Anyway, all good now.

Thanks,

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20561

Fromnot@telling.you.invalid (Computer Nerd Kev)
Date2019-07-09 23:23 +0000
Message-ID<qg37lm$s9g$1@gioia.aioe.org>
In reply to#20558
Pete <neverland@goodeveca.net> wrote:
> In article <qg0kpc$1ffg$1@gioia.aioe.org>,
> Computer Nerd Kev <not@telling.you.invalid> wrote:
>>Pete <neverland@goodeveca.net> wrote:
>>> In article <qfu6v8$ls7$1@gioia.aioe.org>, Pete
>><neverland@GOODEVEca.net> wrote:
>>>>In article <qfrh66$16e0$1@gioia.aioe.org>,
>>>>Computer Nerd Kev <not@telling.you.invalid> wrote:
>>>>
>>>>>I'm not a Raspbian user, but the first post includes reference to:
>>>>>http://archive.raspberrypi.org/debian
>>>>>and browsing that in a web browser finds a "dists/wheezy" directory.
>>>>>
>>>>Thanks, but digging into that seems to show that it's only raspbian
>>>>itself.  No other packages.
>>
>>The packages are in the "pool" directory. The package manager gets
>>the package lists from within the "dists/wheezy" directory, then
>>uses that to locate compatible packages within "pool/".
> 
> Mmm..  I don't think so.  I looked there too -- and everywhere else
> I coukld think of -- and didn't see anything but core stuff.

It looks like it's a small sub-set of what's really available for
Debian, but there are packages for Chromium in there, for example:
http://archive.raspberrypi.org/debian/pool/main/c/chromium-browser/

I think the idea is that you use the Debian packages in combination
with the Raspbian packages, and the former probably provide some of
the required dependencies for the latter.

-- 
__          __
#_ < |\| |< _#

[toc] | [prev] | [next] | [standalone]


#20519

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-07-07 11:40 -0400
Message-ID<pc44iet3jg9leneo9jf9bav6q2i7qag4rc@4ax.com>
In reply to#20504
On Sun, 7 Jul 2019 00:00:03 +0000 (UTC), neverland@GoodeveCa.net (Pete)
declaimed the following:

>
>My Pi is an old one that's using Wheezy.  As it does the job perfectly
>for me, I have no reason to update.  Except...
>
	Ancient...

	Buster is due out (well, the R-Pi 4 is using a pre-release "testing"
image as Stretch won't work on it), and even Jessie is being phased out.

>I happened to want to use tcpdump, but find it isn't there.
>So I went to apt-get it, but that failed, suggesting an 'apt-get update'.
>Did that, and *everything* was 404!  Do they really not keep archives
>for more that four years, or is something else going on?
>

	I suspect it isn't time -- but versions... Wheezy is FOUR generations
old in relation to Buster. That makes it the "WinXP" in relation to
"Win10".


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20520

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-07-07 12:38 -0400
Message-ID<8h74ietb5pngg8ke34ds76o504g9jlgcj7@4ax.com>
In reply to#20519
o/~ talking to myself in public o/~

On Sun, 07 Jul 2019 11:40:54 -0400, Dennis Lee Bieber
<wlfraed@ix.netcom.com> declaimed the following:


>
>	Buster is due out (well, the R-Pi 4 is using a pre-release "testing"
>image as Stretch won't work on it), and even Jessie is being phased out.
>

	Actually, it IS out... as of yesterday.
https://www.debian.org/News/2019/20190706
So expect a newer Raspbian/NOOBS image in a few days, configured for the
"stable" release.

>
>	I suspect it isn't time -- but versions... Wheezy is FOUR generations
>old in relation to Buster. That makes it the "WinXP" in relation to
>"Win10".

	Well, might also be time -- from the linked announcement Buster
"...will be supported for the next 5 years...", so Wheezy could easily have
fallen out of the support range... Confirmed on

https://wiki.debian.org/LTS

Wheezy support expired May of LAST year. Jessie is in "long term support"
until June of next year, Stretch will be go into LTS next year until summer
of 2022. LTS appears to be a volunteer team, and not formal Debian security
patches.



-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20530

Fromnot@telling.you.invalid (Computer Nerd Kev)
Date2019-07-07 23:08 +0000
Message-ID<qftu1o$1hpg$1@gioia.aioe.org>
In reply to#20520
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> o/~ talking to myself in public o/~
> 
> On Sun, 07 Jul 2019 11:40:54 -0400, Dennis Lee Bieber
> <wlfraed@ix.netcom.com> declaimed the following:
>>
>>       I suspect it isn't time -- but versions... Wheezy is FOUR generations
>>old in relation to Buster. That makes it the "WinXP" in relation to
>>"Win10".
> 
>        Well, might also be time -- from the linked announcement Buster
> "...will be supported for the next 5 years...", so Wheezy could easily have
> fallen out of the support range... Confirmed on
> 
> https://wiki.debian.org/LTS
> 
> Wheezy support expired May of LAST year. Jessie is in "long term support"
> until June of next year, Stretch will be go into LTS next year until summer
> of 2022. LTS appears to be a volunteer team, and not formal Debian security
> patches.

It's a separate project certainly, to what extent it is more
"volunteer" than the rest of the package administration I'm
not sure. I don't know if LTS Debian packages ever make it as far
as the Raspbian respository either.

As far as the security patches themselves go, they're simply builds
of patches released by the developers of each program, so they're
just as formal as the packages for the stable distro. The issue is
that some programs may not receive the patches as quickly or as
regularly as they do for mainstream supported distro versions.

But poster is not trying to deal with security updates, just install
a package that was available originally, and presumably he's happy
with a slightly outdated version. The secuirty implications of that
are another matter, and depend of what he's doing with the Pi.

-- 
__          __
#_ < |\| |< _#

[toc] | [prev] | [next] | [standalone]


#20531

Fromneverland@GOODEVEca.net (Pete)
Date2019-07-08 01:25 +0000
Message-ID<qfu637$iam$1@gioia.aioe.org>
In reply to#20530
In article <qftu1o$1hpg$1@gioia.aioe.org>,
Computer Nerd Kev <not@telling.you.invalid> wrote:
>Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
>>>
>>>       I suspect it isn't time -- but versions... Wheezy is FOUR generations
>>>old in relation to Buster. That makes it the "WinXP" in relation to
>>>"Win10".
>> 
>>        Well, might also be time -- from the linked announcement Buster
>> "...will be supported for the next 5 years...", so Wheezy could easily have
>> fallen out of the support range... Confirmed on
>> 
>> https://wiki.debian.org/LTS
>> 
>> Wheezy support expired May of LAST year. Jessie is in "long term support"
>> until June of next year, Stretch will be go into LTS next year until summer
>> of 2022. LTS appears to be a volunteer team, and not formal Debian security
>> patches.

Yuck, basically...  I'm not used to systems 'expiring' (not being
a Windows user...). I'm still making heavy use of my 20+ years old
BeOS machine; slow, but perectly adequate for email, usenet (:-/),
and much of browsing.  And I consider 'support' to be a bit different
from keeping an archive around.  My Pi, similarly, is perfectly good
for what it's currently used for -- mostly a 'reminder server' for my
other machines and playing audio streams. 

I expect I'll get a Pi4 pretty soon, and of course will put Buster
on that, but it won't obsolete the other board.

>
>But poster is not trying to deal with security updates, just install
>a package that was available originally, and presumably he's happy
>with a slightly outdated version. The secuirty implications of that
>are another matter, and depend of what he's doing with the Pi.

Exactly. It's behind a firewall, with the only port exposed being
a private one for the reminder service (so I can access it from
the coffee shop!).  I tried opening port 80 for a while, but got
fed up with all the malevolent probes.

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20535

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-07-08 11:29 -0400
Message-ID<o1o6ielccbkbq06ht6egr9huu42i7ub54t@4ax.com>
In reply to#20531
On Mon, 8 Jul 2019 01:25:59 +0000 (UTC), neverland@GOODEVEca.net (Pete)
declaimed the following:

>Exactly. It's behind a firewall, with the only port exposed being
>a private one for the reminder service (so I can access it from
>the coffee shop!).  I tried opening port 80 for a while, but got
>fed up with all the malevolent probes.
>
	I suspect mine is getting bogged down by such too... But having lost
the 10MB (per email address) static web space from Earthlink (I'm paying to
keep the email addresses alive, but no longer have the web space for
scratch files), I set up a dynamic DNS account and set up an nginx server
on a Pi3B (now if I could figure out how to keep it from creating status
files for the DDNS update calls, to reduce wear on the SD card; I can't
justify running a TB hard drive just for log files).


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20559

Fromneverland@GOODEVEca.net (Pete)
Date2019-07-09 20:05 +0000
Message-ID<qg2s2k$1ae4$1@gioia.aioe.org>
In reply to#20535
In article <o1o6ielccbkbq06ht6egr9huu42i7ub54t@4ax.com>,
Dennis Lee Bieber  <wlfraed@ix.netcom.com> wrote:
>On Mon, 8 Jul 2019 01:25:59 +0000 (UTC), neverland@GOODEVEca.net (Pete)
>declaimed the following:
>
>>Exactly. It's behind a firewall, with the only port exposed being
>>a private one for the reminder service (so I can access it from
>>the coffee shop!).  I tried opening port 80 for a while, but got
>>fed up with all the malevolent probes.
>>
>	I suspect mine is getting bogged down by such too... But having lost
>the 10MB (per email address) static web space from Earthlink (I'm paying to
>keep the email addresses alive, but no longer have the web space for
>scratch files), I set up a dynamic DNS account and set up an nginx server
>on a Pi3B (now if I could figure out how to keep it from creating status
>files for the DDNS update calls, to reduce wear on the SD card; I can't
>justify running a TB hard drive just for log files).
>
I've made sure I have a static IP just because I thought I might want
to have a local web server, but it never actually has seemed worth it.
Maybe I'm fortunate in having a local friendly ISP, that gives me web
space for a very reasonable price.  The static IP makes the above-mentioned
coffee-shop access simple, though.

Cheers,

	-- Pete --

[toc] | [prev] | [next] | [standalone]


#20562

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-07-10 00:37 -0400
Message-ID<5jqaie9kbu7c5gubueqtrl16lbcal4u9bl@4ax.com>
In reply to#20559
On Tue, 9 Jul 2019 20:05:40 +0000 (UTC), neverland@GOODEVEca.net (Pete)
declaimed the following:

>I've made sure I have a static IP just because I thought I might want
>to have a local web server, but it never actually has seemed worth it.
>Maybe I'm fortunate in having a local friendly ISP, that gives me web
>space for a very reasonable price.  The static IP makes the above-mentioned
>coffee-shop access simple, though.
>

	Well... the dynamic DNS isn't too much of a hassle -- other than the
fact that U-verse routers don't include software to update the DDNS system
(unlike my older DSL routers which included configuration pages for dynamic
DNS service). As a result, I have to run a CRON job to periodically pester
the DDNS so it can link my router IP to the domain name. And that leaves a
residue file on each update -- so I have another CRON job that deletes the
residue files when they are something like two days old. I tried
configuring the CRON job to direct stdout/stderr to the bit-bucket but
doesn't seem to take or the residue file is not stdout/stderr of the task
itself.



-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20567

Fromnot@telling.you.invalid (Computer Nerd Kev)
Date2019-07-11 00:09 +0000
Message-ID<qg5unm$uk5$1@gioia.aioe.org>
In reply to#20562
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> 
>        Well... the dynamic DNS isn't too much of a hassle -- other than the
> fact that U-verse routers don't include software to update the DDNS system
> (unlike my older DSL routers which included configuration pages for dynamic
> DNS service). As a result, I have to run a CRON job to periodically pester
> the DDNS so it can link my router IP to the domain name. And that leaves a
> residue file on each update -- so I have another CRON job that deletes the
> residue files when they are something like two days old. I tried
> configuring the CRON job to direct stdout/stderr to the bit-bucket but
> doesn't seem to take or the residue file is not stdout/stderr of the task
> itself.

You could configure it to keep the file on a ramdisk.

-- 
__          __
#_ < |\| |< _#

[toc] | [prev] | [next] | [standalone]


#20583

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2019-07-11 10:22 -0400
Message-ID<4gheie9jbq0g8p25gl0f6dt3024efbgh61@4ax.com>
In reply to#20567
On Thu, 11 Jul 2019 00:09:28 +0000 (UTC), not@telling.you.invalid (Computer
Nerd Kev) declaimed the following:

>
>You could configure it to keep the file on a ramdisk.

	If I could figure out how to redirect them, the bit-bucket would be
enough... Otherwise I'd have to put my home directory itself into RAM.



-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

[toc] | [prev] | [next] | [standalone]


#20585

Frombob prohaska <bp@www.zefox.net>
Date2019-07-11 18:27 +0000
Message-ID<qg7v1n$m0i$1@news.albasani.net>
In reply to#20349
bob prohaska <bp@www.zefox.net> wrote:
> Lately attempts to use apt-get have been going awry, like so:
> 
> bob@raspberrypi:~ $ sudo apt-get clean
> bob@raspberrypi:~ $ sudo apt-get update
> Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
> Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
> Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
> Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages     
>   Hash Sum mismatch
>   Hashes of expected file:
>    - Filesize:11662628 [weak]
>    - SHA256:203e317bfde8cbbcb7677160459573bcb0f1a60dc07fec7b9c4faab3c1a8494e
>    - SHA1:25d446506d592a3207e8917177a3e8d8849b81a8 [weak]
>    - MD5Sum:4fb63b0668099b0752c75d45f18fedc6 [weak]
>   Hashes of received file:
>    - SHA256:6d332bfac22e51d07bb18d8e664c6ee5d85868321738d123bc7a0fb9898156c9
>    - SHA1:79f7cdbc6ee28d91472d330f7629136fed235fa0 [weak]
>    - MD5Sum:884352f5fbcfed64a47b7611b11af246 [weak]
>    - Filesize:6799545 [weak]
>   Last modification reported: Mon, 24 Jun 2019 04:30:23 +0000
>   Release file created at: Mon, 24 Jun 2019 16:28:10 +0000
> Fetched 6,815 kB in 1min 8s (98.9 kB/s)                                        
> Reading package lists... Done
> E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages.xz  Hash Sum mismatch
>    Hashes of expected file:
>     - Filesize:11662628 [weak]
>     - SHA256:203e317bfde8cbbcb7677160459573bcb0f1a60dc07fec7b9c4faab3c1a8494e
>     - SHA1:25d446506d592a3207e8917177a3e8d8849b81a8 [weak]
>     - MD5Sum:4fb63b0668099b0752c75d45f18fedc6 [weak]
>    Hashes of received file:
>     - SHA256:6d332bfac22e51d07bb18d8e664c6ee5d85868321738d123bc7a0fb9898156c9
>     - SHA1:79f7cdbc6ee28d91472d330f7629136fed235fa0 [weak]
>     - MD5Sum:884352f5fbcfed64a47b7611b11af246 [weak]
>     - Filesize:6799545 [weak]
>    Last modification reported: Mon, 24 Jun 2019 04:30:23 +0000
>    Release file created at: Mon, 24 Jun 2019 16:28:10 +0000
> E: Some index files failed to download. They have been ignored, or old ones used instead.
> 

The problem seemed to go away some days ago, but it has returned so I tried
using aptitude. 

Using apt-get it appeared the files were coming from a mirror at UC Berkeley.
Using aptitude the files are coming from raspberrypi.org, so it's not a 
mirror problem. Aptitude still reports hash sum mismatches. Copy from the
aptitude terminal window doesn't work, so it isn't easy to quote an example,
but the text looks roughly similar with different sums and filesizes.

The only other quirk is that the download starts fast, tens of kB/sec,
and slows to ones or twos of kB/sec. Speedof.me reports 5 MB/s down, 1 MB/s
up, so the connection isn't the issue.  

Thanks for reading, any ideas appreciated.

bob prohaska

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.raspberry-pi


csiph-web