Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

trying to update our sysytem


musicweb

Question

We are trying to update our server. It hasn't been done in almost 2 years because it was offline for personal reasons.

When trying to update through normal Gentoo channels, we get errors.... and the guys on the Gentoo forum say it's a Funtoo problem. So here we are....

When I try to fix portage, I get this:

wmmw ~ # cd /tmp
wmmw tmp # wget https://www.github.com/funtoo/portage-funtoo/tarball/funtoo-2.3.6-r2
--2015-01-10 07:26:45--  https://www.github.com/funtoo/portage-funtoo/tarball/funtoo-2.3.6-r2
Resolving www.github.com... 192.30.252.131
Connecting to www.github.com|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/funtoo/portage-funtoo/tarball/funtoo-2.3.6-r2 [following]
--2015-01-10 07:26:45--  https://github.com/funtoo/portage-funtoo/tarball/funtoo-2.3.6-r2
Resolving github.com... 192.30.252.131
Connecting to github.com|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/funtoo/portage-funtoo/legacy.tar.gz/funtoo-2.3.6-r2 [following]
--2015-01-10 07:26:45--  https://codeload.github.com/funtoo/portage-funtoo/legacy.tar.gz/funtoo-2.3.6-r2
Resolving codeload.github.com... 192.30.252.147
Connecting to codeload.github.com|192.30.252.147|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: `funtoo-2.3.6-r2'

    [         <=>                           ] 1,049,943    582K/s   in 1.8s

2015-01-10 07:26:48 (582 KB/s) - `funtoo-2.3.6-r2' saved [1049943]

wmmw tmp # tar xf funtoo-2.3.6-r2
wmmw tmp # cd funtoo-portage-funtoo-e491673
wmmw funtoo-portage-funtoo-e491673 # rm -rf /usr/lib/portage/*
wmmw funtoo-portage-funtoo-e491673 # cp -a bin pym /usr/lib/portage/
wmmw funtoo-portage-funtoo-e491673 # ln -s /usr/lib/portage/bin/emerge /usr/bin/emerge
ln: failed to create symbolic link ?/usr/bin/emerge?: File exists

Any ideas as to why?

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

tried that....

emerge --sync
--- EAPI '0' does not support 'use.stable.mask': '/usr/portage/profiles/base/use.stable.mask'
--- EAPI '0' does not support 'package.use.stable.mask': '/usr/portage/profiles/base/package.use.stable.mask'
--- Invalid atom in /usr/portage/profiles/base/package.use.force: Slot deps are not allowed in EAPI 0: 'app-shells/bash:0'
>>> Starting git pull...
remote: Counting objects: 791, done.
remote: Compressing objects: 100% (373/373), done.
Receiving objects: 100% (791/791), 196.00 KiB, done.
remote: Total 791 (delta 513), reused 690 (delta 412)
Resolving deltas: 100% (513/513), completed with 268 local objects.
From git://github.com/funtoo/ports-2012
   e1ba0b1..cd61900  funtoo.org -> origin/funtoo.org
Updating e1ba0b1..cd61900
Fast-forward
>>> Git pull in /usr/portage successful
--- EAPI '0' does not support 'use.stable.mask': '/usr/portage/profiles/base/use.stable.mask'
--- EAPI '0' does not support 'package.use.stable.mask': '/usr/portage/profiles/base/package.use.stable.mask'
--- Invalid atom in /usr/portage/profiles/base/package.use.force: Slot deps are not allowed in EAPI 0: 'app-shells/bash:0'

 * 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.


and...

emerge -avuND world
--- EAPI '0' does not support 'use.stable.mask': '/usr/portage/profiles/base/use.stable.mask'
--- EAPI '0' does not support 'package.use.stable.mask': '/usr/portage/profiles/base/package.use.stable.mask'
--- Invalid atom in /usr/portage/profiles/base/package.use.force: Slot deps are not allowed in EAPI 0: 'app-shells/bash:0'

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies |

!!! Problem resolving dependencies for sys-apps/file from @system             ... done!

!!! The ebuild selected to satisfy "sys-apps/file" has unmet requirements.
- sys-apps/file-5.22-r1000::gentoo USE="python zlib -python_abis_2.6 -python_abis_2.7 -python_abis_2.7-pypy -python_abis_3.1 -python_abis_3.2 -python_abis_3.2-pypy -python_abis_3.3 -python_abis_3.4 (-python_abis_3.5) -static-libs"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( any-of ( python_abis_2.6 python_abis_2.7 python_abis_3.1 python_abis_3.2 python_abis_3.3 python_abis_3.4 python_abis_3.5 python_abis_2.7-pypy python_abis_3.2-pypy ) )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])



also tried....

emerge --oneshot portage
--- EAPI '0' does not support 'use.stable.mask': '/usr/portage/profiles/base/use.stable.mask'
--- EAPI '0' does not support 'package.use.stable.mask': '/usr/portage/profiles/base/package.use.stable.mask'
--- Invalid atom in /usr/portage/profiles/base/package.use.force: Slot deps are not allowed in EAPI 0: 'app-shells/bash:0'

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy "portage" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/portage-2.3.7::gentoo (masked by: package.mask, mirror in RESTRICT)
- sys-apps/portage-2.3.6-r9::gentoo (masked by: package.mask, mirror in RESTRICT)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Link to comment
Share on other sites

  • 0

An error message above looks similar to a problem I had with another situation.

This definitely points to a portage setup issue.

IMO, having a compiler and portage set up, one should be able to upgrade.

 

Suggestion...(and it may be a bit manual labour)

Grab a stage3 latest and examine some of the settings files (/etc/portage, /usr/portage ... etc).

Look for differences. If you can get portage and a compiler going, great!!!

 

boot to a System Rescue CD.

similar to the instructions for install:

- create a folder in /mnt for stage3 (pretending to install)

- create a folder in /mnt for your machine

look at the differences between the two

 

Good Luck

Link to comment
Share on other sites

  • 0

Ouch! Remote operation!

 

Can you emulate/simulate the remote machine locally? You can figure out what needs to be done and/or experiment without blowing up the remote.

That would be my prudent suggestion.

 

I think given the logistics involved, the earlier suggestion about starting fresh is sounding very plausible in this instance.

Can you transport/copy needed data? Is it in a format that is tranportable between machines/software versions?

Link to comment
Share on other sites

  • 0

If the hardware is same/similar you might be okay.

Rather than sending a HD, maybe use a USB/DVD drive? It may be safer and a means of support to image the harddrive, send the image (DVD etc) with a copy of the System Rescue CD and instructions to put the image on the drive. Just thinking out loud - HD could get damaged in shipping

 

After install, you could also to restore the data on to the the newly imaged drive(Extract a tar.gz or tar.bz2).

 

Just a suggestion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...