Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please, help me update my gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54453
Location: 56N 3W

PostPosted: Tue Dec 27, 2022 6:19 pm    Post subject: Reply with quote

peterwf,


ACCEPT_LICENSE="freedist linux-fw-redistributable no-source-code" They are not 'free' in the strict definition of 'free'
You are not having licence problems here though.

cat /usr/portage/package.use/python

Did I say that?
That /usr in bold should be /etc ... Oops, Sorry about that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
peterwf
n00b
n00b


Joined: 20 Dec 2022
Posts: 42

PostPosted: Tue Dec 27, 2022 6:39 pm    Post subject: Reply with quote

NeddySeagoon,
That's OK, I thought once I have a chance to have you recommendations, I can do less experimenting (I already have done "emerge --depclean", but fortunately nothing got broken :D ). Now I moved the python file to /etc/portage/package.use, and its content:
Code:

# cat /etc/portage/package.use/python
#  required by sys-apps/flatpak
sys-libs/libseccomp -python
#dev-lang/python static-libs

The content now is as it is due to our discussions with Hu. Now "emerge -uDUav @world --with-bdeps=y -f --keep-going --backtrack=500" command fetching required packages. It looks I'm starting more or less understand working with portage. Thank you very much!
Back to top
View user's profile Send private message
peterwf
n00b
n00b


Joined: 20 Dec 2022
Posts: 42

PostPosted: Thu Dec 29, 2022 8:22 pm    Post subject: Reply with quote

OK, I've managed to update using gentoo-20210701.xz.sqfs snapshot. But the next point is to upgrade libcrypt (following the news received with the snapshot). I tried to follow the steps written at the wiki page https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation , but it doesn't work. Here the files content I updated as the wiki says:
Code:

    # cat /etc/portage/make.conf | grep preserve-libs
FEATURES="preserve-libs"
    # cat /etc/portage/package.use/libcrypt
# Disable libcrypt in glibc
>=sys-libs/glibc-2.33-r3 -crypt

# Provide libcrypt
>=sys-libs/libxcrypt-4.4.23-r2 system
    # cat /etc/portage/package.use/zz-autounmask
# package.use# required by sys-boot/os-prober-1.78::gentoo
# required by sys-boot/os-prober (argument)
>=sys-boot/grub-2.06_rc1 mount
# required by www-client/firefox-78.10.1::gentoo[system-libvpx]
# required by firefox (argument)
>=media-libs/libvpx-1.9.0 postproc
# required by media-libs/mesa-21.0.3::gentoo
# required by www-client/firefox-102.6.0::gentoo
# required by @selected
# required by @world (argument)
>=x11-libs/libdrm-2.4.114 video_cards_intel video_cards_radeon video_cards_amdgpu
# required by x11-libs/pango-1.48.7-r1::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/freetype-2.10.4 harfbuzz
    # cat /etc/portage/package.accept_keywords
# Allow the new libcrypt virtual which includes libxcrypt
~virtual/libcrypt-2

# Needed for the right masks to kick in, we revbumped for the migration
# NOTE: Remember to drop this once the migration is done as a stable user
=sys-libs/glibc-2.33-r7
>=sys-libs/libxcrypt-4.4.24
    # cat /etc/portage/package.unmask
# Allow virtual which specifies libxcrypt
~virtual/libcrypt-2
    # cat /etc/portage/profile/package.use.mask
# Allow libxcrypt to be the system provider of libcrypt, not glibc
>=sys-libs/libxcrypt-4.4.23-r2 -system -split-usr
    # cat /etc/portage/profile/package.use.force
# Don't force glibc to provide libcrypt
>=sys-libs/glibc-2.33-r3 -crypt


And here is the output of the emerge command:
Code:

# emerge -uDUav @world --with-bdeps=y --usepkg=n -p --keep-going --backtrack=500
 * Last emerge --sync was 1y 180d 21h 32m 51s ago.

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "sys-libs/libxcrypt[system(-),static-libs(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/libxcrypt-4.4.23::gentoo (masked by: ~amd64 keyword)

(dependency required by "virtual/libcrypt-2::gentoo" [ebuild])
(dependency required by "@__auto_slot_operator_replace_installed__" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Does the masking key ~amd64 means that the package is not stable and I can postpone this upgrade and move on to the more recent gentoo snapshots?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54453
Location: 56N 3W

PostPosted: Thu Dec 29, 2022 8:46 pm    Post subject: Reply with quote

peterwf,

Quote:
Does the masking key ~amd64 means that the package is not stable and I can postpone this upgrade and move on to the more recent gentoo snapshots?

Exactly. Its available for early adopters while its ~arm64. When its stable. it should just work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
peterwf
n00b
n00b


Joined: 20 Dec 2022
Posts: 42

PostPosted: Sat Dec 31, 2022 4:58 pm    Post subject: Reply with quote

Hi everyone! It looks, I'm progressing, now I was able to upgrade to Nov 01, 2021 version and libxcrypt has been installed without altering any flag in package.* files. Now my question is about etc-update, I'm going to learn how to get rid from that annoying warnings about conflicts in configuration files. I did something with etc-update, but the subjected file wasn't changed after that. Then I merged manually all the changes from ._cfg*_zz-autoupdate files, but it proved to be a mess. As a result, I reverted everything back and then updated successfully. But now I have a conflict in /etc/pulse/default.pa file. How can I resolve it? Which of the two files contain newer configuration? Can I apply it and save in a proper way the old one for the case I need to revert? How can I distinguish if I don't need to apply the newer configuration? Here are the
/etc/pulse/default.pa content
https://dpaste.com/8RZCV7Q36
and
/etc/pulse/._cfg0000_default.pa
https://dpaste.com/E5R3MDEVH
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54453
Location: 56N 3W

PostPosted: Sat Dec 31, 2022 5:23 pm    Post subject: Reply with quote

peterwf,

First of all, have you ever changed /etc/pulse/default.pa?
If not accept the update.

etc-update will show you the differences between the two files.
If all the differences start with a # then they are comments.
Accept the changes.

If you have edited the file, you may need to merge the two to keep your changes.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
peterwf
n00b
n00b


Joined: 20 Dec 2022
Posts: 42

PostPosted: Thu Jan 05, 2023 6:26 pm    Post subject: Reply with quote

NeddySeagon
Quote:

First of all, have you ever changed /etc/pulse/default.pa?
If not accept the update.

etc-update will show you the differences between the two files.
If all the differences start with a # then they are comments.
Accept the changes.

If you have edited the file, you may need to merge the two to keep your changes.


OK, I managed to move forward on updating gentoo till the packages snapshot dated 08.01.2022. Maybe it's possible to upgrade gradually to fresher packages, but I suppose August 2022 is fresh enough to upgrade using emerge --sync / emerge -uDUN @world -f --with-bdeps=y --backtrack=500 and don't use binary search to find the latest snapshot date which works (for my case). Now the upgrading process fails on the stage of compiling grub "sys-boot/grub-2.06-r4". I can't publish here the dpaste due too huge output size. Here is a fragment at which building process terminates:
https://dpaste.com/HVTAZTQCG

I faced some issues with pulseaudio, and wireless network adapter after a successful update, but it's possible to live with this for a while. I think I should find the solutions for this when the system is totally up to date. So, today my question, can I make grub-2.06-r4 have been built, or it's simpler to do the "binary search"? I mean try Nov 1 and Sep 1 gentoo snapshots?

P.S. I'm trying right now the magic perl-cleaner --all, maybe this will help, at least a bit :D
P.P.S. OK, magic works :D After perl-cleaning it looks I can proceed smoothly now. I leave my questions as is, maybe my this kind of posts will be useful for someone coming here from Google.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54453
Location: 56N 3W

PostPosted: Thu Jan 05, 2023 7:26 pm    Post subject: Reply with quote

peterwf,

Code:
Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module)

This is an odd one. Every now and again, this error bites me. Not for grub as I don't use it.

The fix is to
Code:
emerge -1av dev-perl/Locale-gettext


Its odd because portage things everything is in order but the rebuild fixes it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
peterwf
n00b
n00b


Joined: 20 Dec 2022
Posts: 42

PostPosted: Fri Jan 06, 2023 9:59 pm    Post subject: Reply with quote

NeddySeagon,

My Gentoo is up to date now! I had an issue like in this topic:
https://forums.gentoo.org/viewtopic-p-8700671.html
(can't see my wifi network after an update), but I went to the router settings (I use OpenWRT firmware) and changed the authentification method excluding TKIP protocol:
https://ibb.co/K5W3HyH (here is what was set up when the network was hidden, and now it's "Force CCMP")
and after that my network appeared in the list.

Thank you very much for your help! I didn't expect that linux guys may be so kind to the newbies :D It looks, gentoo users community has just added by me. I like how it's organized in gentoo, I can use in my cpp projects the libraries which already have been working in the system. I have a fresh laptop running Fedora and I"ve run a lot of sudo dnf install something what I don't need anymore. Definitely it's possible to clean all of this, but I'm sure, in Gentoo it's done much more naturally.

P.S. One little strange behavior of the system I face now, is that with new updates login screen changes, but for the first time after the laptop is switched on, first login screen is old-style, as it was just as I had installed the system back in summer 2021. Is it possible to force using updated login screen also at the time of first login since powering on?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum