NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libstdc++.so.7 is missing



Ok!
Step by step...
My repo conf line points to http://ftp.fr.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All/
it has been like this since I installed the system.
I know .../8.0/... is a symlink to the corresponding .../8.0_2018Q<x>/...

Yesterday, I did
pkgin update
pkgin upgrade
pkgin full-upgrade

I was running firefox 62 on the 2018Q3 and now the latest version is 52.
I removed firefox and installed Midori.
When launching Midori from xterm I get the mentioned error. But, now I can't go back to firefox simply because it doesn't exist.
Something with the builds must have gone wrong.
Here, http://mail-index.netbsd.org/pkgsrc-users/2018/12/30/msg027871.html it clearly stated firefox 64...

Den tor 17 jan. 2019 14:48 skrev Edgar Pettijohn <edgar%pettijohn-web.com@localhost>:


On Jan 17, 2019 7:35 AM, Pedro Pinho <pmppinho%gmail.com@localhost> wrote:
>
> Nope, this was/is 8.0 from the start.
> I've done a full upgrade from Q3 to Q4 that's all. I know I shouldn't mix quaternary releases.
> Please, have a look at http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All/ and you will see that packages are missing, firefox was an example.
>
> While we are at it... is there a pkgin command to remove every installed package?

I don't think so. I do it like so:

pkg_info | awk '{print $1}' > pkgs.txt

remove pkgin from the list

while read -r pkg; do
pkgin remove $pkg
done < pkgs.txt

forgive errors. I'm writing from memory on my phone.

It's been awhile since I've done this so can't make any guarantee.

Edgar
I have a feeling this may be needed if I would need to go back to the Q3 release.
> Although, I would prefer if Q4 would work as I would like to use Midori as main browser. After all, I've requested it on WIP a month or so ago.
>
> Den 17 jan. 2019 14:24 skrev "Greg Troxel" <gdt%lexort.com@localhost>:
>>
>> What version of NetBSD are you running?  If 7, you will almost certainly
>> be better off upgrading to 8.
>>
>> Generally, all packages need to be from a consistent build.   If you
>> have seme from one branch and some from another, that can be trouble.
>> But, your problem sounds like upgrading from netbsd-7 to netbsd-8 and
>> having some packages from netbsd-7.   Or maybe all; did you change your
>> pkgin repo line?
>>
>>
>>
>



Home | Main Index | Thread Index | Old Index