Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Error everytime i try to upgrade Python
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Error everytime i try to upgrade Python
17th Oct, 2013, 10:18 AM
Post: #1
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
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 Sad

"
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 Smile
Find all posts by this user
Quote this message in a reply
17th Oct, 2013, 11:00 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Error everytime i try to upgrade Python
http://forum.xbian.org/thread-1031-post-16448.html#pid16448

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Oct, 2013, 01:32 AM
Post: #3
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
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 Sad

Thks mk01
Find all posts by this user
Quote this message in a reply
18th Oct, 2013, 02:07 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
insserv -fr dbus
rm -f /etc/init.d/dbus

for ssh there wasn't upstart script present at that time so I would try (after solving the dbus)
Code:
sudo -i
insserv -f ssh

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
Find all posts by this user
Quote this message in a reply
18th Oct, 2013, 02:11 AM
Post: #5
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
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
Code:
sudo -i
insserv -fr dbus
rm -f /etc/init.d/dbus

for ssh there wasn't upstart script present at that time so I would try (after solving the dbus)
Code:
sudo -i
insserv -f ssh

let's see what you get (error).

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 :/
Find all posts by this user
Quote this message in a reply
18th Oct, 2013, 09:24 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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" Smile

but those are more funny like the real bugs Wink

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Oct, 2013, 11:00 AM
Post: #7
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Error everytime i try to upgrade Python
(18th Oct, 2013 09:24 AM)mk01 Wrote:  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" Smile

but those are more funny like the real bugs Wink

thks for the info mate Smile. 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. Big Grin
Find all posts by this user
Quote this message in a reply
19th Nov, 2013, 09:35 PM
Post: #8
alfaromeo Offline
Registered
Posts: 14
Joined: Nov 2013
Reputation: 0
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 Undecided

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 Sad

Can you please help me?!
I just set up the system perfectly and don't want to wipe it Undecided


EDIT: I also cannot access my NAS Drive through MSB anymore -.-
Find all posts by this user
Quote this message in a reply
21st Nov, 2013, 06:58 AM
Post: #9
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
cd /tmp
wget http://xbian.brantje.com/pool/beta1/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
sync

then reboot

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
21st Nov, 2013, 08:57 PM
Post: #10
alfaromeo Offline
Registered
Posts: 14
Joined: Nov 2013
Reputation: 0
RE: Error everytime i try to upgrade Python
deleted (Click to View)
(21st Nov, 2013 06:58 AM)mk01 Wrote:  @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
cd /tmp
wget http://xbian.brantje.com/pool/beta1/main/x/xbian-update/xbian-update_1.0-1.2_armhf.deb
dpkg -i xbian-update_1.0-1.2_armhf.deb
sync

then reboot

Thank you.
So I went into Settings - XBian in the XBMC GUI (because I cannot access console - see above) and go to updates.
Under "XBian" it says "up-to-date". But there are several packages available for update. But nothing with "1.0-1.2"... just:
Code:
xbian-package-firmware 1.4-7
xbian-package-libshairport 1.0-1
xbian-package-libtag 1.0-2
xbian-package-lirc 1.4-8.8
But when I install them, it says "successful" but after a reboot all the updates are available again.
And SSH still doesn't work :/


EDIT: System Info says "1.0Beta1.1"

EDIT2: Updated every package solo and reboot every time. After update of "xbian-package-libshairport 1.0-1" the Pi doesn't boot anymore!! Last thing on screen is "Setting kernel variables....done" then the screen flashes for a second and the black screen white font stays there forever Sad
Forget it, I will wipe and install Beta 2 right away...
Thank you anyway!!
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] RPi1 upgrade error today. Skywatch 16 32,345 1st Apr, 2016 05:14 AM
Last Post: Skywatch
  [PROBLEM] Package upgrade error Eruurk 3 11,176 17th Jan, 2015 12:32 AM
Last Post: CurlyMo
  dpkg error while installing xbian-update/firmware during apt-get upgrade n1ght28 3 12,196 16th Nov, 2014 03:25 AM
Last Post: mk01
  [SOLVED] Error when updating python via apt mc-denmark 3 10,999 19th Apr, 2014 09:18 PM
Last Post: mc-denmark
  Apt-get raspbian python error jrmiscs 3 10,628 13th Jan, 2014 05:59 AM
Last Post: IriDium
  initscripts apt-get upgrade error markosjal 6 27,995 28th Oct, 2013 09:37 AM
Last Post: Exnor

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 09:22 AM Powered By MyBB, © 2002-2025 MyBB Group.