Problem: Error everytime i try to upgrade Python
|
17th Oct, 2013, 10:18 AM
Post: #1
|
|||
|
|||
Error everytime i try to upgrade Python
I'm Running Beta 1.1
on terminal i get this error everytime i try to upgrade Python " root@xbian2:/# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: python python-minimal tzdata 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/748 kB of archives. After this operation, 1,024 B disk space will be freed. Do you want to continue [Y/n]? y Preconfiguring packages ... Setting up initscripts (2.88dsf-41+deb7u1) ... insserv: Service checkfs has to be enabled to start service mountall insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing initscripts (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: initscripts E: Sub-process /usr/bin/dpkg returned an error code (1) " Any ideas guys? Thks to all |
|||
17th Oct, 2013, 11:00 AM
Post: #2
|
|||
|
|||
RE: Error everytime i try to upgrade Python
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
18th Oct, 2013, 01:32 AM
Post: #3
|
|||
|
|||
RE: Error everytime i try to upgrade Python
(17th Oct, 2013 11:00 AM)mk01 Wrote: http://forum.xbian.org/thread-1031-post-16448.html#pid16448 Ok your solution worked but (skip to the end)... "Code: sudo -i cp -av /etc/init.d /etc/init.d.bck rm /etc/init.d/mountall* insserv -f dpkg --configure initscripts " My CLI output: " root@xbian2:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: python python-minimal tzdata 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed. Need to get 0 B/748 kB of archives. After this operation, 1,024 B disk space will be freed. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 30239 files and directories currently installed.) Preparing to replace tzdata 2013c-0wheezy1 (using .../tzdata_2013d-0wheezy1_all. deb) ... Unpacking replacement tzdata ... Setting up tzdata (2013d-0wheezy1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Oct 17 15:13:29 UTC 2013. Universal Time is now: Thu Oct 17 15:13:29 UTC 2013. Run 'dpkg-reconfigure tzdata' if you wish to change it. (Reading database ... 30239 files and directories currently installed.) Preparing to replace python-minimal 2.7.3-4 (using .../python-minimal_2.7.3-4+deb7u1_all.deb) ... Unpacking replacement python-minimal ... Processing triggers for man-db ... Setting up python-minimal (2.7.3-4+deb7u1) ... (Reading database ... 30241 files and directories currently installed.) Preparing to replace python 2.7.3-4 (using .../python_2.7.3-4+deb7u1_all.deb) ... Unpacking replacement python ... Processing triggers for man-db ... Setting up python (2.7.3-4+deb7u1) ... Setting up libcups2:armhf (1.5.3-5+deb7u1) ... Setting up libsmbclient:armhf (2:3.6.6-6+deb7u1) ... Setting up samba (2:3.6.6-6+deb7u1) ... [ ok ] Starting Samba daemons: nmbd smbd. Setting up smbclient (2:3.6.6-6+deb7u1) ... root@xbian2:~# " Now SSH service does not autostart and when i try to reboot or shutdown it remains "stuck" on "closing xbmc".... i've tried to change the setting via xbmc gui but this new problem persists... Help please Thks mk01 |
|||
18th Oct, 2013, 02:07 AM
Post: #4
|
|||
|
|||
RE: Error everytime i try to upgrade Python
I was just putting the info in some other thread anyhow the stuck problem on reboot (shutdown) I remember as dbus script again present in /etc/rc{6,0}.d/ although Beta1.1 (not Beta1) has upstart script for it. I have just Beta1 by hand so can't be sure, but if you have /etc/init/dbus.conf present, do a
Code: sudo -i for ssh there wasn't upstart script present at that time so I would try (after solving the dbus) Code: sudo -i let's see what you get (error). Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
18th Oct, 2013, 02:11 AM
Post: #5
|
|||
|
|||
RE: Error everytime i try to upgrade Python
(18th Oct, 2013 02:07 AM)mk01 Wrote: I was just putting the info in some other thread anyhow the stuck problem on reboot (shutdown) I remember as dbus script again present in /etc/rc{6,0}.d/ although Beta1.1 (not Beta1) has upstart script for it. I have just Beta1 by hand so can't be sure, but if you have /etc/init/dbus.conf present, do a Ok thks MK, but i'm now trying to "update" to the so call beta .2... is this a good a idea or should i stick with the current 1.1 ? Any advice would be very much appreciated since the official thread is confusing :/ |
|||
18th Oct, 2013, 09:24 AM
Post: #6
|
|||
|
|||
RE: Error everytime i try to upgrade Python
yes, update.
1) it is not worse 2) as Beta1X is no more updated (I can't say supported as Beta2 is not out, but actually it is the same) you don't have guarantee (like with the latest update from Wheezy 7.2) something don't break off. so in human language - you shouldn't loose anything what makes you happy - and can sleep well without worries that your precious XBian will break and nobody will be there to fix it and believe me, sometimes it is confusing for me as well. but this sometimes happens during new sw testing because it is changing so much so nobody really know whether something is bug or feature and specially I like most one those with "all bad, help me all bad"… 1h hour later "sorry guys, this was my Windows8 SD card not running on RPI - my wife switched the cards" but those are more funny like the real bugs Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
18th Oct, 2013, 11:00 AM
Post: #7
|
|||
|
|||
RE: Error everytime i try to upgrade Python
(18th Oct, 2013 09:24 AM)mk01 Wrote: yes, update. thks for the info mate . After some troubles in the upgrade i've reflashed a new image and now is all good. iv'e got the latest beta 1.1 img on the site but after booting i've noticed some differences especially on the xbian config part... i've should add "updated" sooner lol But i was able to copy all my relevant settings from the old install to the new (got some probs that needed chmod to mode 777 on the .xbian and inner folders) and now it appears to be faster than before. Also got OC to High (go see my setup pics on the forum lol... dual fans and thermal dissipation on the SoC... temp never rises above 45º C according to the internal probes). Once again thanks for all the help. I'm really learning a lot just by "playing" with Xbian. |
|||
19th Nov, 2013, 09:35 PM
Post: #8
|
|||
|
|||
RE: Error everytime i try to upgrade Python
Hallo guys!
I had the same issue and tried the hint from your first reply mk01... But now I also can't connect to SSH and the system hangs during shutting down. I want to fix it now with your other tips, but how should I do that?? Where can I enter these commands? I can only navigate through XBMC. As soon as I exit XMBC it gets stuck on the shutting down screen I managed it to delete "splash" from cmdline.txt and now I can exit XBMC and I can enter code with my keyboard. But nothing happens when I do that Can you please help me?! I just set up the system perfectly and don't want to wipe it EDIT: I also cannot access my NAS Drive through MSB anymore -.- |
|||
21st Nov, 2013, 06:58 AM
Post: #9
|
|||
|
|||
RE: Error everytime i try to upgrade Python
@alfaromeo
if we are still talking about beta1X installation, then install beta1 hotfix 1.2. when you exit XBMC and logs into the console as xbian, run those commands: Code: sudo -i then reboot Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Nov, 2013, 08:57 PM
Post: #10
|
|||
|
|||
RE: Error everytime i try to upgrade Python
deleted (Click to View) Thank you anyway!! |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] RPi1 upgrade error today. | Skywatch | 16 | 30,688 |
1st Apr, 2016 05:14 AM Last Post: Skywatch |
|
[PROBLEM] Package upgrade error | Eruurk | 3 | 10,694 |
17th Jan, 2015 12:32 AM Last Post: CurlyMo |
|
dpkg error while installing xbian-update/firmware during apt-get upgrade | n1ght28 | 3 | 11,739 |
16th Nov, 2014 03:25 AM Last Post: mk01 |
|
[SOLVED] Error when updating python via apt | mc-denmark | 3 | 10,503 |
19th Apr, 2014 09:18 PM Last Post: mc-denmark |
|
Apt-get raspbian python error | jrmiscs | 3 | 10,160 |
13th Jan, 2014 05:59 AM Last Post: IriDium |
|
initscripts apt-get upgrade error | markosjal | 6 | 27,163 |
28th Oct, 2013 09:37 AM Last Post: Exnor |