Update failed - 12.0-RELEASE-p8

A.Ch

Member

Reaction score: 1
Messages: 29

Hello,

I am on 12.0-RELEASE-p8. When I try to run "freebsd-update fetch" I get the below error:
Code:
root@user:/ # freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... failed.
I searched in the forum but none of the offered solutions worked. I would appreciate if you help me to solve this issue.

Thank you in advanced.
 

exist

New Member


Messages: 13

Hi,

I have the same issue, but with a 12.0-p10 system

 

exist

New Member


Messages: 13

Hello,

I am on 12.0-RELEASE-p8. When I try to run "freebsd-update fetch" I get the below error:
Code:
root@user:/ # freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... failed.
I searched in the forum but none of the offered solutions worked. I would appreciate if you help me to solve this issue.

Thank you in advanced.
do this: which phttpget

if it doesn't exist and you have sources, do this:

cd /usr/src/usr.sbin/portsnap/phttpget && make && make install

then run freebsd-update fetch again
 
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 29

Thank you for your reply but this directory does not exist.

However, I have phttpget and its loctaed in usr/libexec/phttpget

any recommendations ?
 

PhilomathicLife

New Member

Reaction score: 1
Messages: 5

I am also having trouble patching from 12.0-RELEASE-p8 to 12.0-RELEASE-p10. Unlike you, I do not receive any indication that something failed though (Thread unable-to-patch-12-0-release-p8-to-12-0-release-p10.72276/). I know this post does nothing in terms of helping you solve the issue, but I thought I'd mention that I'm having similar problems.

I don't think /usr/src/ matters unless you are trying to compile the OS, but perhaps I am mistaken as I don't have anything in that directory either.
 

PhilomathicLife

New Member

Reaction score: 1
Messages: 5

A.Ch, not sure if this is your problem; but SirDice, was able to fix my issue. I foolishly removed the Components line in /etc/freebsd-update.conf. Now that I added Components world kernel to that file, I was able to successfully patch to 12.0-RELEASE-p10.
 

Lamia

Well-Known Member

Reaction score: 84
Messages: 467

None of the suggestions here have worked.
"freebsd-update --debug fetch" shows that
Code:
# freebsd-update --debug fetch                                      
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update2.freebsd.org... 
latest.ssl                                             512  B 1844 kBps    00s
done.
Fetching metadata index... 
cae42a89f90be555b530a759cd400925bce03ed73ee78e         225  B  787 kBps    00s
done.
Fetching 3 metadata files... 
/usr/libexec/phttpget update2.freebsd.org 12.0-RELEASE/amd64/m/273c2e8d8e7e27b403b292860c6c6e550760b49aa0f3b5f0fecb8581cb881b7b.gz 12.0-RELEASE/amd64/m/309f650c00f36f679ad34cd1183f64eef3f73b46ce3f0ad9d2400f3c11de90ec.gz 12.0-RELEASE/amd64/m/69c15da19afc4bcb296a5314e62a6795d94318a9cd80fa944bd4e1129326e4d3.gz
http://update2.freebsd.org/12.0-RELEASE/amd64/m/273c2e8d8e7e27b403b292860c6c6e550760b49aa0f3b5f0fecb8581cb881b7b.gz: 404 Error (ignored)
http://update2.freebsd.org/12.0-RELEASE/amd64/m/309f650c00f36f679ad34cd1183f64eef3f73b46ce3f0ad9d2400f3c11de90ec.gz: 200 OK
http://update2.freebsd.org/12.0-RELEASE/amd64/m/69c15da19afc4bcb296a5314e62a6795d94318a9cd80fa944bd4e1129326e4d3.gz: 200 OK
Other servers throw the same error:
Code:
# freebsd-update --debug -s update4.freebsd.org fetch
Looking up update4.freebsd.org mirrors... none found.
Fetching metadata signature for 12.0-RELEASE from update4.freebsd.org... 
latest.ssl                                             512  B 1991 kBps    00s
done.
Fetching metadata index... 
cae42a89f90be555b530a759cd400925bce03ed73ee78e         225  B  747 kBps    00s
done.
Fetching 3 metadata files... 
/usr/libexec/phttpget update4.freebsd.org 12.0-RELEASE/amd64/m/273c2e8d8e7e27b403b292860c6c6e550760b49aa0f3b5f0fecb8581cb881b7b.gz 12.0-RELEASE/amd64/m/309f6
50c00f36f679ad34cd1183f64eef3f73b46ce3f0ad9d2400f3c11de90ec.gz 12.0-RELEASE/amd64/m/69c15da19afc4bcb296a5314e62a6795d94318a9cd80fa944bd4e1129326e4d3.gz
http://update4.freebsd.org/12.0-RELEASE/amd64/m/273c2e8d8e7e27b403b292860c6c6e550760b49aa0f3b5f0fecb8581cb881b7b.gz: 404 Error (ignored)
http://update4.freebsd.org/12.0-RELEASE/amd64/m/309f650c00f36f679ad34cd1183f64eef3f73b46ce3f0ad9d2400f3c11de90ec.gz: 200 OK
http://update4.freebsd.org/12.0-RELEASE/amd64/m/69c15da19afc4bcb296a5314e62a6795d94318a9cd80fa944bd4e1129326e4d3.gz: 200 OK
failed.
Removing src from freebsd-update.conf would not help.
Recommendations from other threads and bugzilla failed e.g. https://forums.freebsd.org/threads/freebsd-update-fails-to-fetch-metadata-files.72269/
 
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 29

A.Ch, not sure if this is your problem; but SirDice, was able to fix my issue. I foolishly removed the Components line in /etc/freebsd-update.conf. Now that I added Components world kernel to that file, I was able to successfully patch to 12.0-RELEASE-p10.
PhilomathicLife , No definitely this is not my issue as my components in the config file are: Components src kernel world

No success yet.

Any help regarding this issue would be appreciated.
 

Lamia

Well-Known Member

Reaction score: 84
Messages: 467

It is a bug/server failure; I saw in bugzilla that some options like WITHOUT_FREEBSD_UPDATE= AND WITHOUT_PORTSNAP= can be used in src.conf. I tried either or both but no luck.

I saw SirDICE write in a thread that such failure get quickly fixed when noticed.

Let's keep fingers crossed.
 
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 29

I believe its a Update Server issue as well.
This is my update log:

Code:
root@u:/var/db # freebsd-update -v debug fetch
src component not installed, skipped
Looking up update.freebsd.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org...
latest.ssl                                             512  B 1133 kBps    00s
done.
Fetching metadata index...
cae42a89f90be555b530a759cd400925bce03ed73ee78e         225  B  701 kBps    00s
done.
Fetching 1 metadata files...
/usr/libexec/phttpget update1.freebsd.org 12.0-RELEASE/amd64/m/7d938ec22c834166504058accdb83c10376772f3767ecc582e1f43b3a82c599f.gz
http://update1.freebsd.org/12.0-RELEASE/amd64/m/7d938ec22c834166504058accdb83c10376772f3767ecc582e1f43b3a82c599f.gz: 404 Error (ignored)
failed.
Thank you
 
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 29

Any ideas? Dear FreeBSD Admins... please recommend a solution for us...

Thank you alot
 

Geezer

Active Member

Reaction score: 47
Messages: 115

 

aht0

Active Member

Reaction score: 57
Messages: 172

I'd download the STABLE sources and proceed with the upgrade from there..
 

Donald Baud

Member

Reaction score: 16
Messages: 25

I just cleaned the /var/db/freebsd-update tree:
rm -r /var/db/freebsd-update/*

after that:
freebsd-update fetch install
 

tysken

New Member


Messages: 1

Hi all,

I have the same issue, I tried Donald Baud suggestion but I'm back at square one again. Thanks for the suggestion Donald.
 

criley

New Member


Messages: 9

I also am having a horrid time doing upgrades. Here is my output.
Code:
-> freebsd-update --debug upgrade -r 12.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 11.2-RELEASE from update1.freebsd.org...
latest.ssl                                    100% of  512  B 5256 kBps 00m00s
done.
Fetching metadata index...
7782b5018d447dd196426034f86e38406b1c6fed54458e100% of  225  B 1390 kBps 00m00s
done.
Fetching 2 metadata files...
/usr/libexec/phttpget update1.freebsd.org 11.2-RELEASE/amd64/m/338abe7724254c70a75df7dd846f6d6145bcf498bfe40b9220f662e312e16b81.gz 11.2-RELEASE/amd64/m/c96c5248dcbe65e0103e79436bff79270b1b0189945453acc8802ecdb7fef124.gz
phttpget: Connection failure
gunzip: (stdin): unexpected end of file
metadata is corrupt.
It would be nice to get this resolved as I have machines that I don't want to have to convert to Centos.
 

exist

New Member


Messages: 13

I also am having a horrid time doing upgrades. Here is my output.
Code:
-> freebsd-update --debug upgrade -r 12.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 11.2-RELEASE from update1.freebsd.org...
latest.ssl                                    100% of  512  B 5256 kBps 00m00s
done.
Fetching metadata index...
7782b5018d447dd196426034f86e38406b1c6fed54458e100% of  225  B 1390 kBps 00m00s
done.
Fetching 2 metadata files...
/usr/libexec/phttpget update1.freebsd.org 11.2-RELEASE/amd64/m/338abe7724254c70a75df7dd846f6d6145bcf498bfe40b9220f662e312e16b81.gz 11.2-RELEASE/amd64/m/c96c5248dcbe65e0103e79436bff79270b1b0189945453acc8802ecdb7fef124.gz
phttpget: Connection failure
gunzip: (stdin): unexpected end of file
metadata is corrupt.
It would be nice to get this resolved as I have machines that I don't want to have to convert to Centos.
hi, I ran into this problem with one machine a little earlier in the day. The connection went down/up so it must have broken the download. I just re-ran the upgrade command and it all worked ok.
 
Top