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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-13-2017, 11:23 PM
|
#1
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Rep: 
|
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!
|
|
|
10-15-2017, 11:01 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,711
|
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.
|
|
|
10-28-2017, 10:28 PM
|
#3
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Original Poster
Rep: 
|
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 12:43 AM.
|
|
|
10-29-2017, 03:48 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,711
|
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.
|
|
|
10-29-2017, 04:18 AM
|
#5
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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.
|
|
|
10-30-2017, 05:19 AM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,711
|
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?:-)
|
|
|
11-12-2017, 08:57 PM
|
#7
|
LQ Newbie
Registered: Apr 2010
Posts: 29
Rep:
|
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.??
|
|
|
11-13-2017, 02:48 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,711
|
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 04:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|