Forum
dpkg error when running apt-get upgrade. - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: dpkg error when running apt-get upgrade. (/thread-1391.html)

Pages: 1 2 3 4


RE: dpkg error when running apt-get upgrade. - Ghwomb - 17th Oct, 2013 02:09 AM

(17th Oct, 2013 01:13 AM)Skywatch Wrote:  I have reflashed to an earlier image and that at least works for me.

Well, I don't want to reflash since I'll loose all my tweaks, settings, addons mounts and so forth. But perhaps that is what it will come to. Or I will just spend the time on configuring Plex Media Server on my FreeNAS instead.


RE: dpkg error when running apt-get upgrade. - Skywatch - 17th Oct, 2013 02:44 AM

Using the Xbian installer you can take an image with all your settings and tweaks and it's really easy to reflash that and all is back as it should be.

I hope this helps.

FWIW I tried again to upgrade but the problem this time was that the pi stuck on the 'rebooting' message and I had to power off and now am reflashing the card again.

Skywatch


RE: dpkg error when running apt-get upgrade. - numanoids - 18th Oct, 2013 12:43 AM

I'm trying to get Beta 2 installed. Hit the initscripts problem which this thread has a linkt to the fix for - applied the fix and it broke ssh. Sterling effort. Rolling back to Beta 1.1. Was hoping for good things for Beta 2 but if getting there is so problematic I might as well stick with 1.


RE: dpkg error when running apt-get upgrade. - mk01 - 18th Oct, 2013 01:09 AM

The only link in this thread for initscripts issue caused by two days old deb upgrades from Upstream is not in any way related to Beta2. Beta2 has no use of mountall.* scripts as it uses mountall daemon and upstart.

Mountall.* files in init.d directory are only .placeholders to provide backward compatibility and specialities like the problematic checkfs.sh and others this kind are in Beta2 missing completely.

Also core services like for instance ssh are in Beta2 not dependent on sysv script dependencies / runlevels in any way - it can't get broken this way.

For sure you will hit the issue if updating to Beta2 after the Debian packages were released - because the system is not Beta2 yet. In that case you can happily leave package unconfigured dpkg should be able to roll other packages. Once beta2 finishes install the initscripts package should be pass configuration step without problems.


RE: dpkg error when running apt-get upgrade. - numanoids - 18th Oct, 2013 02:04 AM

since initscripts is being updated as part of the apt-get upgrade step, no other packages are upgraded. Show stopper?


RE: dpkg error when running apt-get upgrade. - mk01 - 18th Oct, 2013 02:52 AM

Guys, anyone, just send me to back to an English lessons if it is so hard to understand me.

I will not repeat the details for fourth time, so only in general.
1) you starts upgrade (apt-get upgrade)
2) apt-get interrupts with initscripts issue
3) you do the two steps I wrote to three different forums
4) you run apt-get upgrade again (to continue)

It is second last sentence in my post above. Unconfigured package (but unpacked) the system is not issue .
As you correct the problem (point (3)) - restarts the process - apt will simply configure the unconfigured package (initscripts) and upgrade continues.

and don't tell me it's not like this.

my upgrade step finished and now install xbian update is running

Friends? Smile


RE: dpkg error when running apt-get upgrade. - Skywatch - 18th Oct, 2013 06:54 PM

This is why I think it would be less trouble to have a section on the main page with all the latest instructions on the current updates and how to do them.

Currently there is no reference point I can see on this site for this or known problems. Maybe it's just me and I am not looking in the right place?

Skywatch


RE: dpkg error when running apt-get upgrade. - kriticar - 19th Oct, 2013 05:01 AM

(30th Sep, 2013 12:19 PM)mk01 Wrote:  ok, do it like you would be XBMC - if it is telling you it has some, we can ask the same way.

Code:
sudo -i
xbian-config updates updatedb (if you get 0 as result, it is strange bug, if you get 1, continue)
xbian-config updates list upgrades
xbian-config updates list packages

This is what I got:

pi@rpi:~$ sudo -i
root@rpi:~# whoami
root
root@rpi:~# xbian-config updates updatedb
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: mirror://apt.xbian.org wheezy Release: The following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/wheezy/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
1

I am on beta1.1

Regards.


RE: dpkg error when running apt-get upgrade. - danell - 19th Oct, 2013 06:15 AM

I got this problem yesterday and I found a fix on the internet, today my system froze and didn't want to boot xbian again so I reinstalled all and updated and got the same problem again, but I can't find where I found the fix anymore Sad
What the fix was that I edited some file in the system where all the packages were listed in (guessing somewhere in /etc/init.d/) with information and a lot so I had to go trough pages and pages of text until I found initscripts and deleted all text that was about it, saved the file and did apt-get upgrade and everything went perfect again!

I'm still searching after this page and if I find it I'll post it here.

EDIT: FOUND IT! It was a link in a link in a post about around the same problem...
How to do:
nano /var/lib/dpkg/status
search for "Package: initscripts"
remove ALL lines under that is about this package
save and run apt-get install -f
if you want, run apt-get clean; apt-get update; apt-get upgrade to get all updated and ready to go Smile


RE: dpkg error when running apt-get upgrade. - mk01 - 19th Oct, 2013 06:30 AM

(19th Oct, 2013 05:01 AM)kriticar Wrote:  W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/wheezy/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
1

I am on beta1.1

Regards.

what happens if the /etc/apt/sources.list file gets changed specifically line
Code:
deb mirror://apt.xbian.org/mirror.txt wheezy main

for

Code:
deb http://xbian.brantje.com wheezy main


?


RE: dpkg error when running apt-get upgrade. - MarvinTheRobot - 28th Oct, 2013 10:08 PM

did an "apt-get install apt" today after updating with apt-get update (with errors)

still getting errors - is xbian.dehakkelaar.nl down?
Terminal

Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en_US
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Hit http://www.mirrorservice.org/sites/apt.xbian.org wheezy Release.gpg
Hit http://www.mirrorservice.org/sites/apt.xbian.org wheezy Release
Err http://www.mirrorservice.org/sites/apt.xbian.org wheezy/main armhf Packages
Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]
Err http://www.mirrorservice.org/sites/apt.xbian.org wheezy/main Translation-en_US
Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]
Err http://www.mirrorservice.org/sites/apt.xbian.org wheezy/main Translation-en
Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]
W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/wheezy/main/binary-armhf/Packages Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]

W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/wheezy/main/i18n/Translation-en_US Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]

W: Failed to fetch mirror://apt.xbian.org/mirror.txt/dists/wheezy/main/i18n/Translation-en Unable to connect to xbian.dehakkelaar.nl:http: [Mirror: http://xbian.dehakkelaar.nl/]

E: Some index files failed to download. They have been ignored, or old ones used instead.



RE: dpkg error when running apt-get upgrade. - mk01 - 31st Oct, 2013 04:17 PM

(28th Oct, 2013 10:08 PM)MarvinTheRobot Wrote:  did an "apt-get install apt" today after updating with apt-get update (with errors)

still getting errors - is xbian.dehakkelaar.nl down?

@MarvinTheRobot

apt system was also part of the updates and it seems since then there is problem with "mirror://xxx" records in sources.list. for some it works, for others not.

http://forum.xbian.org/thread-1391-post-16615.html#pid16615

can you change accordingly and report back ?


RE: dpkg error when running apt-get upgrade. - MarvinTheRobot - 31st Oct, 2013 10:17 PM

hi!

changed the mirror in sources.list - now an update works. unfortunately apt-get upgrade breaks my initscripts (i've read about that in another thread) - so i did a fresh install from scratch -> happy for now Wink

thx!


RE: dpkg error when running apt-get upgrade. - mk01 - 31st Oct, 2013 10:18 PM

(31st Oct, 2013 10:17 PM)MarvinTheRobot Wrote:  changed the mirror in sources.list - now an update works. unfortunately apt-get upgrade breaks my initscripts (i've read about that in another thread) - so i did a fresh install from scratch -> happy for now Wink

http://forum.xbian.org/thread-1718.html


RE: dpkg error when running apt-get upgrade. - kriticar - 13th Nov, 2013 05:23 PM

Hi,

After putting deb http://xbian.brantje.com wheezy main into sources, I managed to update/upgrade xbian 1.0 beta 1.1.
Now everything works well except that when I execute in shell "sudo poweroff" my rpi is restarted instead of poweroff.

Does anyone know why?

Regards.