Re: pkgin does not install anything after upgrade to 9.2

2021-07-13 Thread r0ller
Hi Greg,

Thanks for the suggestion. I'm still doing the backup but will come back with 
the outcome.

Best regards,
r0ller

 Eredeti levél 
Feladó: Greg Troxel < g...@lexort.com (Link -> mailto:g...@lexort.com) >
Dátum: 2021 július 9 13:06:24
Tárgy: Re: pkgin does not install anything after upgrade to 9.2
Címzett: r0ller < netbsd-users@netbsd.org (Link -> 
mailto:netbsd-users@netbsd.org)

Boot to single user and full fsck. Also make the backups you have been meaning 
to get around to right away

Re: pkgin does not install anything after upgrade to 9.2

2021-07-09 Thread Greg Troxel
Boot to single user and full fsck.  Also make the backups you have been meaning 
to get around to right away


Re: pkgin does not install anything after upgrade to 9.2

2021-07-09 Thread r0ller

Hi Greg,

Thanks for your suggestions! It indeed seems to be corrupted :( I tried 
to nuke (rm -rf) the directory


/usr/pkg/pkgdb/p5-Net-SSLeay-1.88nb1 but I got back that the directory 
is not empty which is pretty unusual for rm -rf. Now, when I try to list 
its contents, three files are shown:


+COMMENT, +CONTENTS, +DESCR

However, when listing with ls -al, I get the error:

ls: +COMMENT: No such file or directory

ls: +CONTENTS: No such file or directory

ls: +DESCR: No such file or directory

I tried to execute fsck for the node number (fsck 35752122) of the 
directory but I got back:


fsck: cannot open '/dev/35752122': No such file or directory


Is there any solution for this?

Best regards,

r0ller


On 7/8/21 7:26 PM, Greg Troxel wrote:

r0ller  writes:
The only error I see in pkg_install-err.log (which is not shown as 
error) which seems to block each pkg install is: pkg_admin: Cannot 
read +CONTENTS of package p5-Net-SSLeay-1.88nb1 Does anyone have any 
hint? 
pkg_admin rebuild-tree pkg_admin check make sure your variables in 
mk.conf are set to point to your pkgdb. See 
https://www.pkgsrc.org/pkgdb-change/ and set the variables even if you 
think it's not necessary. look in /usr/pkg/pkgdb/p5-Net-SSLeay-1.88nb1 
and see if there is indeed no +CONTENTS. If true, you have had some 
corruption and I would rm -rf the p5-Net-SSLeay-1.88nb1 directory, and 
then you'll have to reinstall it.


Re: pkgin does not install anything after upgrade to 9.2

2021-07-08 Thread Greg Troxel

r0ller  writes:

> The only error I see in pkg_install-err.log (which is not shown as
> error) which seems to block each pkg install is:
>
> pkg_admin: Cannot read +CONTENTS of package p5-Net-SSLeay-1.88nb1
>
> Does anyone have any hint?


pkg_admin rebuild-tree
pkg_admin check

make sure your variables in mk.conf are set to point to your pkgdb.  See
  https://www.pkgsrc.org/pkgdb-change/
and set the variables even if you think it's not necessary.

look in /usr/pkg/pkgdb/p5-Net-SSLeay-1.88nb1 and see if there is indeed
no +CONTENTS.  If true, you have had some corruption and I would rm -rf
the p5-Net-SSLeay-1.88nb1 directory, and then you'll have to reinstall
it.



signature.asc
Description: PGP signature


Re: pkgin does not install anything after upgrade to 9.2

2021-07-08 Thread nia
On Thu, Jul 08, 2021 at 04:14:08PM +0200, Martin Husemann wrote:
> On Thu, Jul 08, 2021 at 02:36:17PM +0200, r0ller wrote:
> > is quite noticeable when starting firefox. However, after changing
> > repositories.conf to point to amd64/9.2/All and upgrading all packages,
> > nothing seems to have been upgraded and pkgin does not seem to install
> > anything.
> 
> The repositories are identical (9.2 is actually a symlink on the server
> pointing at the 9.0 repo).
> 
> Martin

to expand: pkgsrc is developed separately and has a separate release
schedule (approx. every 3 months, though packages can take a while to
build). I switch the 9.0 link to the latest pkgsrc branch when I think
it's ready.


Re: pkgin does not install anything after upgrade to 9.2

2021-07-08 Thread Martin Husemann
On Thu, Jul 08, 2021 at 02:36:17PM +0200, r0ller wrote:
> is quite noticeable when starting firefox. However, after changing
> repositories.conf to point to amd64/9.2/All and upgrading all packages,
> nothing seems to have been upgraded and pkgin does not seem to install
> anything.

The repositories are identical (9.2 is actually a symlink on the server
pointing at the 9.0 repo).

Martin


pkgin does not install anything after upgrade to 9.2

2021-07-08 Thread r0ller

Hi All,

I've just upgraded from 9.0 (amd64) to 9.2 via sysinst successfully from 
ftp. Everything seems to work fine as earlier and surprisingly faster 
what is quite noticeable when starting firefox. However, after changing 
repositories.conf to point to amd64/9.2/All and upgrading all packages, 
nothing seems to have been upgraded and pkgin does not seem to install 
anything. There are many warnings about the platform difference (built 
for 9.0 vs 9.2) but no errors (except one maybe, see later). However, 
when e.g. installing firefox-86.0.1 pkgin acts as if it was doing its 
job, displays in the end the number of warnings (48 platform diff warns) 
and errors (0) but when I check the version with 'firefox --version' I 
still get 84.0.


The only error I see in pkg_install-err.log (which is not shown as 
error) which seems to block each pkg install is:


pkg_admin: Cannot read +CONTENTS of package p5-Net-SSLeay-1.88nb1

Does anyone have any hint?

Thanks,

r0ller