LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Redcore linux update failed (https://www.linuxquestions.org/questions/linux-distributions-5/redcore-linux-update-failed-4175615632/)

joellapointe1717 10-13-2017 11:23 PM

Redcore linux update failed
 
I tried to update the Redcore linux (4.9.49-redcore-lts) system with the GUI updater/package installer (Sisyphus Gui). However Sisyphus seems to try to update its database than close unexpectedly. It does that each time I try to open it. So I decided to do the terminal method with "sisyphus upgrade".

Errors are spitting out of the terminal as follow:

Code:

joel-pc joel # sisyphus update

syncing remote databases....    fatal: refusing to merge unrelated histories
Traceback (most recent call last):
  File "/usr/bin/sisyphus", line 20, in <module>
    sisyphus_pkg_system_update()
  File "/usr/lib64/python3.4/libsisyphus.py", line 251, in sisyphus_pkg_system_update
    redcore_sync()
  File "/usr/lib64/python3.4/site-packages/animation/decorators.py", line 138, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib64/python3.4/libsisyphus.py", line 115, in redcore_sync
    sync_redcore_portage_tree_and_desktop_overlay()
  File "/usr/lib64/python3.4/libsisyphus.py", line 74, in sync_redcore_portage_tree_and_desktop_overlay
    subprocess.check_call(['emerge', '--sync', '--quiet'])
  File "/usr/lib64/python3.4/subprocess.py", line 558, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['emerge', '--sync', '--quiet']' returned non-zero exit status 1

Code:

joel-pc joel # sisyphus upgrade

syncing remote databases.....    fatal: refusing to merge unrelated histories
Traceback (most recent call last):
  File "/usr/bin/sisyphus", line 22, in <module>
    sisyphus_pkg_system_upgrade()
  File "/usr/lib64/python3.4/libsisyphus.py", line 230, in sisyphus_pkg_system_upgrade
    redcore_sync()
  File "/usr/lib64/python3.4/site-packages/animation/decorators.py", line 138, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib64/python3.4/libsisyphus.py", line 115, in redcore_sync
    sync_redcore_portage_tree_and_desktop_overlay()
  File "/usr/lib64/python3.4/libsisyphus.py", line 74, in sync_redcore_portage_tree_and_desktop_overlay
    subprocess.check_call(['emerge', '--sync', '--quiet'])
  File "/usr/lib64/python3.4/subprocess.py", line 558, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['emerge', '--sync', '--quiet']' returned non-zero exit status 1

Thank you!

business_kid 10-15-2017 11:01 AM

Looks like python with loads of .py files. Here's your error
Code:

syncing remote databases....    fatal: refusing to merge unrelated histories
The rest is a python tailspin as everything gets it's error in. Solve that one. Try google.

joellapointe1717 10-28-2017 10:28 PM

Hi!

I tried to search google about the error...

The only things that appeared are related to GIT!
I'm not an computer guy or a programmer. Only an average user who's able to mechanically put commands in the terminal.

Thank you.

business_kid 10-29-2017 03:48 AM

OK, let's see what we can do with it ourselves.
Code:

fatal: refusing to merge unrelated histories
That strikes me as something reloading information. If you have a remote backup and a local config, or two history files on the same disk which are supposed to be the same but aren't, etc. etc. Something along those lines

Another possibility is that it's found 2 install dirs as if a slightly older version isn't gone completely, or maybe a permissions thing where it updates oner history with the other, but can't write the update. Looking at the tailspin, this
Code:

  File "/usr/lib64/python3.4/subprocess.py", line 558, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['emerge', '--sync', '--quiet']' returned non-zero exit status 1

Timewise, the tailspin goes from bottom to top (most recent call last). I am ignorant of emerge, but I gather it's some debian package thing and it's name indicates it might have a merging/marriage function.

"They say marriages are made in heaven;" said Clint Eastwood, "But so is thunder & lightning." I digress.

It might be no harm to comment out that line, copy it to the next line, copy it and muck with the copy, to be removed after,
e.g. ['emerge', '--quiet'] or
['emerge', '--sync', '--verbose'] or whatever the option is. You have a man page.

ondoho 10-29-2017 04:18 AM

redcore is based on gentoo.
it seems that sisyphus is a homespun frontend for gentoos package management.
i clicked through a few links starting at distrowatches redcore page, and came out here:
https://wiki.redcorelinux.org/doku.php/sisyphus
i hope it helps a little.

/rant:
that's why i always tell people to stick to the major players.

business_kid 10-30-2017 05:19 AM

Package Manager? Don't they always have some --clean or --sort-out or --purge option that hopefully has the effect on the database that eating an extra-spicy Vindaloo Curry washed down with a doubtful beer would have on you?:-)

BasieBop 11-12-2017 08:57 PM

Just installed Redcore Linux.
When using Sisyphus upgrade from the command line I get an error
Running pre-merge checks for sys-kernel/redcore-lts-sources-4.9.60
--2017-11-12 18:12:26-- http://mirror.math.princeton.edu/pub...es-4.9.60.tbz2
Resolving mirror.math.princeton.edu... 128.112.18.21
Connecting to mirror.math.princeton.edu|128.112.18.21|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-12 18:12:27 ERROR 404: Not Found.
Not that familiar with Gentoo. Wondering how to change the math.princeton.edu mirror. Where are the repositories listed.??

business_kid 11-13-2017 02:48 AM

There must be a man or info page that tells you, or try this:
Code:

cd /etc
find -iname '*mirror*'

and if that doesn't get it, repeat in /var


All times are GMT -5. The time now is 05:54 PM.