Equo upgrade fails

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Re: Equo upgrade fails

Postby lxnay » Thu Sep 13, 2012 13:46

There is no /boot/grub2 in Sabayon. I don't know what you're talking about. Just reinstall the bootloader into the MBR and everything will be back working as expected. This is an upstream fail (as usual...) and there isn't much we can do.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3405
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Equo upgrade fails

Postby Fitzcarraldo » Fri Sep 14, 2012 9:06

deneb_ja wrote:Analysing the configuration I realised that Grub2 was not fully installed, missing the entire grub2 folder in the boot folder, and in this way it could not create the grub.cfg file. I did it manually and I run the
grub2-mkconfig - /boot/grub2/grub.cfg
command.

For information, SL uses the directory /boot/grub/, not /boot/grub2/, so SL is not the same as Gentoo and some other Linux distributions. The command to regenerate the file grub.cfg in SL would be:

Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg

The GRUB 2 ebuild for SL is in the sabayon-distro overlay, not the main Portage tree, and is not the same ebuild as the one in Gentoo, even though the package name and version are the same.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Equo upgrade fails

Postby deneb_ja » Sat Sep 15, 2012 21:23

Thanks Ixnay and Fitzcarraldo, bootloader re-installed. Fixed now. :)
deneb_ja
Baby Hen
 
Posts: 9
Joined: Wed Dec 23, 2009 0:14

Re: Equo upgrade fails

Postby Ramiliez » Fri Sep 28, 2012 20:49

Hey lxnay i believe i have encoutered this bug second time

Code: Select all
>>  ++ (8/98) >>> kde-base/korganizer-4.9.1
>>    ## Rozbaľovanie: kde-base:korganizer-4.9.1~0.tbz2
>>    ## MZB: setup phase
>>    ## MZB: pred-inštalačná fáza
>>    ## Inštalácia balíčka: kde-base/korganizer-4.9.1
>>    ## [A Personal Organizer for KDE]
>>    ## aktualizácia dababázy: kde-base/korganizer-4.9.1
>>    ## Cleaning previously installed application data.
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: File /usr/lib64/libkfontinst.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinst.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinst.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so is empty, not checked.
>>    ## MZB: po-odstraňovacia fáza
 * Updating icons cache ...                                                                                                                                                                                                                 [ ok ]
 * Updating desktop mime database ...
 * Updating shared mime info database ...
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: File /usr/lib64/libkfontinst.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinst.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinst.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so.4.9.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma-geolocation-interface.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libkfontinstui.so is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib64/libplasma_applet-system-monitor.so is empty, not checked.
>>    ## MZB: po-inštalačná fáza
 * Updating icons cache ...
gtk-update-icon-cache: Failed to write cache file: Input/output error
Traceback (most recent call last):
  File "/usr/lib/entropy/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 2325, in _pkg_fooinst
  File "/usr/lib/entropy/lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 2112, in _portage_doebuild
  File "/usr/lib64/portage/pym/portage/package/ebuild/doebuild.py", line 1077, in doebuild
  File "/usr/lib64/portage/pym/_emerge/EbuildBuildDir.py", line 97, in unlock
  File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
  File "/usr/lib64/portage/pym/_emerge/AsynchronousLock.py", line 47, in _start
  File "/usr/lib64/portage/pym/portage/locks.py", line 103, in lockfile
  File "/usr/lib64/portage/pym/portage/__init__.py", line 230, in __call__
OSError: [Errno 30] Read-only file system: '/var/tmp/entropy/packages/amd64/5/kde-base_korganizer-4.9.1_0.tbz2/portage/.kde-base.portage_lockfile'
Traceback (most recent call last):
  File "/usr/lib64/python2.7/logging/__init__.py", line 870, in emit
  File "/usr/lib64/python2.7/logging/__init__.py", line 832, in flush
IOError: [Errno 30] Read-only file system
Logged from file misc.py, line 1657
[21:41:39 28/09/2012 CEST] INFO: [PRE] ATTENTION Cannot properly run SPM postinst phase for kde-base/korganizer-4.9.1. Something bad happened. Exception OSError(30, 'Read-only file system')
>>    ## QA: Cannot run Source Package Manager trigger for kde-base/korganizer-4.9.1.
>>    ## Please report it. Attach this: /var/log/entropy/entropy.log [postinst]
>>    ## Čistenie: kde-base/korganizer-4.9.1
>> Hi. My name is Bug Reporter. I am sorry to inform you that Equo crashed. Well, you know, shit happens.
>> But there's something you could do to help Equo to be a better application.
>> -- EVEN IF I DON'T WANT YOU TO SUBMIT THE SAME REPORT MULTIPLE TIMES --
>> Now I am showing you what happened. Don't panic, I'm here to help you.
Traceback (most recent call last):
  File "/usr/bin/equo", line 798, in <module>
    main_rc = main()
  File "/usr/bin/equo", line 781, in main
    rc = cmd_cb(main_cmd, options)
  File "/usr/bin/equo", line 297, in _do_text_ui
    return text_ui.package([main_cmd] + options)
  File "/usr/lib/entropy/client/text_ui.py", line 236, in package
  File "/usr/lib/entropy/client/text_ui.py", line 436, in upgrade_packages
  File "/usr/lib/entropy/client/text_ui.py", line 1756, in install_packages
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4226, in prepare
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4299, in _generate_metadata
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4794, in __generate_install_metadata
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3393, in retrieveContentIter
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3361, in __init__
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3365, in _init_cur
  File "/usr/lib/entropy/lib/entropy/db/sqlite.py", line 54, in execute
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 179, in _proxy_call
OperationalError: disk I/O error

Frame _proxy_call in /usr/lib/entropy/lib/entropy/db/sql.py at line 179
                        self = <entropy.db.sqlite.SQLiteCursorWrapper object at 0x7f26cf5e9fd0>
                        args = ('\n        SELECT file, type FROM content WHERE idpackage = ?  order by file DESC', (10231,))
                      method = <built-in method execute of sqlite3.Cursor object at 0x7f26cf5da960>
                         err = OperationalError('disk I/O error',)
                      kwargs = {}
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/bin/equo", line 689, in handle_exception
    suffix=".txt")
  File "/usr/lib64/python2.7/tempfile.py", line 300, in mkstemp
   
  File "/usr/lib64/python2.7/tempfile.py", line 235, in _mkstemp_inner
   
OSError: [Errno 30] Read-only file system: '/tmp/entropy.error.report.XAiSs5.txt'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/equo", line 798, in <module>
    main_rc = main()
  File "/usr/bin/equo", line 781, in main
    rc = cmd_cb(main_cmd, options)
  File "/usr/bin/equo", line 297, in _do_text_ui
    return text_ui.package([main_cmd] + options)
  File "/usr/lib/entropy/client/text_ui.py", line 236, in package
   
  File "/usr/lib/entropy/client/text_ui.py", line 436, in upgrade_packages
   
  File "/usr/lib/entropy/client/text_ui.py", line 1756, in install_packages
   
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4226, in prepare
   
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4299, in _generate_metadata
   
  File "/usr/lib/entropy/lib/entropy/client/interfaces/package.py", line 4794, in __generate_install_metadata
   
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3393, in retrieveContentIter
   
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3361, in __init__
   
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 3365, in _init_cur
   
  File "/usr/lib/entropy/lib/entropy/db/sqlite.py", line 54, in execute
   
  File "/usr/lib/entropy/lib/entropy/db/sql.py", line 179, in _proxy_call
   
entropy.db.exceptions.OperationalError: disk I/O error
ramtechmain ramtech #


http://pastebin.sabayon.org/pastie/10695
Sabayon 9 x64 KDE
Ramiliez
Simple Hen
 
Posts: 58
Joined: Tue Jun 17, 2008 19:51

Re: Equo upgrade fails

Postby joost » Fri Sep 28, 2012 22:47

gtk-update-icon-cache: Failed to write cache file: Input/output error

Looks more like a hardware problem your end. Your HD might be at the end of it's life cycle?
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Equo upgrade fails

Postby Ramiliez » Sun Sep 30, 2012 23:37

It might be however Smartctl looks OK to me before you say that SMART is not completely reliable isnt there possibility that this is a Sabayon bug? i had similar problem with my second HD753LJ

Code: Select all
ramtechmain ramtech # smartctl -a /dev/sda
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0-sabayon] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F1 DT
Device Model:     SAMSUNG HD753LJ
Serial Number:    S13UJ1NQ214848
LU WWN Device Id: 5 0000f0 000128484
Firmware Version: 1AA01108
User Capacity:    750 156 374 016 bytes [750 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3b
Local Time is:    Mon Oct  1 00:36:32 2012 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (11748) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 197) minutes.
Conveyance self-test routine
recommended polling time:        (  21) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   077   077   011    Pre-fail  Always       -       7640
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       949
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       6
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   015    Pre-fail  Offline      -       10627
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       15511
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   000    Old_age   Always       -       1
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       906
 13 Read_Soft_Error_Rate    0x000e   100   100   000    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   099    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   080   063   000    Old_age   Always       -       20 (Min/Max 11/21)
194 Temperature_Celsius     0x0022   079   061   000    Old_age   Always       -       21 (Min/Max 11/22)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       121568
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   099   099   000    Old_age   Always       -       4303
201 Soft_Read_Error_Rate    0x000a   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     15509         -
# 2  Short offline       Aborted by host               00%     15188         -
# 3  Short offline       Aborted by host               00%     15007         -
# 4  Extended offline    Aborted by host               00%     12644         -

Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Sabayon 9 x64 KDE
Ramiliez
Simple Hen
 
Posts: 58
Joined: Tue Jun 17, 2008 19:51

Previous

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests