Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2020 04:49:05 +0000
From:      "Vikash Badal (IS)" <Vikash.Badal@is.co.za>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Serious problems with pkg
Message-ID:  <0dc8af93-8d23-1baa-26c7-aa6a039a1d3f@is.co.za>
In-Reply-To: <DB8PR06MB6442B1C02C797B2C863129FFF6E20@DB8PR06MB6442.eurprd06.prod.outlook.com>
References:  <DB8PR06MB6442B1C02C797B2C863129FFF6E20@DB8PR06MB6442.eurprd06.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

On 05/03/2020 23:46, Manish Jain wrote:
> Hi,
>=20
> I am on a freshly installed 12.1 amd64 box. pkg worked okay till yesterda=
y, but
> now I just get operational timeouts trying to install anything.
>=20
> I tried multiple things but pkg just keeps throwing timeouts :

what do you see when you run pkg in debug mode i.e

pkg --debug update ?
=09=09=09
Vikash Badal (IS)
Senior Technical Systems Engineer
T=C2=A0+27 11 5750825=C2=A0


>=20
> 1) pkg update -f=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 # timeout
>=20
> 2) pkg bootstrap -f=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 # timeout
>=20
> 3) rm -rf /var/cache/pkg/* /var/db/pkg/repo-*.sqlite
> =C2=A0=C2=A0 pkg bootstrap -f=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 # timeout
>=20
> 4) pkg delete -f pkg
> =C2=A0=C2=A0 cd /usr/ports/ports-mgmt/pkg
> =C2=A0=C2=A0 make install clean
> =C2=A0=C2=A0 pkg update -f=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # timeout
>=20
>=20
> All timeouts occur after nearly 5 minutes of wait period.
>=20
> The system is now essentially unusable without a functional pkg.
> Any ideas how I could get pkg to work smoothly ?
>=20
>=20
> Thanks for any help,
> Manish Jain
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0dc8af93-8d23-1baa-26c7-aa6a039a1d3f>