pkg update doesn't work

Status
Not open for further replies.

spencerisadog

Dabbler
Joined
Jan 30, 2016
Messages
11
I'm trying to get MineOS working and I can't get openjdk8, so I tried pkg update and that bombs too. Any ideas why this is happening? I can't seem to do any downloading. pkg upgrade, portsnap fetch update doesn't work either. I can ping google and the pkg.freebsd.org

Code:
[mineos_1] Fetching meta.txz: 100%	944 B 0.9kB/s	00:01																	 
[mineos_1] Fetching packagesite.txz: 100%	3 MiB 94.8kB/s	00:35															 
pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/packagesite.txz: Operation timed out										 
Unable to update repository FreeBSD																								 
root@mineos_1:/ # portsnap fetch update																							 
Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.																		 
Fetching public key from your-org.portsnap.freebsd.org... done.																	 
Fetching snapshot tag from your-org.portsnap.freebsd.org... done.																 
Fetching snapshot metadata... done.																								 
Fetching snapshot generated at Sat Oct 14 20:00:43 EDT 2017:																		
218fe1388e35dc2891ec52d4a849245f3ad6091b90027a 2% of 77 MB 9866 Bps 02h12m													 
fetch: transfer timed out																										 
fetch: 218fe1388e35dc2891ec52d4a849245f3ad6091b90027a4f92a3d0bee722006f.tgz appears to be truncated: 1851577/80846990 bytes		 
root@mineos_1:/ # ping google.com																								 
PING google.com (172.217.9.46): 56 data bytes																					 
64 bytes from 172.217.9.46: icmp_seq=0 ttl=52 time=27.664 ms																		
64 bytes from 172.217.9.46: icmp_seq=1 ttl=52 time=27.838 ms																		
64 bytes from 172.217.9.46: icmp_seq=2 ttl=52 time=27.482 ms																		
64 bytes from 172.217.9.46: icmp_seq=3 ttl=52 time=28.065 ms																		
64 bytes from 172.217.9.46: icmp_seq=4 ttl=52 time=27.874 ms																		
^C																																 
--- google.com ping statistics ---																								 
5 packets transmitted, 5 packets received, 0.0% packet loss																		 
round-trip min/avg/max/stddev = 27.482/27.785/28.065/0.198 ms																	 
root@mineos_1:/ # pkg upgrade																									 
Updating FreeBSD repository catalogue...																							
Repository FreeBSD has a wrong packagesite, need to re-create database															 
[mineos_1] Fetching meta.txz: 100%	944 B 0.9kB/s	00:01																	 
[mineos_1] Fetching packagesite.txz: 100% 22 KiB 0.7kB/s	00:31															 
pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/packagesite.txz: Operation timed out										 
Unable to update repository FreeBSD																								 
All repositories are up-to-date.																									
Repository FreeBSD has a wrong packagesite, need to re-create database															 
pkg: Repository FreeBSD cannot be opened. 'pkg update' required																	 
Checking for upgrades (0 candidates): 100%																						 
Processing candidates (0 candidates): 100%																						 
Checking integrity... done (0 conflicting)																						 
Your packages are up to date.																									 
root@mineos_1:/ # ping pkg.freebsd.org																							 
PING pkgmir.geo.freebsd.org (149.20.1.201): 56 data bytes																		 
64 bytes from 149.20.1.201: icmp_seq=0 ttl=51 time=77.425 ms																		
64 bytes from 149.20.1.201: icmp_seq=3 ttl=51 time=77.532 ms																		
64 bytes from 149.20.1.201: icmp_seq=4 ttl=51 time=78.049 ms																		
64 bytes from 149.20.1.201: icmp_seq=6 ttl=51 time=77.527 ms																		
64 bytes from 149.20.1.201: icmp_seq=7 ttl=51 time=77.119 ms																		
^C																																 
--- pkgmir.geo.freebsd.org ping statistics ---																					 
8 packets transmitted, 5 packets received, 37.5% packet loss																		
round-trip min/avg/max/stddev = 77.119/77.530/78.049/0.300 ms																	 
root@mineos_1:/ #
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Hardware? FreeNAS version?
 

spencerisadog

Dabbler
Joined
Jan 30, 2016
Messages
11
AMD 6212
16GB Ram

FreeNAS 9.10

I should add I've been running Plex, Sonarr, Couchpotato, and SABNzbd for about three years. They all run perfectly fine although I don't do any updates to them other than Plex. SAB and the other two I just update through the GUI.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Are you running the mineos plugin? If so the plugin is built with specific dependencies and you can't change that by adding them via pkg. You'll have to wait for the plugin maintainer to update it.
 

spencerisadog

Dabbler
Joined
Jan 30, 2016
Messages
11
I was following the plugin steps detailed by Josh. I couldn't even get to the part where the plugin starts because it didn't even let me install openjkd8. He updated it at the end of June so I'm thinking it should be okay. Regardless, it should still let me pkg update, right? It gets a few percent complete then bails.
 
Status
Not open for further replies.
Top