Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2nd machine update
View unanswered posts
View posts from last 24 hours

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


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 21, 2021 12:56 pm    Post subject: Reply with quote

So, is it only reinstall?

Or there is a way to update?

Thank you.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30911
Location: here

PostPosted: Wed Apr 21, 2021 1:01 pm    Post subject: Reply with quote

You can try with https://wiki.gentoo.org/wiki/Upgrading_Gentoo#Updating_old_systems
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 21, 2021 1:22 pm    Post subject: Reply with quote

Hi,
Is Perl an essential package? Can I reboot without it?
I'm sure pycairo is not but Perl...

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Wed Apr 21, 2021 2:21 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
Is Perl an essential package? Can I reboot without it?

Here's a good rule of thumb: if you don't know if a package is essential or not then it's essential.

I haven't really been following this thread that closely since everyone has their own approach to updating old systems and it's not a bad idea to be aware of each technique.

Removing packages to achieve clean emerge output does work (I know because I have used it myself), however, it is a destructive method and if you don't take one or more of the necessary precautions (such as making backups, using ZFS snapshots or maintaining binary packages) you can easily remove yourself into a corner if you are not experienced with this technique.

ONEEYEMAN wrote:
Or there is a way to update?

If Perl is the issue here then you can probably recover from this by reinstalling it via a binary package. You can build one yourself on another machine (with generic CFLAGS if necessary) and copy it over.

That I leave as an exercise to the reader. :wink:

Buffoon wrote:
You just want to have all this fun, right?

I was wondering about this myself.

Are you having fun? Are you learning? Inquiring minds want to know. :twisted:
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 21, 2021 3:12 pm    Post subject: Reply with quote

dantrell,
dantrell wrote:

ONEEYEMAN wrote:

Is Perl an essential package? Can I reboot without it?

Here's a good rule of thumb: if you don't know if a package is essential or not then it's essential.


Yes, that probably a good rule.

dantrell wrote:

I haven't really been following this thread that closely since everyone has their own approach to updating old systems and it's not a bad idea to be aware of each technique.

Removing packages to achieve clean emerge output does work (I know because I have used it myself), however, it is a destructive method and if you don't take one or more of the necessary precautions (such as making backups, using ZFS snapshots or maintaining binary packages) you can easily remove yourself into a corner if you are not experienced with this technique.

ONEEYEMAN wrote:

Or there is a way to update?

If Perl is the issue here then you can probably recover from this by reinstalling it via a binary package. You can build one yourself on another machine (with generic CFLAGS if necessary) and copy it over.

At this point of time considering the output of the emerge for the 2 packets I removed - I don't know.
The output for emerging Perl suggest that I'm missing some Python module and therefore it fails to fetch something.
The output for emerging pycairo is a different one - it looks like some bugs are referenced.

So I'm not sure.

dantrell wrote:

That I leave as an exercise to the reader. :wink:

Buffoon wrote:

You just want to have all this fun, right?

I was wondering about this myself.

Are you having fun? Are you learning? Inquiring minds want to know. :twisted:


Its not about having fun.
As explained in the reply to that message - I presume that people are smarter than me and they give a good advice.

So I tried to follow and and failed and so wanted to confirm that removing the package itself and not just cleaning the "world" file is OK.

And of course I'm learning.
However, I was hoping to have a little less burden trying to update even such an old system. ;-)

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Wed Apr 21, 2021 3:23 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
The output for emerging Perl suggest that I'm missing some Python module and therefore it fails to fetch something.

That could have been because of setuptools, you can consider that package essential too.

ONEEYEMAN wrote:
However, I was hoping to have a little less burden trying to update even such an old system. ;-)

With Gentoo that line of thinking is a trap. :P
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 21, 2021 3:36 pm    Post subject: Reply with quote

dantrell,
So I should try to update setuptools and try again?

Will try tonight?

Probably issue:

Code:

IgorDellGentoo ~ # /root/portage-2.3.103/bin/emerge --ask --changed-deps=y --deep --newuse --update --verbose --nodeps setuptools


and see what will happen.

And yes I know. But that why we love Gentoo - and that why I installed it in the first place: to learn, to get acquainted.

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Wed Apr 21, 2021 5:44 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
So I should try to update setuptools and try again?

You can probably rebuild setuptools but I don't know about Perl or whatever else you removed.

There are packages that can't be rebuilt if they are removed because the tools involved (and perhaps the package itself) requires the package to already be installed. Those packages can only be salvaged by restoring them otherwise you need to start from scratch.

ONEEYEMAN wrote:
Code:
IgorDellGentoo ~ # /root/portage-2.3.103/bin/emerge --ask --changed-deps=y --deep --newuse --update --verbose --nodeps setuptools

Installing packages this way will pollute your world file (hint). This can make achieving clean emerge output more difficult.

You might want to read up on what each of those options do because at least 4 of them should be dropped and one should be added (hint).

ONEEYEMAN wrote:
And yes I know. But that why we love Gentoo - and that why I installed it in the first place: to learn, to get acquainted.

It's okay to say what you really mean. :lol:

P.S. This is technically your 4th thread on the issue of upgrading old systems. I didn't initially comment on this one because there's nothing new to be said (in fact, if you compare the thread from 2016 with the one I just helped you with, you'll find many parallels).

I just wanted to warn you that if you keep removing packages you better get a LiveCD/DVD and stage 3 tarball ready.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Apr 21, 2021 8:05 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
Hi,
Is Perl an essential package? Can I reboot without it?
I'm sure pycairo is not but Perl...

Thank you.


In past I have upgraded perl forcefully, several times. I did upgrade perl itself with --nodeps, then perl-cleaner rebuilt everything what depends on perl. It may be not the nicest way to do perl upgrade, but it always worked for me.
_________________
Life is a tragedy for those who feel and a comedy for those who think.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Sat Apr 24, 2021 2:05 am    Post subject: Reply with quote

Hi, guys,

I just got this from the simplest emerge try:

Code:

IgorDellGentoo ~ # emerge -pvUDN @world
 * Last emerge --sync was 88d 15h 32m 53s ago.

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=sys-devel/automake-1.16.2-r1:1.16" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/automake-9999::gentoo (masked by: EAPI 7)
- sys-devel/automake-1.16.3-r1::gentoo (masked by: EAPI 7)
- sys-devel/automake-1.16.2-r1::gentoo (masked by: EAPI 7)

The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "sys-libs/db-5.3.28-r2::gentoo" [ebuild])
(dependency required by "dev-lang/perl-5.30.3::gentoo[berkdb]" [ebuild])
(dependency required by "app-admin/perl-cleaner-2.25::gentoo" [installed])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

IgorDellGentoo ~ #


Thank you
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Sat Apr 24, 2021 5:33 am    Post subject: Reply with quote

Hi,
After re-installing Perl and running that command again, I got:

Code:

IgorDellGentoo ~ # /root/portage-2.3.103/bin/emerge -pvUDN @world       
/root/portage-2.3.103/lib/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


!!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd * Last emerge --sync was 88d 18h 57m 58s ago.

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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.20.10:0/1.20.10::gentoo, ebuild scheduled for merge) USE="elogind ipv6 udev xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -suid -systemd -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)" pulled in by
    >=x11-base/xorg-server-1.20[xorg] required by (x11-drivers/xf86-video-intel-2.99.917_p20200515:0/0::gentoo, ebuild scheduled for merge) USE="dri sna udev -debug -tools -uxa -xvmc" ABI_X86="(64)"
    ^^                     ^^^^                                                                                                                                                                                                                                                                                                                                                                                     
    (and 1 more with the same problem)

  (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, installed) USE="glamor ipv6 suid udev xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)" pulled in by
    x11-base/xorg-server:0/1.19.5= required by (x11-drivers/xf86-input-synaptics-1.9.0:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                        ^^^^^^^^^^                                                                                                                                                         

dev-libs/openssl:0

  (dev-libs/openssl-1.1.1i:0/1.1::gentoo, ebuild scheduled for merge) USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/openssl-1.0.2m:0/0::gentoo, installed) USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs -test -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in by
    dev-libs/openssl:0/0= required by (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, installed) USE="glamor ipv6 suid udev xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
                    ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, installed): ebuild is masked or unavailable


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following updates are masked by LICENSE changes:
- net-analyzer/nmap-7.91::gentoo (masked by: NPSL license(s))
A copy of the 'NPSL' license is located at '/usr/portage/licenses/NPSL'.

- sys-kernel/linux-firmware-20201218::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
A copy of the 'linux-fw-redistributable' license is located at '/usr/portage/licenses/linux-fw-redistributable'.

A copy of the 'no-source-code' license is located at '/usr/portage/licenses/no-source-code'.

- app-arch/unrar-5.9.4::gentoo (masked by: unRAR license(s))
A copy of the 'unRAR' license is located at '/usr/portage/licenses/unRAR'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


emerge: there are no ebuilds to satisfy "x11-apps/mkfontdir".
(dependency required by "media-fonts/font-bh-lucidatypewriter-75dpi-1.0.3::gentoo" [installed])
(dependency required by "x11-base/xorg-x11-7.4-r3::gentoo[fonts]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Thank you.

As the instructions above says:

I'm trying to bring the system up to date before updating the profile.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sun Apr 25, 2021 2:46 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
I'm trying to bring the system up to date before updating the profile.

It's a nasty warning but it's just a warning.

ONEEYEMAN wrote:
I just got this from the simplest emerge try: [...]

The answer is in the emerge output:

ONEEYEMAN wrote:
Code:
The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Mon Apr 26, 2021 2:33 am    Post subject: Reply with quote

Hi, ALL,
This is what I'm getting after unmerging couple of fonts to fix the moving of some font package.

Code:

IgorDellGentoo /home/igor/dbhandler # /root/portage-2.3.103/bin/emerge --update --newuse --deep --changed-deps --with-bdeps=y @world
/root/portage-2.3.103/lib/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


!!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd * Last emerge --sync was 90d 14h 53m 4s ago.
Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/gdbm:0

  (sys-libs/gdbm-1.18.1-r1:0/6::gentoo, ebuild scheduled for merge) USE="berkdb nls readline -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-libs/gdbm-1.11:0/0::gentoo, installed) USE="berkdb nls (policykit) -exporter -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    >=sys-libs/gdbm-1.8.3:0/0= required by (dev-lang/perl-5.30.3:0/5.30::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads" ABI_X86="(64)"
                         ^^^^^                                                                                                                                                                                                                                                                         


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following updates are masked by LICENSE changes:
- net-analyzer/nmap-7.91::gentoo (masked by: NPSL license(s))
A copy of the 'NPSL' license is located at '/usr/portage/licenses/NPSL'.

- sys-kernel/linux-firmware-20201218::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
A copy of the 'linux-fw-redistributable' license is located at '/usr/portage/licenses/linux-fw-redistributable'.

A copy of the 'no-source-code' license is located at '/usr/portage/licenses/no-source-code'.

- app-arch/unrar-5.9.4::gentoo (masked by: unRAR license(s))
A copy of the 'unRAR' license is located at '/usr/portage/licenses/unRAR'.

- media-libs/faac-1.30::gentoo (masked by: MPEG-4 license(s))
A copy of the 'MPEG-4' license is located at '/usr/portage/licenses/MPEG-4'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


emerge: there are no ebuilds to satisfy "dev-lang/perl:0/5.24=[-build(-)]".
(dependency required by "dev-perl/HTML-Tagset-3.200.0-r1::gentoo" [installed])
(dependency required by "dev-perl/HTML-Parser-3.720.0::gentoo" [ebuild])
(dependency required by "dev-perl/XML-RSS-1.600.0::gentoo" [ebuild])
(dependency required by "dev-perl/Template-XML-2.170.0-r1::gentoo" [ebuild])
(dependency required by "dev-perl/Template-Toolkit-2.270.0-r1::gentoo[xml]" [ebuild])
(dependency required by "dev-games/freecell-solver-6.2.0-r1::gentoo" [ebuild])
(dependency required by "kde-apps/kpat-20.08.3::gentoo" [ebuild])
(dependency required by "kde-apps/kdegames-meta-20.08.3::gentoo" [ebuild])
(dependency required by "kde-apps/kde-apps-meta-20.08.3::gentoo[games]" [ebuild])
(dependency required by "kde-apps/kde-meta-17.04.3::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
IgorDellGentoo /home/igor/dbhandler #


Except that I do have Perl installed:

Code:

IgorDellGentoo /home/igor/dbhandler # /root/portage-2.3.103/bin/emerge -pv perl
/root/portage-2.3.103/lib/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


!!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd * Last emerge --sync was 90d 15h 2m 31s ago.

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

Calculating dependencies... done!
[ebuild   R    ] dev-lang/perl-5.30.3:0/5.30::gentoo  USE="berkdb gdbm -debug -doc -ithreads" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

!!! The following installed packages are masked:
- app-dicts/myspell-ru-20060316::gentoo (masked by: myspell-ru_RU-ALexanderLebedev license(s))
- sys-kernel/gentoo-sources-3.16.5::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.

- app-arch/unrar-5.5.8::gentoo (masked by: unRAR license(s))
A copy of the 'unRAR' license is located at '/usr/portage/licenses/unRAR'.

- sys-kernel/gentoo-sources-4.12.12::gentoo (masked by: freedist license(s))
- sys-kernel/gentoo-sources-4.1.15-r1::gentoo (masked by: freedist license(s))
- sys-kernel/gentoo-sources-3.12.21-r1::gentoo (masked by: freedist license(s))
- media-libs/faac-1.28-r4::gentoo (masked by: MPEG-4 license(s))
A copy of the 'MPEG-4' license is located at '/usr/portage/licenses/MPEG-4'.

- sys-kernel/linux-firmware-20151207::gentoo (masked by: freedist license(s))
- media-libs/jasper-2.0.12::gentoo (masked by: JasPer2.0 license(s))
- dev-vcs/subversion-1.9.7::gentoo (masked by: Subversion license(s))
- sys-kernel/gentoo-sources-3.18.12::gentoo (masked by: freedist license(s))
- sys-kernel/gentoo-sources-3.12.20::gentoo (masked by: freedist license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

IgorDellGentoo /home/igor/dbhandler #


What am I missing?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Mon Apr 26, 2021 3:01 am    Post subject: Reply with quote

Hi,
Or I should switch to the 7.1 profile and try again?

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Mon Apr 26, 2021 4:25 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
What am I missing?

It's not complaining that Perl isn't installed.

ONEEYEMAN wrote:
Code:
emerge: there are no ebuilds to satisfy "dev-lang/perl:0/5.24=[-build(-)]".

It's complaining that there are dependencies looking for a Perl built with specific USE flags.

If this actually a valid issue (since emerge isn't always right about what's causing problems) then this could have happened if you forced the upgrade of Perl and forgot about rebuilding its dependencies:

Buffoon wrote:
In past I have upgraded perl forcefully, several times. I did upgrade perl itself with --nodeps, then perl-cleaner rebuilt everything what depends on perl. It may be not the nicest way to do perl upgrade, but it always worked for me.

Unless there are way too many moving parts, this should work.

ONEEYEMAN wrote:
Or I should switch to the 7.1 profile and try again?

I suggest you switch profiles after your system is up-to-date.
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Mon Apr 26, 2021 4:59 pm    Post subject: Reply with quote

dantrell,
So how do I resolve it?

Try to rebuild Perl with:

Code:

emerge --oneshot --ask perl


?

It will fail with some Python error on downloading the package...

There is a message above with it.

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Mon Apr 26, 2021 5:18 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
So how do I resolve it?

Read Buffoon's post carefully. I even quoted it.

ONEEYEMAN wrote:
It will fail with some Python error on downloading the package...

I responded to this somewhere above too. If that doesnt' resolve it, check over everything Python-related.

That version of Portage you are using (if you are still using it) is also a blocker.
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Mon Apr 26, 2021 5:37 pm    Post subject: Reply with quote

Hi
dantrell wrote:

ONEEYEMAN wrote:

So how do I resolve it?

Read Buffoon's post carefully. I even quoted it.

ONEEYEMAN wrote:

It will fail with some Python error on downloading the package..
.

I responded to this somewhere above too. If that doesnt' resolve it, check over everything Python-related.

That version of Portage you are using (if you are still using it) is also a blocker.


My understanding is that I have to use that version emerge because the machine uses too outdated Python version.

I will check that when I get home however...

Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Mon Apr 26, 2021 5:52 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
My understanding is that I have to use that version emerge because the machine uses too outdated Python version.

I will check that when I get home however...

If I recall correctly, that version of Portage is more than a year old. Your first post says:

ONEEYEMAN wrote:
Code:
* Last emerge --sync was 82d 12h 8m 5s ago.

Unless you were last up-to-date 8 months ago, you should have Python 3.7 installed.

If it's been at least a year then you should be using a different technique (but it's probably too late for that).
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Tue Apr 27, 2021 5:34 am    Post subject: Reply with quote

dantrell,
I don't have 3.7:

Code:

IgorDellGentoo /home/igor/dbhandler # /root/portage-2.3.103/bin/emerge -pv python
/root/portage-2.3.103/lib/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


!!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd * Last emerge --sync was 91d 16h 38m 1s ago.

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

Calculating dependencies... done!
[ebuild     U  ] sys-devel/automake-wrapper-11::gentoo [10::gentoo] 0 KiB
[ebuild  N     ] virtual/libcrypt-1-r1:0/1::gentoo  USE="static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS    ] sys-devel/automake-1.16.2-r1:1.16::gentoo [1.12.6:1.12::gentoo, 1.13.4:1.13::gentoo, 1.14.1:1.14::gentoo, 1.15.1:1.15::gentoo] USE="-test%" 1510 KiB
[ebuild  NS    ] dev-lang/python-3.9.1-r1:3.9::gentoo [2.7.14:2.7::gentoo, 3.4.5:3.4/3.4m::gentoo, 3.5.4:3.5/3.5m::gentoo] USE="bluetooth%* gdbm ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -libressl -test% -tk -verify-sig% -wininst (-threads%*)" 18465 KiB

Total: 4 packages (1 upgrade, 1 new, 2 in new slots), Size of downloads: 19975 KiB

!!! The following installed packages are masked:
- kde-apps/kdebase-meta-17.04.3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2020-10-26)
# Historical metapackage that exists in slot 5 only for transition from KDE SC4.
# Masked for removal on 2021-08-31. Replaced by:
# emerge --noreplace kde-plasma/plasma-meta kde-apps/kdecore-meta

- media-libs/faac-1.28-r4::gentoo (masked by: MPEG-4 license(s))
A copy of the 'MPEG-4' license is located at '/usr/portage/licenses/MPEG-4'.

- net-libs/libnsl-0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas K. H��ttel <dilfridge@gentoo.org> (2018-09-11)
# Mask transition ebuilds that were needed only for <glibc-2.26
# We will keep them in the tree as long as we have masked
# <glibc-2.26.

- sys-devel/gcc-5.2.0::gentoo (masked by: package.mask)
/usr/portage/profiles/releases/17.0/package.mask:
# Andreas K. Huettel <dilfridge@gentoo.org> (2017-05-27)
# In the 17.0 profiles we assume that our system compiler uses C++14
# or later as default language setting. This means it has to be at
# least GCC 6. If you need an older compiler for specific purposes,
# feel free to unmask it, however, using it for normal emerging of
# packages is neither recommended nor supported in any way.

- sys-devel/binutils-2.28.1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Micha�� G��rny <mgorny@gentoo.org>, Andreas K. H��ttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (2017-05-21 and later updates)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- kde-apps/kde-meta-17.04.3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2020-10-26)
# Historical metapackage that exists in slot 5 only for transition from KDE SC4.
# Masked for removal on 2021-08-31. Replaced by:
# emerge --noreplace kde-plasma/plasma-meta kde-apps/kde-apps-meta

- dev-scheme/guile-1.8.8-r3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (2019-09-01)
# TeXmacs is the only remaining package in tree that requires guile-1.8, which
# is unsupported upstream. A TeXmacs port to Guile-2 has been in progress for a
# few years. Bug #436400

- sys-power/pm-quirks-20100619::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2021-01-06)
# Abandoned upstream, countless bugs. Replaced by builtin functionality in
# elogind or systemd. Alternative: sys-power/suspend.
# Removal in 30 days. Bug #659616

- sys-kernel/gentoo-sources-4.12.12::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.

- sys-kernel/linux-firmware-20151207::gentoo (masked by: freedist license(s))
- kde-plasma/user-manager-5.10.5::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2021-01-24)
# (New and QML-based) functionality moved into kde-plasma/plasma-desktop:5
# Masked for removal in 14 days.

- sys-kernel/gentoo-sources-3.18.12::gentoo (masked by: freedist license(s))
- x11-misc/sddm-0.15.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2018-11-25)
# Masked per security vulnerability CVE-2018-14345, bug #661510
# Keeping it masked while users have unsolved issues with >0.15.0.

- app-dicts/myspell-ru-20060316::gentoo (masked by: myspell-ru_RU-ALexanderLebedev license(s))
- sys-power/pm-utils-1.4.1-r7::gentoo (masked by: package.mask)
- dev-java/icedtea-web-1.6.1-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-03-27)
# Vulnerable old version of icedtea-web #711392

- kde-frameworks/kdesignerplugin-5.37.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2021-01-11)
# KF5 PortingAid (from kdelibs4) without any remaining revdeps. Bug #755956
# Masked for removal in 30 days.

- sys-devel/gcc-5.4.0-r3::gentoo (masked by: package.mask)
- media-libs/jasper-2.0.12::gentoo (masked by: JasPer2.0 license(s))
- sys-kernel/gentoo-sources-3.16.5::gentoo (masked by: freedist license(s))
- app-arch/unrar-5.5.8::gentoo (masked by: unRAR license(s))
A copy of the 'unRAR' license is located at '/usr/portage/licenses/unRAR'.

- sys-kernel/gentoo-sources-3.12.20::gentoo (masked by: freedist license(s))
- sys-kernel/gentoo-sources-4.1.15-r1::gentoo (masked by: freedist license(s))
- sys-kernel/gentoo-sources-3.12.21-r1::gentoo (masked by: freedist license(s))
- sys-libs/glibc-2.25-r9::gentoo (masked by: package.mask)
- dev-vcs/subversion-1.9.7::gentoo (masked by: Subversion license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

IgorDellGentoo /home/igor/dbhandler #


So what is the best approach here?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 28, 2021 4:11 am    Post subject: Reply with quote

Doe this mean the only option right now is to re-install?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Wed Apr 28, 2021 2:59 pm    Post subject: Reply with quote

Hi,
This is the output of perl-cleaner --all:

Code:

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-qt/designer-4.8.7
 *  - /usr/lib64/qt4/libQtDesigner.so.4
 *  - /usr/lib64/qt4/libQtDesigner.so.4.8.7
 *      used by /usr/lib64/qt4/plugins/designer/libphononwidgets.so (media-libs/phonon-4.9.1-r1)
>>> package: dev-qt/qtopengl-4.8.7
 *  - /usr/lib64/qt4/libQtOpenGL.so.4
 *  - /usr/lib64/qt4/libQtOpenGL.so.4.8.7
 *      used by /usr/lib64/qt4/plugins/phonon_backend/phonon_gstreamer.so (media-libs/phonon-gstreamer-4.7.2)
>>> package: dev-qt/qtcore-4.8.7-r3
 *  - /usr/lib64/qt4/libQtXml.so.4
 *  - /usr/lib64/qt4/libQtXml.so.4.8.7
 *      used by /usr/lib64/libpoppler-qt4.so.4.11.0 (app-text/poppler-0.57.0)
 *  - /usr/lib64/qt4/libQtCore.so.4
 *  - /usr/lib64/qt4/libQtCore.so.4.8.7
 *      used by /usr/bin/automoc4 (dev-util/automoc-0.9.88-r1)
 *      used by /usr/bin/blitztest (media-libs/qimageblitz-0.0.6-r1)
 *      used by /usr/lib64/grantlee/0.4/grantlee_defaultfilters.so (dev-libs/grantlee-0.4.0)
 *      used by 16 other files
 *  - /usr/lib64/qt4/libQtNetwork.so.4
 *  - /usr/lib64/qt4/libQtNetwork.so.4.8.7
 *      used by /usr/lib64/libattica.so.0.4.2 (dev-libs/libattica-0.4.2)
>>> package: dev-qt/qtscript-4.8.7
 *  - /usr/lib64/qt4/libQtScript.so.4
 *  - /usr/lib64/qt4/libQtScript.so.4.8.7
 *      used by /usr/lib64/libgrantlee_core.so.0.4.0 (dev-libs/grantlee-0.4.0)
>>> package: dev-qt/qtdbus-4.8.7
 *  - /usr/lib64/qt4/libQtDBus.so.4
 *  - /usr/lib64/qt4/libQtDBus.so.4.8.7
 *      used by /usr/lib64/libphonon.so.4.9.1 (media-libs/phonon-4.9.1-r1)
>>> package: dev-qt/qtgui-4.8.7
 *  - /usr/lib64/qt4/libQtGui.so.4
 *  - /usr/lib64/qt4/libQtGui.so.4.8.7
 *      used by /usr/bin/blitztest (media-libs/qimageblitz-0.0.6-r1)
 *      used by /usr/lib64/kde4/plugins/designer/kde3supportwidgets.so (kde-frameworks/kdelibs-4.14.37)
 *      used by /usr/lib64/kde4/plugins/designer/kdedeprecated.so (kde-frameworks/kdelibs-4.14.37)
 *      used by 9 other files
>>> package: dev-qt/qt3support-4.8.7
 *  - /usr/lib64/qt4/libQt3Support.so.4
 *  - /usr/lib64/qt4/libQt3Support.so.4.8.7
 *      used by /usr/lib64/kde4/plugins/designer/kde3supportwidgets.so (kde-frameworks/kdelibs-4.14.37)
>>> package: dev-lang/perl-5.24.3
 *  - /usr/lib64/libperl.so.5.24
 *  - /usr/lib64/libperl.so.5.24.3
 *      used by /usr/lib64/texinfo/XSParagraph.so (sys-apps/texinfo-6.3)
Use emerge @preserved-rebuild to rebuild packages using these libraries

 * Beginning a clean up of .ph files
 * Excluding files for 5.30.3 and 5.30.3/x86_64-linux from cleaning

 * Locating ph files for removal

 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: perl-core/Time-Local:0
 *                   virtual/perl-Time-Local:0
 *   Adding to list: perl-core/File-Path:0
 *                   virtual/perl-File-Path:0
 *   Adding to list: dev-perl/XML-LibXML:0
 *   Adding to list: dev-perl/WWW-RobotRules:0
 *   Adding to list: dev-perl/HTTP-Message:0
 *   Adding to list: dev-perl/File-BaseDir:0
 *   Adding to list: dev-perl/DBI:0
 *   Adding to list: dev-perl/HTTP-Daemon:0
 *   Adding to list: dev-perl/Text-WrapI18N:0
 *   Adding to list: dev-perl/Date-Manip:0
 *   Adding to list: dev-perl/Locale-gettext:0
 *   Adding to list: dev-perl/Module-Build:0
 *   Adding to list: dev-perl/XML-Simple:0
 *   Adding to list: dev-perl/Net-SSLeay:0
 *   Adding to list: dev-perl/Encode-Locale:0
 *   Adding to list: dev-perl/Unicode-EastAsianWidth:0
 *   Adding to list: dev-perl/HTML-Parser:0
 *   Adding to list: dev-perl/XML-Parser:0
 *   Adding to list: dev-perl/LWP-MediaTypes:0
 *   Adding to list: dev-perl/HTTP-Date:0
 *   Adding to list: dev-perl/Authen-SASL:0
 *   Adding to list: dev-perl/File-DesktopEntry:0
 *   Adding to list: dev-perl/Text-Unidecode:0
 *   Adding to list: dev-perl/IO-HTML:0
 *   Adding to list: dev-perl/Text-CharWidth:0
 *   Adding to list: dev-perl/TermReadKey:0
 *   Adding to list: dev-perl/File-Listing:0
 *   Adding to list: dev-perl/Digest-HMAC:0
 *   Adding to list: dev-perl/XML-SAX-Base:0
 *   Adding to list: dev-perl/URI:0
 *   Adding to list: dev-perl/Net-SMTP-SSL:0
 *   Adding to list: dev-perl/Error:0
 *   Adding to list: dev-perl/libwww-perl:0
 *   Adding to list: dev-perl/Net-Daemon:0
 *   Adding to list: dev-perl/HTTP-Negotiate:0
 *   Adding to list: dev-perl/libintl-perl:0
 *   Adding to list: dev-perl/File-MimeInfo:0
 *   Adding to list: dev-perl/Net-HTTP:0
 *   Adding to list: dev-perl/IO-Socket-SSL:0
 *   Adding to list: dev-perl/XML-NamespaceSupport:0
 *   Adding to list: dev-perl/PlRPC:0
 *   Adding to list: dev-perl/XML-SAX:0
 *   Adding to list: dev-perl/Test-Deep:0
 *   Adding to list: dev-perl/DBD-mysql:0
 *   Adding to list: dev-perl/HTML-Tagset:0
 *   Adding to list: dev-perl/HTTP-Cookies:0
 *   Adding to list: dev-perl/SGMLSpm:0
 *   Adding to list: dev-perl/LWP-Protocol-https:0
 *   Adding to list: dev-vcs/git:0
 *   Adding to list: app-text/po4a:0
 *   Adding to list: sys-apps/texinfo:0
 * emerge -v1 --backtrack=200 --selective=n perl-core/Time-Local:0 virtual/perl-Time-Local:0 perl-core/File-Path:0 virtual/perl-File-Path:0 dev-perl/XML-LibXML:0 dev-perl/WWW-RobotRules:0 dev-perl/HTTP-Message:0 dev-perl/File-BaseDir:0 dev-perl/DBI:0 dev-perl/HTTP-Daemon:0 dev-perl/Text-WrapI18N:0 dev-perl/Date-Manip:0 dev-perl/Locale-gettext:0 dev-perl/Module-Build:0 dev-perl/XML-Simple:0 dev-perl/Net-SSLeay:0 dev-perl/Encode-Locale:0 dev-perl/Unicode-EastAsianWidth:0 dev-perl/HTML-Parser:0 dev-perl/XML-Parser:0 dev-perl/LWP-MediaTypes:0 dev-perl/HTTP-Date:0 dev-perl/Authen-SASL:0 dev-perl/File-DesktopEntry:0 dev-perl/Text-Unidecode:0 dev-perl/IO-HTML:0 dev-perl/Text-CharWidth:0 dev-perl/TermReadKey:0 dev-perl/File-Listing:0 dev-perl/Digest-HMAC:0 dev-perl/XML-SAX-Base:0 dev-perl/URI:0 dev-perl/Net-SMTP-SSL:0 dev-perl/Error:0 dev-perl/libwww-perl:0 dev-perl/Net-Daemon:0 dev-perl/HTTP-Negotiate:0 dev-perl/libintl-perl:0 dev-perl/File-MimeInfo:0 dev-perl/Net-HTTP:0 dev-perl/IO-Socket-SSL:0 dev-perl/XML-NamespaceSupport:0 dev-perl/PlRPC:0 dev-perl/XML-SAX:0 dev-perl/Test-Deep:0 dev-perl/DBD-mysql:0 dev-perl/HTML-Tagset:0 dev-perl/HTTP-Cookies:0 dev-perl/SGMLSpm:0 dev-perl/LWP-Protocol-https:0 dev-vcs/git:0 app-text/po4a:0 sys-apps/texinfo:0

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


 * Last emerge --sync was 93d 3h 18m 16s ago.

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

Calculating dependencies... done!

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by perl-core/Time-Local:0 (argument)
=perl-core/Time-Local-1.230.0-r1 **

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

!!! All ebuilds that could satisfy "virtual/perl-Time-Local:0" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/perl-Time-Local-1.280.0-r1::gentoo (masked by: EAPI 7)

The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

 * perl-cleaner is stopping here:
 * Fix the problem and start perl-cleaner again.
 *
 *
 * Note that upgrading Perl with emerge option --ignore-built-slot-operator-deps=y is not supported.
IgorDellGentoo /home/igor/dbhandler #


Thank you.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Wed Apr 28, 2021 8:05 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
Doe this mean the only option right now is to re-install?

I decided to hold off on responding to this thread until I reviewed it again.

My assessment is still that your situation is salvageable, however, no one is going to salvage it for you.

You already know the time and work involved in upgrading. A big part of this is in deciphering and demystifying the output you get from emerge (output that, quite frankly, you can't even trust and/or rely on to pinpoint issues).

ONEEYEMAN wrote:
What am I missing?

Let's start from the beginning.

Gentoo uses a rapid pace development style.

That means it rolls and if you take too long between updates it'll roll right by you.

You already know this. The reason I'm mentioning it though is because of Portage.

Without Portage there is no Gentoo. For Gentoo to stay up-to-date, Portage must stay up-to-date. This is obvious when syncing up and you see the following message:

Code:
* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.

* To update portage, run 'emerge --oneshot portage' now.

If that fails you must resolve the failure because unless you know what you are doing an outdated Portage will block you ever achieving clean emerge output.

ONEEYEMAN wrote:
This is the output of perl-cleaner --all: [...]

ONEEYEMAN wrote:
Code:
!!! All ebuilds that could satisfy "virtual/perl-Time-Local:0" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/perl-Time-Local-1.280.0-r1::gentoo (masked by: EAPI 7)

The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

The rebuild of the Perl dependencies is blocked because your Portage is outdated. This is also blocking other packages.

The update of Portage is blocked because you don't have an appropriate version of Python is installed.

The install of Python is blocked (probably) because you removed something you weren't supposed to. It could also be because you are not using a Portage-installed version of Portage.

Aside from these, I counted at least 3 other significant issues.

sam_ wrote:
We need to fix the "most fatal error" first [...]

This advice wasn't wrong.

You need to trace every issue back to a potential root cause and resolve those first.

If you can't build then restore. I already shared a way:

dantrell wrote:
If Perl is the issue here then you can probably recover from this by reinstalling it via a binary package. You can build one yourself on another machine (with generic CFLAGS if necessary) and copy it over.

That I leave as an exercise to the reader. :wink:

But honestly, even with all that, things still may not be as straight-forward as they seem.

ONEEYEMAN wrote:
Doe this mean the only option right now is to re-install?

So circling back to this, a re-install would be faster.

But if you are going to make a habit of having out-of-date systems you should make a best-effort attempt to upgrade this one because the best person to resolve them is you yourself.
_________________
Dantrell B.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu Apr 29, 2021 4:17 am    Post subject: Reply with quote

Hi,
Code:

IgorDellGentoo /home/igor/dbhandler # /root/portage-2.3.103/bin/emerge -v1 --backtrack=200 --selective=n perl-core/Time-Local:0 virtual/perl-Time-Local:0 perl-core/File-Path:0 virtual/perl-File-Path:0 dev-perl/XML-LibXML:0 dev-perl/WWW-RobotRules:0 dev-perl/HTTP-Message:0 dev-perl/File-BaseDir:0 dev-perl/DBI:0 dev-perl/HTTP-Daemon:0 dev-perl/Text-WrapI18N:0 dev-perl/Date-Manip:0 dev-perl/Locale-gettext:0 dev-perl/Module-Build:0 dev-perl/XML-Simple:0 dev-perl/Net-SSLeay:0 dev-perl/Encode-Locale:0 dev-perl/Unicode-EastAsianWidth:0 dev-perl/HTML-Parser:0 dev-perl/XML-Parser:0 dev-perl/LWP-MediaTypes:0 dev-perl/HTTP-Date:0 dev-perl/Authen-SASL:0 dev-perl/File-DesktopEntry:0 dev-perl/Text-Unidecode:0 dev-perl/IO-HTML:0 dev-perl/Text-CharWidth:0 dev-perl/TermReadKey:0 dev-perl/File-Listing:0 dev-perl/Digest-HMAC:0 dev-perl/XML-SAX-Base:0 dev-perl/URI:0 dev-perl/Net-SMTP-SSL:0 dev-perl/Error:0 dev-perl/libwww-perl:0 dev-perl/Net-Daemon:0 dev-perl/HTTP-Negotiate:0 dev-perl/libintl-perl:0 dev-perl/File-MimeInfo:0 dev-perl/Net-HTTP:0 dev-perl/IO-Socket-SSL:0 dev-perl/XML-NamespaceSupport:0 dev-perl/PlRPC:0 dev-perl/XML-SAX:0 dev-perl/Test-Deep:0 dev-perl/DBD-mysql:0 dev-perl/HTML-Tagset:0 dev-perl/HTTP-Cookies:0 dev-perl/SGMLSpm:0 dev-perl/LWP-Protocol-https:0 dev-vcs/git:0 app-text/po4a:0 sys-apps/texinfo:0
/root/portage-2.3.103/lib/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop/plasma

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


!!! BINPKG_COMPRESS unsupported zstd. Missing package: app-arch/zstd * Last emerge --sync was 93d 16h 45m 51s ago.

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "perl-core/Time-Local:0" have been masked.
!!! One of the following masked packages is required to complete your request:
- perl-core/Time-Local-1.230.0-r1::gentoo (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Is there anything I can do here?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Thu Apr 29, 2021 1:54 pm    Post subject: Reply with quote

Hi,
According to this it is masked.
So should I uninstall it?

Is it now part of the Perl itself?

Thank you.
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  Next
Page 2 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