LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-14-2017, 12:23 AM   #1
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 14

Rep: Reputation: Disabled
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!
 
Old 10-15-2017, 12:01 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,781

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
Old 10-28-2017, 11:28 PM   #3
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
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.

Last edited by joellapointe1717; 10-29-2017 at 01:43 AM.
 
Old 10-29-2017, 04:48 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,781

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
Old 10-29-2017, 05:18 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 7,299
Blog Entries: 4

Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
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.
 
Old 10-30-2017, 06:19 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,781

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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?:-)
 
Old 11-12-2017, 09:57 PM   #7
BasieBop
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 4
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.??
 
Old 11-13-2017, 03:48 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,781

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redcore... un1x Gentoo 5 09-03-2017 05:27 PM
Arch Linux update failed! MTK358 Linux - General 6 07-04-2010 08:47 PM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 10:07 PM
Linux has stopped booting up after failed update thatbloke Linux - Software 5 10-12-2004 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration