Update failed - 12.0-RELEASE-p8

A.Ch

Member

Reaction score: 1
Messages: 28

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: 12

Hi,

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

 

exist

New Member


Messages: 12

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
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 28

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: 52
Messages: 326

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
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 28

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: 52
Messages: 326

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
OP
A.Ch

A.Ch

Member

Reaction score: 1
Messages: 28

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
 
Top