dpkg error when running apt-get upgrade.
|
15th Oct, 2013, 10:06 PM
Post: #16
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
Did that, thanks. Sorry but i was mixing up issues. Updates are ok now, but i still get the below when upgrading (and similar when trying to install dev package via the config shell)
Terminal 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) |
|||
15th Oct, 2013, 10:43 PM
Post: #17
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
15th Oct, 2013, 11:27 PM
Post: #18
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
Thanks! Should have found that thread myself
|
|||
15th Oct, 2013, 11:48 PM
Post: #19
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
don't blame yourself.
the "issue" was caused by yesterday's Debian's Wheezy 7.2 and only today are starting people to report. (who hit the issue). Even my comment was 1h old. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Oct, 2013, 04:35 AM
Post: #20
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(15th Oct, 2013 09:18 PM)mk01 Wrote: ok, can you recheck the pgp key stored in system? or reimport with Did not work for me. I can upgrade packets recieved from http://mirrordirector.raspbian.org/raspbian/ wheezy/main but not the xbian server. Is there another server we can try? |
|||
16th Oct, 2013, 04:57 AM
Post: #21
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(16th Oct, 2013 04:35 AM)Ghwomb Wrote: Did not work for me. I can upgrade packets recieved from http://mirrordirector.raspbian.org/raspbian/ wheezy/main but not the xbian server. Is there another server we can try? the standard entry Code: deb mirror://apt.xbian.org/mirror.txt wheezy main is a list of mirrors itself. going the other way around comment it out and try direct approach: Code: deb http://xbian.brantje.com wheezy main Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Oct, 2013, 05:33 AM
Post: #22
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
I commented out everything except
Code: deb http://xbian.brantje.com wheezy main Now I can download the new packages but something is breaking the update:a Terminal root@Smultron:/home/xbian# apt-get update Hit http://xbian.brantje.com wheezy Release.gpg Hit http://xbian.brantje.com wheezy Release Hit http://archive.raspberrypi.org wheezy Release.gpg Hit http://xbian.brantje.com wheezy/main armhf Packages Hit http://archive.raspberrypi.org wheezy Release Hit http://archive.raspberrypi.org wheezy/main armhf Packages Ign http://xbian.brantje.com wheezy/main Translation-en Ign http://archive.raspberrypi.org wheezy/main Translation-en Reading package lists... Done root@Smultron:/home/xbian# apt-get -u -o APT::Force-LoopBreak=1 install xbian-update Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: xbian-update : Depends: xbian-package-zram-swap (>= 1.0-2) but it is not going to be installed PreDepends: kbd but it is not installable PreDepends: xbian-package-config-xbmc (>= 1.1-1) but 1.0 is to be installed PreDepends: xbian-package-xbmc (>= 2.3-0.2) but 2.2 is to be installed PreDepends: xbian-package-kernel (>= 1.2-1) but it is not going to be installed PreDepends: libc-bin (>= 2.13-38+rpi2) but 2.13-37+rpi1 is to be installed PreDepends: libc-dev-bin (>= 2.13-38+rpi2) but 2.13-37+rpi1 is to be installed PreDepends: libc6 (>= 2.13-38+rpi2) but 2.13-37+rpi1 is to be installed PreDepends: libc6-dev (>= 2.13-38+rpi2) but 2.13-37+rpi1 is to be installed PreDepends: libafpclient0 but it is not installable PreDepends: python-sqlite but it is not installable PreDepends: btrfs-tools but it is not installable PreDepends: upstart but it is not installable PreDepends: mountall but it is not installable PreDepends: plymouth but it is not installable PreDepends: btrfs-tools but it is not installable PreDepends: xbian-package-config-shell (>= 2.1.3-1) but 2.0 is to be installed PreDepends: xbian-package-cec (>= 1.1-0.2) but 1.0 is to be installed PreDepends: xbian-package-splash (>= 1.0-0.6) but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@Smultron:/home/xbian# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: xbian-package-cec xbian-package-config-shell xbian-package-config-xbmc xbian-package-kernel3.6.11 xbian-package-xbmc xbian-update 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. |
|||
16th Oct, 2013, 06:20 AM
Post: #23
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
while looking at your package versions and http://archive.raspberrypi.org as source …
what version of XBIAN are you running? this looks very very old. btw: XBian repo is not providing ALL packages, it is just supplement to underlying distro (raspbian) so you beside deb http://xbian. ……. you need also the repo for raspbian. currently it is Code: deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi that's why i'm a bit confused about package lists from http://archive.raspberrypi.org your XBian still has. add the second repo I posted and do "apt-get clean" before update. and try again. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Oct, 2013, 07:07 AM
Post: #24
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(16th Oct, 2013 06:20 AM)mk01 Wrote: while looking at your package versions and http://archive.raspberrypi.org as source …I am on XBian 1.0 Alpha 5. But there has always been packages held back. So that might explain the old packages. Since, almost, everything worked I have not reported any problems. Quote:you need also the repo for raspbian. currently it is I uncommented the repo you suggested. Now the packages downloads and the upgrade starts. Apt refused to go past Quote:To continue type in the phrase 'Yes, do as I say!'. But after a few apt-clean and apt-upgrade it worked! Thanks a lot for all the help! Just a note that the upgrade is not finished yet. Currently it is "rebalancing filesystem". So perhaps there will be panic in my next post. But so far so good! If everything completes without further ado I'll try to post a summary of all the steps. |
|||
16th Oct, 2013, 08:10 AM
Post: #25
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
if you are on Alpha5 and are doing upgrade, filesystem will be converted to btrfs. this can take a while !
actually if it rebalances already, it is converted. rebalance can be a long process too, so wait a bit. @Ghwomb I don't want make noise before the storm comes, but apt-get upgrade never installs kept-back packages. they needs to be specified by Code: apt-get install [list all kept back packages] so even if finally dependencies matched for you and something has been installed, maybe it won't be full install as was mean to be. important moment would be to boot, then you can issue apt-get update & upgrade again and install kept back with apt-get install . there is a thread somewhere describing the command which would allow upgrading all package in one step. If I remember correctly it was apt-get install xbian-update (with force -y and the -o loop). just last note, beta2 is highly recommended over beta1.1 and I even think more milage with testing and even with direct upgrade from alpha5 directly to beta2. anyhow report back. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Oct, 2013, 08:49 AM
Post: #26
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(16th Oct, 2013 08:10 AM)mk01 Wrote: anyhow report back. Everything went smooth. Although it was strange to see btrfs used. I did apt-get update and apt-get upgrade after. No report about anything kept back and the only thing that was upgraded was the kernel. The various steps, in some kind of order. Read the thread for more information. I don't have the time to try to replicate the whole ordeal.
As stated before: the upgrade will take some time so don't panic; take another coffee instead! |
|||
16th Oct, 2013, 11:55 PM
Post: #27
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
OK I just tried this and now I am stuck at 'closing xbmc' for half an hour. Is this normal? Can I safely unplug the power and restart?
OK I just tried this and now I am stuck at 'closing xbmc' for half an hour. Is this normal? Can I safely unplug the power and restart? |
|||
17th Oct, 2013, 12:57 AM
Post: #28
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(16th Oct, 2013 11:55 PM)Skywatch Wrote: OK I just tried this and now I am stuck at 'closing xbmc' for half an hour. Is this normal? Can I safely unplug the power and restart? That did not happen to me and I don't have clue what is happening. I have a problem of my own. After a few (second ?) restart it is now stuck on init process... Currently researching forums for a solution. |
|||
17th Oct, 2013, 01:12 AM
Post: #29
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
(17th Oct, 2013 12:57 AM)Ghwomb Wrote: restart it is now stuck on init process... remove splash from /boot/cmdline.txt you will see error log on screen. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
17th Oct, 2013, 01:13 AM
Post: #30
|
|||
|
|||
RE: dpkg error when running apt-get upgrade.
You are not alone!
The 'stuck on init process' is what I saw as well. It powered off and restarted OK. On reboot it stalled again, then after that it won't reboot as it sticks at init around the 40% mark. I have reflashed to an earlier image and that at least works for me. Skywatch |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] "GPG error" when running apt-get update | Anonymized_GDPR | 2 | 10,849 |
16th Nov, 2013 10:57 PM Last Post: Anonymized_GDPR |