On a recently acquired, relatively old AMD Sempron box, I found that while OpenBSD 5.7 works well, many times adding common packages such as R failed, due to mirrors not having the dependencies, but when I switched over to 5.6, this was not an issue.
On Sun, Jun 21, 2015 at 8:00 AM, Josh Grosse <[email protected]> wrote: > On Sun, Jun 21, 2015 at 01:06:10PM +0330, Mohammad BadieZadegan wrote: > > Hi everybody, > > I get some errors while I installing every package with pkg_add such as: > > > > couldn't read packing-list from installed package > > gnome-icon-theme-3.12.0p1.tgz > > File /var/db/pkg/gnome-icon-theme-3.12.0p1.tgz/+CONTENTS does not exist > > And > > Fatal error: Installation of gtk+2-2.24.26 failed, partial installation > > recorded as partial-gtk+2-2.24.26.2 > > at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 817. > > > > How I can reset PKG configuration and data to base initial settings > > (factory like)? > > The database is correct, per pkg_check, but you have PARTIALLY installed > gtk+2. You can delete this partial package, manually, with > > # pkg_delete partial-gtk+2 > > And, if you want to start over, with a corrected $PKG_PATH or > /etc/pkg.conf configuration pointing to a mirror near you, rather than > the primary file server in Canada, for better function, you will have > greater success. > > If you want to remove all packages, you can use the -X option: > > # pkg_delete -X > > That will delete all packages, as described in the pkg_delete(1) man > page. > > If you have any third party firmware installed as packages, you will > want to include their names after the "-X" to ensure they are not > removed. The example command, shown below, will list any firmware > packages you may have installed.. > > $ ls -d /var/db/pkg/*firm* > >
