Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-18 Thread Bob Proulx
David Wright wrote:
 Quoting Bob Proulx (b...@proulx.com):
  When the program looks up the ftp.us.debian.org name it will get all
  three of the above in some order.  If your system is IPv6 capable it
 ...

 Thanks for that clear exposition. I myself have had no problem with
 these differences (assuming they could even be relevant). But can you
 throw any light on why Pierre is apparently being served a .xz
 compressed file by ftp.fr.debian.org which is making apt-get
 (presumably expecting to receive a .gz file) fail to verify the
 digest? (I can't even try reproducing this as I'm i386 and he's amd64.)

I keep thinking I will have time to give this a proper answer.
Basically that would require manually walking through downloading each
of the Packages and Release files in the archive and verifying
signatures and file checksums.  The tool is complaining about a
mismatch.  At some point doing all of that manually should reproduce
the same mismatch.  When I have needed to do that before (behind
corporate caching proxies) I always found that the caching proxy was
returning stale files.

That is about the only hint I can provide at this time.

Bob


signature.asc
Description: Digital signature


Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-16 Thread Pierre Frenkiel

On Sat, 16 May 2015, Brian wrote:



A comparison of the outputs from 'apt-config dump' on both laptops might
give something.


  alas no!
  after copying the /etc/apt directory from laptop2 to my laptop, the only 
difference is

  == diff apt-config_dump.ch8 apt-config_dump.mynb

  132c132
   Acquire::Languages:: fr;
  ---
   Acquire::Languages:: en;
  133a134
   Acquire::Languages:: fr;

 I don't think it can explain the problem.
 I'm rather reluctant to do a bug report, as I'm the only one to
 have this issue, and will probably use one of the proposed workarounds,
 although it's frustating to leave this mystery unexplained.


Unreproducible here on a new bare-bones i386 Wheezy install with the
same mirror.


  for me too, on my i386 desktop, wheezy or jessie.

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505161626180.27...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-16 Thread Brian
On Fri 15 May 2015 at 22:03:59 -0500, David Wright wrote:

 Quoting Bob Proulx (b...@proulx.com):
 
  When the program looks up the ftp.us.debian.org name it will get all
  three of the above in some order.  If your system is IPv6 capable it
  will prefer the IPv6 address and always use it.  If not then it will
  select one of the two IPv4 addresses and use it.  The different mirror
  sites are using different software.  Some sites advertise their own
  information and others do not.  The archive data provided is the same
  in either case.  And regardless the Release file is cryptographically
  signed and checksumed such that it can be trusted regardless of the
  host transporting it.  We appreciate the mirrors making their
  bandwidth and hosting available for Debian mirrors.
 
 Thanks for that clear exposition. I myself have had no problem with
 these differences (assuming they could even be relevant). But can you
 throw any light on why Pierre is apparently being served a .xz
 compressed file by ftp.fr.debian.org which is making apt-get
 (presumably expecting to receive a .gz file) fail to verify the
 digest? (I can't even try reproducing this as I'm i386 and he's amd64.)

A comparison of the outputs from 'apt-config dump' on both laptops might
give something.

Unreproducible here on a new bare-bones i386 Wheezy install with the
same mirror.


-- 
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/16052015142357.38cfac72d...@desktop.copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-15 Thread Pierre Frenkiel

On Thu, 14 May 2015, David Wright wrote:


. . .
$ wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:28:30--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.us.debian.org (ftp.us.debian.org)... 128.61.240.89, 
64.50.233.100, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|128.61.240.89|:80... 
connected.
HTTP request sent, awaiting response... 404 Not Found
2015-05-14 11:28:30 ERROR 404: Not Found.
. . .

$ wget http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:53:11--  
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.fr.debian.org (ftp.fr.debian.org)... 212.27.32.66, 
2a01:e0c:1:1598::2
Connecting to ftp.fr.debian.org (ftp.fr.debian.org)|212.27.32.66|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: Packages

Packages100%[===]  
 8.60M  2.32MB/s   in 4.4s

2015-05-14 11:53:16 (1.94 MB/s) - Packages saved [9019439/9019439]


  hi David,
  At least for that problem I found the explanation, and was able to reproduce 
it on
  my personal web server. I imported the index.html from the us and fr sites, 
and the
  3 files, Just try

 wget http://frenkiel-hure.net:8080/pub/us/Packages
 wget http://frenkiel-hure.net:8080/pub/fr/Packages
  By default, the wget command works for us and fr
  If I remove the line
AddType application/x-gzip .gz .tgz
  from the mime.conf file of my apache2 config, then wget works only for fr, as 
you can check.
  One have now to understand what difference in the 2 index.html files explains 
that.

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505150901590.9...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-15 Thread Bob Proulx
Brian wrote:
 Bob Proulx wrote:
  You are currently using:
  
deb http://ftp.fr.debian.org/debian jessie main
  
  That is okay.  Good!  But for the purpose of this task change that to
  a different but still valid mirror.  This would be a good time to try
  out the new http redirector which has just recently become an official
  Debian resource.[1]
  
deb http://httpredir.debian.org/debian jessie main
  
  That httpredir.debian.org was previously known as http.debian.net for
  those on the list that are familiar with it.
  
  This is a good configuration for anyone geographically anywhere as it
  will redirect to the best known nearby mirror.  The effect for you
  with this problem is that it will be a different appearing URL than
  the previously used ftp.fr.debian.org and will therefore ask for
  different files.  The previously locally cached files on your disk in
  /var/lib/apt will be expired as no longer being in your sources.list
  file.  If mismatched cached proxy files are your only remaining
  problem then this should fix it.  Make sure to 'apt-get update' after
  changing the sources.list file.
 
 A small reservation, much as we are advocates of http.debian.net in
 these parts. If the intention is to eliminate the mirror as a source
 of a problem it may not be sufficient. For whatever reason, the
 redirector may still choose the mirror you do not want as the best
 one to use.

I still consider the redirector somewhat experimental.  There are
reports that it sometimes does not select the best mirror.  It might
not detect that a mirror has gone out of sync fast enough and leave a
time when it would still be redirecting to a bad mirror.  It can't be
perfect.  However none of the other strategies such as the
ftp.XX.debian.org country code alias set are perfect either.  I have
had to report mirrors in the US set being stuck.  But both schemes
seem to be working pretty well.  That is why think of it as a try it
out policy.  Try it.  If it works then great.  If it doesn't for some
reason then continue to use the previous country specific mirrors.
That is my thinking.

Bob


signature.asc
Description: Digital signature


Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-15 Thread David Wright
Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):

   hi David,
   At least for that problem I found the explanation, and was able to 
 reproduce it on
   my personal web server. I imported the index.html from the us and fr sites, 
 and the
   3 files, Just try
 
  wget http://frenkiel-hure.net:8080/pub/us/Packages
  wget http://frenkiel-hure.net:8080/pub/fr/Packages
   By default, the wget command works for us and fr
   If I remove the line
   AddType application/x-gzip .gz .tgz
   from the mime.conf file of my apache2 config, then wget works only for fr, 
 as you can check.
   One have now to understand what difference in the 2 index.html files 
 explains that.

I'm afraid this is an aspect that I have little to no knowledge of.
I did take a look out of interest at the output from
wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386
wget http://ftp.fr.debian.org/debian/dists/jessie/main/binary-i386
and a comparison of them turned up nothing that looked significant.
I noticed that on repeating the former, I got a very different file,
and this might be because ftp.us.debian.org had resolved to a different
IPv4 address (but IPv6 was the same).

$ wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386
--2015-05-15 17:03:15--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386
Resolving ftp.us.debian.org (ftp.us.debian.org)... 128.61.240.89, 
64.50.233.100, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|128.61.240.89|:80... 
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386/ 
[following]
--2015-05-15 17:03:15--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386/
Reusing existing connection to ftp.us.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘binary-i386’

binary-i386 [ =]  
   569  --.-KB/s   in 0s

2015-05-15 17:03:15 (11.7 MB/s) - ‘binary-i386’ saved [569]

$ 

$ wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386
--2015-05-15 19:17:14--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386
Resolving ftp.us.debian.org (ftp.us.debian.org)... 64.50.233.100, 
128.61.240.89, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|64.50.233.100|:80... 
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386/ 
[following]
--2015-05-15 19:17:14--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-i386/
Reusing existing connection to ftp.us.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘binary-i386’

binary-i386 [ =]  
 3.22K  --.-KB/s   in 0s 

2015-05-15 19:17:14 (7.87 MB/s) - ‘binary-i386’ saved [3302]

$ 

The appearance of the webpage had also changed since yesterday, with
logos from Oregon State University, Open Source Lab, TDS and Friend of
OSL scattered around that weren't there before.

But, having no idea what goes on between apt etc and web servers, I'll
have to leave this for others to help you.

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/20150516004455.GA8187@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-15 Thread Bob Proulx
David Wright wrote:
 I noticed that on repeating the former, I got a very different file,
 and this might be because ftp.us.debian.org had resolved to a different
 IPv4 address (but IPv6 was the same).

  $ host ftp.us.debian.org
  ftp.us.debian.org has address 128.61.240.89
  ftp.us.debian.org has address 64.50.233.100
  ftp.us.debian.org has IPv6 address 2610:148:1f10:3::89

It is at this moment a list of two different IPv4 addresses and one
IPv6 address.  Looking up those will find that debian.gtisc.gatech.edu
has both IPv4 and IPv6 available.  ftp-nyc.osuosl.org only shows the
IPv4 address.  So basically two mirror sites are available.

Depending upon various things you will somewhat randomly get one or
the other site.  After having gotten one site it will be sticky for
the dns time to live value after which it will expire and the
selection process will repeat.

 The appearance of the webpage had also changed since yesterday, with
 logos from Oregon State University, Open Source Lab, TDS and Friend of
 OSL scattered around that weren't there before.

Basically the difference is:

  http://64.50.233.100/debian/
  http://128.61.240.89/debian/

When the program looks up the ftp.us.debian.org name it will get all
three of the above in some order.  If your system is IPv6 capable it
will prefer the IPv6 address and always use it.  If not then it will
select one of the two IPv4 addresses and use it.  The different mirror
sites are using different software.  Some sites advertise their own
information and others do not.  The archive data provided is the same
in either case.  And regardless the Release file is cryptographically
signed and checksumed such that it can be trusted regardless of the
host transporting it.  We appreciate the mirrors making their
bandwidth and hosting available for Debian mirrors.

Bob


signature.asc
Description: Digital signature


Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-15 Thread David Wright
Quoting Bob Proulx (b...@proulx.com):

 When the program looks up the ftp.us.debian.org name it will get all
 three of the above in some order.  If your system is IPv6 capable it
 will prefer the IPv6 address and always use it.  If not then it will
 select one of the two IPv4 addresses and use it.  The different mirror
 sites are using different software.  Some sites advertise their own
 information and others do not.  The archive data provided is the same
 in either case.  And regardless the Release file is cryptographically
 signed and checksumed such that it can be trusted regardless of the
 host transporting it.  We appreciate the mirrors making their
 bandwidth and hosting available for Debian mirrors.

Thanks for that clear exposition. I myself have had no problem with
these differences (assuming they could even be relevant). But can you
throw any light on why Pierre is apparently being served a .xz
compressed file by ftp.fr.debian.org which is making apt-get
(presumably expecting to receive a .gz file) fail to verify the
digest? (I can't even try reproducing this as I'm i386 and he's amd64.)

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/20150516030359.GA11790@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Pierre Frenkiel

On Thu, 14 May 2015, Brian wrote:


Do we assume the problem laptop and laptop2 have the same versions of
apt? 'dpkg -l apt' for that.


  yes: 0.9.7.9+deb7u7
  It's the 1st thing I checked when I found this difference of behaviuor.

  I may-be forgot to say that the problem occurs with apt-get as well as
  aptitude.

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505141429440.5...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Brian
On Wed 13 May 2015 at 12:55:16 -0600, Bob Proulx wrote:

 You are currently using:
 
   deb http://ftp.fr.debian.org/debian jessie main
 
 That is okay.  Good!  But for the purpose of this task change that to
 a different but still valid mirror.  This would be a good time to try
 out the new http redirector which has just recently become an official
 Debian resource.[1]
 
   deb http://httpredir.debian.org/debian jessie main
 
 That httpredir.debian.org was previously known as http.debian.net for
 those on the list that are familiar with it.
 
 This is a good configuration for anyone geographically anywhere as it
 will redirect to the best known nearby mirror.  The effect for you
 with this problem is that it will be a different appearing URL than
 the previously used ftp.fr.debian.org and will therefore ask for
 different files.  The previously locally cached files on your disk in
 /var/lib/apt will be expired as no longer being in your sources.list
 file.  If mismatched cached proxy files are your only remaining
 problem then this should fix it.  Make sure to 'apt-get update' after
 changing the sources.list file.

A small reservation, much as we are advocates of http.debian.net in
these parts. If the intention is to eliminate the mirror as a source
of a problem it may not be sufficient. For whatever reason, the
redirector may still choose the mirror you do not want as the best
one to use.


-- 
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/14052015181129.b78a1d878...@desktop.copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread David Wright
Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):
 On Wed, 13 May 2015, David Wright wrote:
 
 What happens if you perform this sort of conversation:
 . . .
 ~ $ wget 
 http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
 ~ $ md5sum Packages
 ~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease
 ~ $ grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
 . . .
 Do they match as shown?
 Do the md5sums of your files in /var/lib/apt/lists match your wife's?
 
   hi David,
   fortunately, I get the same result as you after the wget ...
   I couldn't imagine that wget doesn't give always the same file

Well, having tried downloading with wget as reported above, I just
thought I'd try my regular mirror to see what happens there. The
results are slightly different, so I'll not snip at the output.

 $ wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:28:30--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.us.debian.org (ftp.us.debian.org)... 128.61.240.89, 
64.50.233.100, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|128.61.240.89|:80... 
connected.
HTTP request sent, awaiting response... 404 Not Found
2015-05-14 11:28:30 ERROR 404: Not Found.

 $ wget 
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages.gz
--2015-05-14 11:34:52--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages.gz
Resolving ftp.us.debian.org (ftp.us.debian.org)... 64.50.233.100, 
128.61.240.89, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|64.50.233.100|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: ‘Packages.gz’

Packages.gz 100%[===]  
 8.60M 2.15MB/s   in 4.5s   

2015-05-14 11:34:57 (1.91 MB/s) - ‘Packages.gz’ saved [9019439/9019439]

 $ wget http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:53:11--  
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.fr.debian.org (ftp.fr.debian.org)... 212.27.32.66, 
2a01:e0c:1:1598::2
Connecting to ftp.fr.debian.org (ftp.fr.debian.org)|212.27.32.66|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: ‘Packages’

Packages100%[===]  
 8.60M  2.32MB/s   in 4.4s   

2015-05-14 11:53:16 (1.94 MB/s) - ‘Packages’ saved [9019439/9019439]

 $ ls -l
...  9019439 Apr 26 15:16 Packages
...  9019439 Apr 26 15:16 Packages.gz

The webpages show:

http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/ (spaces pruned)

Index of /debian/dists/jessie/main/binary-amd64/

../
Packages.gz   26-Apr-2015 20:169019439
Packages.xz   26-Apr-2015 20:176765188
Release   25-Apr-2015 11:1194

and:

http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/ (raw cut and 
paste)

Index of /debian/dists/jessie/main/binary-amd64
[ICO] Name  Last modified   SizeDescription
[DIR] Parent Directory  -
[ ]   Packages.gz   26-Apr-2015 22:16   8.6M

[ ]   Packages.xz   26-Apr-2015 22:17   6.5M

[ ]   Release   25-Apr-2015 13:11   94

Apache/2.2.22 (Debian) Server at ftp.fr.debian.org Port 80

The uk site looks like the us one (including the UTC time zone).

This is what makes me think it's in the network, or apt's
configuration for reacting to such differences in servers. And I think
that the bug Ralf Katz mentioned (624122) was concerned partly with
the introduction of .xz compression.

I'm not myself familiar with how web servers and their clients, or
indeed wget, handle this area.

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/20150514172032.GA10290@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Brian
On Thu 14 May 2015 at 14:33:49 +0200, Pierre Frenkiel wrote:

 On Thu, 14 May 2015, Brian wrote:
 
 Do we assume the problem laptop and laptop2 have the same versions of
 apt? 'dpkg -l apt' for that.
 
   yes: 0.9.7.9+deb7u7
   It's the 1st thing I checked when I found this difference of behaviuor.
 
   I may-be forgot to say that the problem occurs with apt-get as well as
   aptitude.

Ok, you want to upgrade our amd64 laptop to Jessie but this 'Hash Sum
mismatch' doesn't appear to be amenable to the usual treatment such as
changing mirror, deleting /var/lib/apt/lists/ or waiting for the problem
to sort itself out etc, etc.

You could try bypassing the 'apt-get update' step and upgrading from
there.

1. Have

 deb http://ftp.fr.debian.org/debian jessie main

   as the only line in sources.list.

2. Delete files in /var/lib/apt/lists and the subdirectory partial.

3.   cd /var/lib/apt/lists

4. Download Translation-fr.bz2, Packages.gz and InRelease:

 wget 
http://ftp.fr.debian.org/debian/dists/jessie/main/i18n/Translation-fr.bz2
 wget 
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages.gz
 wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease

4. Uncompress Translation-fr.bz2 and Packages.gz.

5.   mv Translation-fr 
ftp.fr.debian.org_debian_dists_jessie_main_i18n_Translation-fr
 mv Packages ftp.fr.debian.org_debian_dists_jessie_main_binary-i386_Packages
 mv InRelease ftp.fr.debian.org_debian_dists_jessie_InRelease

6. Check the result of these steps for a package you know you have on
   the system.

 apt-cache show aptitude | less

7. Upgrade to Jessie with 'apt-get upgrade' and apt-get 'dist-upgrade'.

An alternative open to you would be to update on laptop2 and copy the
three files over.

Not being able to reproduce your problem I don't know how well this will
work for you. But it should keep you off the streets for a while this
evening. :)


-- 
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/20150514170453.gm3...@copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread David Wright
Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):
 On Wed, 13 May 2015, David Wright wrote:
 
 What happens if you perform this sort of conversation:
 . . .
 ~ $ wget 
 http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
 ~ $ md5sum Packages
 ~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease
 ~ $ grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
 . . .
 Do they match as shown?
 Do the md5sums of your files in /var/lib/apt/lists match your wife's?
 
   hi David,
   fortunately, I get the same result as you after the wget ...
   I couldn't imagine that wget doesn't give always the same file
 
   here is what I got on the 2 laptops. Can you interpret that? I can't...
 
 after wget ...
 --
=md5sum Packages
  854af4d1ea9bce473bd82c11fb62f5bb  Packages
 
=grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
  854af4d1ea9bce473bd82c11fb62f5bb  9019439 main/binary-amd64/Packages.gz
 
=grep 7da350516909a92ebfe504d8b0bde8a6  InRelease
  7da350516909a92ebfe504d8b0bde8a6 33775581 main/binary-amd64/Packages

Well, that looks fine. Bear in mind that the wget'd Packages is still
compressed with gz, though not in name (ie no .gz suffix).

- ls partial
ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages

 ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages.decomp.FAILED
ftp.fr.debian.org_debian_dists_jessie_main_binary-i386_Packages

 ftp.fr.debian.org_debian_dists_jessie_main_binary-i386_Packages.decomp.FAILED

The question here (having not seen files like this on my system) is
what does FAILED mean.

- md5sum 
 partial/ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages
8b72b60bfb915f1fd4bc043e1288b1ff  
 partial/ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages

That is the correct digest for the Packages file but compressed with
.xz rather than .gz ...

- grep 8b72b60bfb915f1fd4bc043e1288b1ff *
ftp.fr.debian.org_debian_dists_jessie_Release: 
 8b72b60bfb915f1fd4bc043e1288b1ff  6765188 main/binary-amd64/Packages.xz

... as confirmed here. If you decompress it with
unxz -c ...Packages  /tmp/Packages
and then
md5sum /tmp/Packages
you may see ...

- grep 7da350516909a92ebfe504d8b0bde8a6 *
ftp.fr.debian.org_debian_dists_jessie_Release: 
 7da350516909a92ebfe504d8b0bde8a6 33775581 main/binary-amd64/Packages

... a digest like that.

So it would appear to me that your machine is downloading the .xz file
from http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/
but treating it as a .gz file which will make it fail.

I don't know where this decision is made. (I also don't know where the
decision is made by wget as to which Packages file to download, the
.gz or the .xz one.)

My wheezy apt-cacher-ng had a similar problem with serving the jessie
tree. Because a file arrived in .xz format and failed to decompress,
it could never get as far as pruning the jessie pool cache which grew
and grew. It was fixed by installing the wheezy-backport version.

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/20150514152614.GA8152@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Brian
On Thu 14 May 2015 at 08:54:00 +0200, Pierre Frenkiel wrote:

 On Wed, 13 May 2015, Bob Proulx wrote:
 
 That is okay.  Good!  But for the purpose of this task change that to
 a different but still valid mirror.  This would be a good time to try
 out the new http redirector which has just recently become an official
 Debian resource.[1]
 
  deb http://httpredir.debian.org/debian jessie main
 
   hi Bob,
   thanks for this useful information, but as expected,it changed
   nothing for my problem.
   I remind you that it occurs ONLY for 1 laptop, and ONLY for
   jessie. No problem on the 2 laptops for wheezy, and no problem
   on laptop2 with jessie.
   To be sure that there is not a bad config for apt, I  moved
   /etc/apt on my laptop, and replaced it by the /etc/apt directory
   of laptop2: the Hash Mismatch still occured!

Do we assume the problem laptop and laptop2 have the same versions of
apt? 'dpkg -l apt' for that.


-- 
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/14052015122717.0845d4fce...@desktop.copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Pierre Frenkiel

On Wed, 13 May 2015, Bob Proulx wrote:


That is okay.  Good!  But for the purpose of this task change that to
a different but still valid mirror.  This would be a good time to try
out the new http redirector which has just recently become an official
Debian resource.[1]

 deb http://httpredir.debian.org/debian jessie main


  hi Bob,
  thanks for this useful information, but as expected,it changed
  nothing for my problem.
  I remind you that it occurs ONLY for 1 laptop, and ONLY for
  jessie. No problem on the 2 laptops for wheezy, and no problem
  on laptop2 with jessie.
  To be sure that there is not a bad config for apt, I  moved
  /etc/apt on my laptop, and replaced it by the /etc/apt directory
  of laptop2: the Hash Mismatch still occured!

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505140845510.10...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Lisi Reisz
On Thursday 14 May 2015 00:51:38 Paul E Condon wrote:
 On 20150513_2054+0100, Lisi Reisz wrote:
  On Wednesday 13 May 2015 19:55:16 Bob Proulx wrote:
   Pierre Frenkiel wrote:
  I have still the same problem with Hash Sum mismatch
  Do you have any idea on how to fix it?
  
   Is your system behind a proxy cache of some sort?  This problem is one
   sometimes seen when files of different ages are cached and served
   causing the entire set of files to be out of sync with each other.
   This is sometimes seen when behind a caching proxy server such as
   those on a large company network.
  
   There are various solutions.  I think the simplest is to change the
   sources.list file to a different mirror.  That will have the effect of
   asking for different URLs and will avoid the previously cached files
   and will cause the local copies of the old files to be expired.
  
   You are currently using:
  
 deb http://ftp.fr.debian.org/debian jessie main
  
   That is okay.  Good!  But for the purpose of this task change that to
   a different but still valid mirror.  This would be a good time to try
   out the new http redirector which has just recently become an official
   Debian resource.[1]
  
 deb http://httpredir.debian.org/debian jessie main
  
   That httpredir.debian.org was previously known as http.debian.net for
   those on the list that are familiar with it.
  
   This is a good configuration for anyone geographically anywhere as it
   will redirect to the best known nearby mirror.  The effect for you
   with this problem is that it will be a different appearing URL than
   the previously used ftp.fr.debian.org and will therefore ask for
   different files.  The previously locally cached files on your disk in
   /var/lib/apt will be expired as no longer being in your sources.list
   file.  If mismatched cached proxy files are your only remaining
   problem then this should fix it.  Make sure to 'apt-get update' after
   changing the sources.list file.
 
  We need to be offered this during a netinstall.  I did a netinstall
  yesterday, and as usual was offered my bhoice of mirror in the UK.  I
  chose my usual because over the years it has been fast and reliable -
  though I have a regular second choice for when needed.
 
  I would more than happily have chosen httpredir.debian.org had I been
  offered it.
 
  Lisi

 At the very top of the pick-list of known mirrors in various parts of
 the world, there is a option to type in any URL and port number that
 you think will work for you (tm). I use it for accessing my approx
 proxy (with port# ), but it should work for a mirror set up by
 your neighbor across the street, or a honey pot set up by a certain
 spy agency, too.

That sounds even more bother than changing it now!  I'm quite happy with what 
I have got - but if Debian wants me to use something else, it should make it 
easier than the present options, not harder.

Still, I hadn't noticed this - years of going straight to Europe/UK.  I'll 
look out for it next time.

So perhaps I wouldn't have noticed the addition of redir even if it had been 
there.

Lisi


-- 
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/201505140923.30832.lisi.re...@gmail.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Brian
On Thu 14 May 2015 at 00:24:19 +0100, Lisi Reisz wrote:

 On Thursday 14 May 2015 00:05:44 Brian wrote:
 
  To clarify my second comment:
 
choose-mirror (2.62) unstable; urgency=medium
  * Update Mirrors.masterlist
  * This update includes adding httpredir.debian.org, which replaces
http.debian.net using debian.org servers.
 
 -- Cyril Brulebois k...@debian.org  Tue, 14 Apr 2015 12:17:22 +0200
 
  and
 
 https://lists.debian.org/debian-devel-announce/2015/04/msg8.html
 
 Oh, I can change it now, I know.  And I may get round to doing so.  

The quote and the link were given to indicate that httpredir is now part
of configuring the package manager in the Jessie installer, not to
suggest altering sources.list after the install.

 But it wasn't offered during the installation - and one has to choose a 
 mirror 
 before it will move on.

When a mirror country is chosen it includes httpredir.debian.org in the
list of mirrors. Easily missed if one is not looking for it or its
significance is not appreciated.

  I think for Stretch they should just use the 
 redir 
 and not offer the others.  It causes a delay in the installation while it 
 waits for the answer.  (Not much, I hasten to add.  The whole installation 
 before I added a DE took 15 minutes.)

It's a tempting idea but there is always the possibility the redirector
is not reachable in spite of high availabilty being designed into it.
It wouldn't go down well if other mirrors were not offered to complete
installation.


-- 
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/20150514092023.gl3...@copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Lisi Reisz
On Thursday 14 May 2015 10:20:23 Brian wrote:
 On Thu 14 May 2015 at 00:24:19 +0100, Lisi Reisz wrote:
  On Thursday 14 May 2015 00:05:44 Brian wrote:
   To clarify my second comment:
  
 choose-mirror (2.62) unstable; urgency=medium
   * Update Mirrors.masterlist
   * This update includes adding httpredir.debian.org, which replaces
 http.debian.net using debian.org servers.
  
  -- Cyril Brulebois k...@debian.org  Tue, 14 Apr 2015 12:17:22
   +0200
  
   and
  
  https://lists.debian.org/debian-devel-announce/2015/04/msg8.html
 
  Oh, I can change it now, I know.  And I may get round to doing so.

 The quote and the link were given to indicate that httpredir is now part
 of configuring the package manager in the Jessie installer, not to
 suggest altering sources.list after the install.

  But it wasn't offered during the installation - and one has to choose a
  mirror before it will move on.

 When a mirror country is chosen it includes httpredir.debian.org in the
 list of mirrors. Easily missed if one is not looking for it or its
 significance is not appreciated.

It must have been very near the bottom.  Last perhaps?  I read through the 
list until I got to the one I wanted, which was very near the bottom.  But I 
probably didn't read the one or two below it.  Still, if it is there, it 
would be good if it were the default.  I always avoid the actual default 
because it is so slow!  But the only way to learn that is the hard way.

   I think for Stretch they should just use
  the redir and not offer the others.  It causes a delay in the
  installation while it waits for the answer.  (Not much, I hasten to add. 
  The whole installation before I added a DE took 15 minutes.)

 It's a tempting idea but there is always the possibility the redirector
 is not reachable in spite of high availabilty being designed into it.
 It wouldn't go down well if other mirrors were not offered to complete
 installation.

Good point.  If the redirector is not permanently available, what is the point 
of it?  One is surely better off with a fast, near, high availability mirror?  
I suppose the answer is that newer mirrors might be even faster.

But it might be worth having the redirector as default.  (And I did look at 
the default, so I am sure that it wasn't.)

Lisi


-- 
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/201505141042.12815.lisi.re...@gmail.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Pierre Frenkiel

On Thu, 14 May 2015, Lisi Reisz wrote:


. . .
Good point.  If the redirector is not permanently available, what is the point
of it?  One is surely better off with a fast, near, high availability mirror?
I suppose the answer is that newer mirrors might be even faster.

But it might be worth having the redirector as default.  (And I did look at
the default, so I am sure that it wasn't.)
. . .


  hi Lisi,
  don't you think it may be better to open a new topic for this interesting
  discussion, as it has obviuosly nothing to do with the OP

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505141154420.31...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-14 Thread Pierre Frenkiel

On Wed, 13 May 2015, David Wright wrote:


What happens if you perform this sort of conversation:
. . .
~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
~ $ md5sum Packages
~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease
~ $ grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
. . .
Do they match as shown?
Do the md5sums of your files in /var/lib/apt/lists match your wife's?


  hi David,
  fortunately, I get the same result as you after the wget ...
  I couldn't imagine that wget doesn't give always the same file

  here is what I got on the 2 laptops. Can you interpret that? I can't...

after wget ...
--
   =md5sum Packages
 854af4d1ea9bce473bd82c11fb62f5bb  Packages

   =grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
 854af4d1ea9bce473bd82c11fb62f5bb  9019439 main/binary-amd64/Packages.gz

   =grep 7da350516909a92ebfe504d8b0bde8a6  InRelease
 7da350516909a92ebfe504d8b0bde8a6 33775581 main/binary-amd64/Packages

###
  on my laptop
  

in /var/lib/apt/lists
-
   - ls
   ftp.fr.debian.org_debian_dists_jessie_main_i18n_Translation-en
   ftp.fr.debian.org_debian_dists_jessie_Release
   ftp.fr.debian.org_debian_dists_jessie_Release.gpg
   - ls partial
   ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages
   
ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages.decomp.FAILED
   ftp.fr.debian.org_debian_dists_jessie_main_binary-i386_Packages
   
ftp.fr.debian.org_debian_dists_jessie_main_binary-i386_Packages.decomp.FAILED

   - md5sum 
partial/ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages
   8b72b60bfb915f1fd4bc043e1288b1ff  
partial/ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages

   - grep 8b72b60bfb915f1fd4bc043e1288b1ff *
   ftp.fr.debian.org_debian_dists_jessie_Release: 
8b72b60bfb915f1fd4bc043e1288b1ff  6765188 main/binary-amd64/Packages.xz

   - grep 7da350516909a92ebfe504d8b0bde8a6 *
   ftp.fr.debian.org_debian_dists_jessie_Release: 
7da350516909a92ebfe504d8b0bde8a6 33775581 main/binary-amd64/Packages
###
  on my wife's laptop
  ---
in /var/lib/apt/lists
-
   = md5sum ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages
  7da350516909a92ebfe504d8b0bde8a6  
ftp.fr.debian.org_debian_dists_jessie_main_binary-amd64_Packages

   = grep 7da350516909a92ebfe504d8b0bde8a6 *
  ftp.fr.debian.org_debian_dists_jessie_Release: 
7da350516909a92ebfe504d8b0bde8a6 33775581 main/binary-amd64/Packages

   = grep 854af4d1ea9bce473bd82c11fb62f5bb *
  ftp.fr.debian.org_debian_dists_jessie_Release: 
854af4d1ea9bce473bd82c11fb62f5bb  9019439 main/binary-amd64/Packages.gz
###


best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505141205580.3...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Pierre Frenkiel

On Tue, 12 May 2015, Bob Proulx wrote:


Check for additional configuration files in /etc/apt/sources.list.d/*
which I expect you to find a file referencing linux.dropbox.com
wheezy.

At a guess I expect that file to be owned by a package.  *If* there is a
file there *then* this will say what package owns it.

 dpkg -S /etc/apt/sources.list.d/*


  hi Bob,
  thanks for your reply. I actually had 2 files in /etc/apt/sources.list.d
  but the dpkg call gave:

dpkg-query: no path found matching pattern 
/etc/apt/sources.list.d/dropbox.list

  Anyway, I removed them, and after that the reference to wheezy in
  apt-get update disappeared, but I have still the same problem
  with Hash Sum mismatch
  Do you have any idea on how to fix it?

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505131054120.26...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread David Wright
Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):

   Anyway, I removed them, and after that the reference to wheezy in
   apt-get update disappeared, but I have still the same problem
   with Hash Sum mismatch
   Do you have any idea on how to fix it?

After you've tried the usual things like clearing /var/lib/apt/lists
and trying, say, ftp.uk.debian.org in your sources.list, I'd be
interested whether you still get the problem if you substitute
http: → ftp: in sources.list.

If none of that works, received wisdom (ie googling) appears to be:

If at work, take computer home.
If at home, take computer to work.

ie, it may be something to do with your/the network.

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/20150513141456.GA7127@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Bob Proulx
Pierre Frenkiel wrote:
   I have still the same problem with Hash Sum mismatch
   Do you have any idea on how to fix it?

Is your system behind a proxy cache of some sort?  This problem is one
sometimes seen when files of different ages are cached and served
causing the entire set of files to be out of sync with each other.
This is sometimes seen when behind a caching proxy server such as
those on a large company network.

There are various solutions.  I think the simplest is to change the
sources.list file to a different mirror.  That will have the effect of
asking for different URLs and will avoid the previously cached files
and will cause the local copies of the old files to be expired.

You are currently using:

  deb http://ftp.fr.debian.org/debian jessie main

That is okay.  Good!  But for the purpose of this task change that to
a different but still valid mirror.  This would be a good time to try
out the new http redirector which has just recently become an official
Debian resource.[1]

  deb http://httpredir.debian.org/debian jessie main

That httpredir.debian.org was previously known as http.debian.net for
those on the list that are familiar with it.

This is a good configuration for anyone geographically anywhere as it
will redirect to the best known nearby mirror.  The effect for you
with this problem is that it will be a different appearing URL than
the previously used ftp.fr.debian.org and will therefore ask for
different files.  The previously locally cached files on your disk in
/var/lib/apt will be expired as no longer being in your sources.list
file.  If mismatched cached proxy files are your only remaining
problem then this should fix it.  Make sure to 'apt-get update' after
changing the sources.list file.

Bob

Useful Resources:

[1] https://lists.debian.org/debian-devel-announce/2015/05/msg3.html

http://httpredir.debian.org/


signature.asc
Description: Digital signature


Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread David Wright
Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):
 On Wed, 13 May 2015, David Wright wrote:
 
 After you've tried the usual things like clearing /var/lib/apt/lists
 and trying, say, ftp.uk.debian.org in your sources.list, I'd be
 interested whether you still get the problem if you substitute
 http:  ftp: in sources.list.
 
I already tried all the usual tricks, and now tried yours, but the
result is the same with ftp instead of http.
 
 ie, it may be something to do with your/the network.
 
 I don't think my network is involved, for several reasons:
 1/ on my laptop, apt-get update works for wheezy sources.list
 2/ on my wife's laptop (also an amd64), it works
for wheezy and jessie.

What happens if you perform this sort of conversation:

~ $ wget 
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages 
--2015-05-13 12:49:05--
[...]
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: ‘Packages’
[...]
2015-05-13 12:49:12 (1.55 MB/s) - ‘Packages’ saved [9019439/9019439]

~ $ md5sum Packages 
854af4d1ea9bce473bd82c11fb62f5bb  Packages

~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease
--2015-05-13 12:51:17--
[...]
HTTP request sent, awaiting response... 200 OK
Length: 127816 (125K) [text/plain]
Saving to: ‘InRelease’
[...]
2015-05-13 12:51:17 (273 KB/s) - ‘InRelease’ saved [127816/127816]

~ $ grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease 
 854af4d1ea9bce473bd82c11fb62f5bb  9019439 main/binary-amd64/Packages.gz
~ $ 

Do they match as shown?

Do the md5sums of your files in /var/lib/apt/lists match your wife's?

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/20150513195735.GA13452@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Ralph Katz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 05/13/2015 05:15 AM, Pierre Frenkiel wrote:
[snip]
 Anyway, I removed them, and after that the reference to wheezy in 
 apt-get update disappeared, but I have still the same problem with
 Hash Sum mismatch Do you have any idea on how to fix it?

Maybe it's bug 624122,  Hash Sum mismatch.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624122

Good luck!
Ralph

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBCgAGBQJVU5+zAAoJECe2FpioHXO6ojkH/RWnqiOa0dwpo/VSHS+HZkMc
x01rAfKK0sji1/UMnLGCvagHDPnSBIS4nAKgvGGYrJ33rJ0jfsxw40hwo4Y4WQqT
SrV/vwWrwg/uolUDJwcnekBXdSj8+jBdjv3hTPcPV0wdfYiAM18DIpcPkMsjvoUq
q2T36ddxz4EMWi+M6YLhTtHSCSuxdllWkHoiMlWLQ+B4BoJhjsx45wxe4+piQL73
6sSBDPK/rFeHMvT8EnR6zAqT/1dT6AmMBa+Vk/ur1JNUZrkCUjRLLq+Pr6XNeWbF
9V41zAxlmxqNQQI8PWuSDwnsfFw7X8+Mjy9Ztc0GLUP4kVoZqXHL1gjZ4b+a9WQ=
=0riF
-END PGP SIGNATURE-


-- 
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/55539fd6.3000...@rcn.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Brian
On Wed 13 May 2015 at 20:54:52 +0100, Lisi Reisz wrote:

 On Wednesday 13 May 2015 19:55:16 Bob Proulx wrote:
  Pierre Frenkiel wrote:
 I have still the same problem with Hash Sum mismatch
 Do you have any idea on how to fix it?
 
  Is your system behind a proxy cache of some sort?  This problem is one
  sometimes seen when files of different ages are cached and served
  causing the entire set of files to be out of sync with each other.
  This is sometimes seen when behind a caching proxy server such as
  those on a large company network.
 
  There are various solutions.  I think the simplest is to change the
  sources.list file to a different mirror.  That will have the effect of
  asking for different URLs and will avoid the previously cached files
  and will cause the local copies of the old files to be expired.
 
  You are currently using:
 
deb http://ftp.fr.debian.org/debian jessie main
 
  That is okay.  Good!  But for the purpose of this task change that to
  a different but still valid mirror.  This would be a good time to try
  out the new http redirector which has just recently become an official
  Debian resource.[1]
 
deb http://httpredir.debian.org/debian jessie main
 
  That httpredir.debian.org was previously known as http.debian.net for
  those on the list that are familiar with it.
 
  This is a good configuration for anyone geographically anywhere as it
  will redirect to the best known nearby mirror.  The effect for you
  with this problem is that it will be a different appearing URL than
  the previously used ftp.fr.debian.org and will therefore ask for
  different files.  The previously locally cached files on your disk in
  /var/lib/apt will be expired as no longer being in your sources.list
  file.  If mismatched cached proxy files are your only remaining
  problem then this should fix it.  Make sure to 'apt-get update' after
  changing the sources.list file.
 
 We need to be offered this during a netinstall.  I did a netinstall 
 yesterday, 
 and as usual was offered my bhoice of mirror in the UK.  I chose my usual 
 because over the years it has been fast and reliable - though I have a 
 regular second choice for when needed.

Are there any disadvantages to dispensing with the present list of
mirrors and offering httpredir.debian.org as the one and only mirror
using the netinst ISO?

 I would more than happily have chosen httpredir.debian.org had I been offered 
 it.

You *were* given the choice to bring a little happiness into your life. :)


-- 
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/13052015230941.ee5109d75...@desktop.copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Lisi Reisz
On Wednesday 13 May 2015 23:15:36 Brian wrote:
 On Wed 13 May 2015 at 20:54:52 +0100, Lisi Reisz wrote:

  We need to be offered this during a netinstall.  I did a netinstall
  yesterday, and as usual was offered my bhoice of mirror in the UK.  I
  chose my usual because over the years it has been fast and reliable -
  though I have a regular second choice for when needed.

 Are there any disadvantages to dispensing with the present list of
 mirrors and offering httpredir.debian.org as the one and only mirror
 using the netinst ISO?

  I would more than happily have chosen httpredir.debian.org had I been
  offered it.

 You *were* given the choice to bring a little happiness into your life. :)

:-))

Lisi


-- 
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/201505132330.27712.lisi.re...@gmail.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread David Wright
Quoting Brian (a...@cityscape.co.uk):
 On Wed 13 May 2015 at 20:54:52 +0100, Lisi Reisz wrote:

  We need to be offered this during a netinstall.  I did a netinstall 
  yesterday, 
  and as usual was offered my bhoice of mirror in the UK.  I chose my usual 
  because over the years it has been fast and reliable - though I have a 
  regular second choice for when needed.
 
 Are there any disadvantages to dispensing with the present list of
 mirrors and offering httpredir.debian.org as the one and only mirror
 using the netinst ISO?

AIUI apt-cacher-ng won't be prepared for this until there's a jessie
point-release: bug #782643

(I won't be using it yet, either, because my apt-cacher-ng is still
running the wheezy-backport version on my wheezy server.)

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/20150513235800.GA18065@alum



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Paul E Condon
On 20150513_2054+0100, Lisi Reisz wrote:
 On Wednesday 13 May 2015 19:55:16 Bob Proulx wrote:
  Pierre Frenkiel wrote:
 I have still the same problem with Hash Sum mismatch
 Do you have any idea on how to fix it?
 
  Is your system behind a proxy cache of some sort?  This problem is one
  sometimes seen when files of different ages are cached and served
  causing the entire set of files to be out of sync with each other.
  This is sometimes seen when behind a caching proxy server such as
  those on a large company network.
 
  There are various solutions.  I think the simplest is to change the
  sources.list file to a different mirror.  That will have the effect of
  asking for different URLs and will avoid the previously cached files
  and will cause the local copies of the old files to be expired.
 
  You are currently using:
 
deb http://ftp.fr.debian.org/debian jessie main
 
  That is okay.  Good!  But for the purpose of this task change that to
  a different but still valid mirror.  This would be a good time to try
  out the new http redirector which has just recently become an official
  Debian resource.[1]
 
deb http://httpredir.debian.org/debian jessie main
 
  That httpredir.debian.org was previously known as http.debian.net for
  those on the list that are familiar with it.
 
  This is a good configuration for anyone geographically anywhere as it
  will redirect to the best known nearby mirror.  The effect for you
  with this problem is that it will be a different appearing URL than
  the previously used ftp.fr.debian.org and will therefore ask for
  different files.  The previously locally cached files on your disk in
  /var/lib/apt will be expired as no longer being in your sources.list
  file.  If mismatched cached proxy files are your only remaining
  problem then this should fix it.  Make sure to 'apt-get update' after
  changing the sources.list file.
 
 We need to be offered this during a netinstall.  I did a netinstall 
 yesterday, 
 and as usual was offered my bhoice of mirror in the UK.  I chose my usual 
 because over the years it has been fast and reliable - though I have a 
 regular second choice for when needed.
 
 I would more than happily have chosen httpredir.debian.org had I been offered 
 it.
 
 Lisi

At the very top of the pick-list of known mirrors in various parts of
the world, there is a option to type in any URL and port number that
you think will work for you (tm). I use it for accessing my approx
proxy (with port# ), but it should work for a mirror set up by
your neighbor across the street, or a honey pot set up by a certain
spy agency, too.

HTH

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
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/20150513235138.gb24...@big.lan.gnu



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Brian
On Wed 13 May 2015 at 23:30:27 +0100, Lisi Reisz wrote:

 On Wednesday 13 May 2015 23:15:36 Brian wrote:
  On Wed 13 May 2015 at 20:54:52 +0100, Lisi Reisz wrote:
 
   We need to be offered this during a netinstall.  I did a netinstall
   yesterday, and as usual was offered my bhoice of mirror in the UK.  I
   chose my usual because over the years it has been fast and reliable -
   though I have a regular second choice for when needed.
 
  Are there any disadvantages to dispensing with the present list of
  mirrors and offering httpredir.debian.org as the one and only mirror
  using the netinst ISO?
 
   I would more than happily have chosen httpredir.debian.org had I been
   offered it.
 
  You *were* given the choice to bring a little happiness into your life. :)
 
 :-))

To clarify my second comment:

  choose-mirror (2.62) unstable; urgency=medium
* Update Mirrors.masterlist
* This update includes adding httpredir.debian.org, which replaces
  http.debian.net using debian.org servers.

   -- Cyril Brulebois k...@debian.org  Tue, 14 Apr 2015 12:17:22 +0200

and

   https://lists.debian.org/debian-devel-announce/2015/04/msg8.html


-- 
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/13052015235943.c7a49d3ed...@desktop.copernicus.demon.co.uk



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Lisi Reisz
On Thursday 14 May 2015 00:05:44 Brian wrote:
 On Wed 13 May 2015 at 23:30:27 +0100, Lisi Reisz wrote:
  On Wednesday 13 May 2015 23:15:36 Brian wrote:
   On Wed 13 May 2015 at 20:54:52 +0100, Lisi Reisz wrote:
We need to be offered this during a netinstall.  I did a netinstall
yesterday, and as usual was offered my bhoice of mirror in the UK.  I
chose my usual because over the years it has been fast and reliable -
though I have a regular second choice for when needed.
  
   Are there any disadvantages to dispensing with the present list of
   mirrors and offering httpredir.debian.org as the one and only mirror
   using the netinst ISO?
  
I would more than happily have chosen httpredir.debian.org had I been
offered it.
  
   You *were* given the choice to bring a little happiness into your life.
   :)
  
  :-))

 To clarify my second comment:

   choose-mirror (2.62) unstable; urgency=medium
 * Update Mirrors.masterlist
 * This update includes adding httpredir.debian.org, which replaces
   http.debian.net using debian.org servers.

-- Cyril Brulebois k...@debian.org  Tue, 14 Apr 2015 12:17:22 +0200

 and

https://lists.debian.org/debian-devel-announce/2015/04/msg8.html

Oh, I can change it now, I know.  And I may get round to doing so.  

But it wasn't offered during the installation - and one has to choose a mirror 
before it will move on.  I think for Stretch they should just use the redir 
and not offer the others.  It causes a delay in the installation while it 
waits for the answer.  (Not much, I hasten to add.  The whole installation 
before I added a DE took 15 minutes.)

Lisi


-- 
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/201505140024.19300.lisi.re...@gmail.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Pierre Frenkiel

On Wed, 13 May 2015, David Wright wrote:


After you've tried the usual things like clearing /var/lib/apt/lists
and trying, say, ftp.uk.debian.org in your sources.list, I'd be
interested whether you still get the problem if you substitute
http:  ftp: in sources.list.


   I already tried all the usual tricks, and now tried yours, but the
   result is the same with ftp instead of http.


ie, it may be something to do with your/the network.


I don't think my network is involved, for several reasons:
1/ on my laptop, apt-get update works for wheezy sources.list
2/ on my wife's laptop (also an amd64), it works
   for wheezy and jessie.


best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505132001060.6...@pfr2.frenkiel-hure.net



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-13 Thread Lisi Reisz
On Wednesday 13 May 2015 19:55:16 Bob Proulx wrote:
 Pierre Frenkiel wrote:
I have still the same problem with Hash Sum mismatch
Do you have any idea on how to fix it?

 Is your system behind a proxy cache of some sort?  This problem is one
 sometimes seen when files of different ages are cached and served
 causing the entire set of files to be out of sync with each other.
 This is sometimes seen when behind a caching proxy server such as
 those on a large company network.

 There are various solutions.  I think the simplest is to change the
 sources.list file to a different mirror.  That will have the effect of
 asking for different URLs and will avoid the previously cached files
 and will cause the local copies of the old files to be expired.

 You are currently using:

   deb http://ftp.fr.debian.org/debian jessie main

 That is okay.  Good!  But for the purpose of this task change that to
 a different but still valid mirror.  This would be a good time to try
 out the new http redirector which has just recently become an official
 Debian resource.[1]

   deb http://httpredir.debian.org/debian jessie main

 That httpredir.debian.org was previously known as http.debian.net for
 those on the list that are familiar with it.

 This is a good configuration for anyone geographically anywhere as it
 will redirect to the best known nearby mirror.  The effect for you
 with this problem is that it will be a different appearing URL than
 the previously used ftp.fr.debian.org and will therefore ask for
 different files.  The previously locally cached files on your disk in
 /var/lib/apt will be expired as no longer being in your sources.list
 file.  If mismatched cached proxy files are your only remaining
 problem then this should fix it.  Make sure to 'apt-get update' after
 changing the sources.list file.

We need to be offered this during a netinstall.  I did a netinstall yesterday, 
and as usual was offered my bhoice of mirror in the UK.  I chose my usual 
because over the years it has been fast and reliable - though I have a 
regular second choice for when needed.

I would more than happily have chosen httpredir.debian.org had I been offered 
it.

Lisi


-- 
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/201505132054.52364.lisi.re...@gmail.com



Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-12 Thread Bob Proulx
Pierre Frenkiel wrote:
 Get: 11 http://linux.dropbox.com wheezy/main i386 Packages [1,150 B]
 
 why these references to wheezy?

Check for additional configuration files in /etc/apt/sources.list.d/*
which I expect you to find a file referencing linux.dropbox.com
wheezy.

At a guess I expect that file to be owned by a package.  *If* there is a
file there *then* this will say what package owns it.

  dpkg -S /etc/apt/sources.list.d/*

I assume you installed it for a reason.

Myself I find packages that do this type of thing bad because they
cause problems such as the above and I avoid them.  Debian packages
don't do this.  If they did it would be a bug report for them.

Bob


signature.asc
Description: Digital signature


Re: aptitude update errors for upgrade to Jessie on amd64

2015-05-12 Thread Pierre Frenkiel

On Mon, 11 May 2015, Pierre Frenkiel wrote:


(unless the problem
comes from my laptop config, but I don't see how, as I have no problem with 
the Wheezy sources.list)


  It seems I was wrong, as I tried apt-get update with a jessie sources.list
  on an other amd64 laptop, and I got no error.
  So the question remains: what can be the origin of the problem on my laptop?

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505121115230.26...@pfr2.frenkiel-hure.net



aptitude update errors for upgrade to Jessie on amd64

2015-05-11 Thread Pierre Frenkiel

hi everybody,
I tried to upgrade my amd64 laptop to jessie, and still have the same problem 
already reported 1 month ago.
I expected that it will be fixed when Jessie became the stable release (unless 
the problem
comes from my laptop config, but I don't see how, as I have no problem with the 
Wheezy sources.list)

my sources.list:
   deb http://ftp.fr.debian.org/debian jessie main
and preferences.d is empty.
after aptitude upgrade, I noticed these 4 lines

Get: 8 http://linux.dropbox.com wheezy Release.gpg [489 B] 
Get: 9 http://linux.dropbox.com wheezy Release [2,601 B] 
Get: 10 http://linux.dropbox.com wheezy/main amd64 Packages [1,150 B]

Get: 11 http://linux.dropbox.com wheezy/main i386 Packages [1,150 B]

why these references to wheezy?

and at the end:

W: Failed to fetch 
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages: Hash 
Sum mismatch
W: Failed to fetch 
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-i386/Packages: Hash 
Sum mismatch

Has anybody a way to fix that?
Thanks in advance.

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.11.1505111931480.13...@pfr2.frenkiel-hure.net