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


dpkg error when running apt-get upgrade. - agent5150 - 24th Sep, 2013 10:32 AM

Hopeing someone can help with my problem. Please see the error at the end:

root@xbian:~# apt-get update
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://dikonist.asuscomm.com wheezy Release.gpg
Hit http://dikonist.asuscomm.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy/main Sources
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://dikonist.asuscomm.com wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib Sources
Hit http://mirrordirector.raspbian.org wheezy/non-free Sources
Hit http://mirrordirector.raspbian.org wheezy/rpi Sources
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://xbian.brantje.com/ wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://xbian.brantje.com/ wheezy Release
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://xbian.brantje.com/ wheezy/main 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://dikonist.asuscomm.com wheezy/main Translation-en_US
Ign http://dikonist.asuscomm.com wheezy/main Translation-en
Ign http://xbian.brantje.com/ wheezy/main Translation-en_US
Ign http://xbian.brantje.com/ 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
Reading package lists... Done
root@xbian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
xbian-package-config-shell xbian-package-config-xbmc
xbian-package-initramfs-tools xbian-package-kernel xbian-package-splash
xbian-package-xbmc xbian-update
The following packages will be upgraded:
btrfs-tools
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/1,318 kB of archives.
After this operation, 385 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Sub-process /usr/bin/dpkg exited unexpectedly
root@xbian:~#


RE: dpkg error when running apt-get upgrade. - IriDium - 24th Sep, 2013 10:19 PM

What release are you on, and what are you trying to upgrade too?

You seem to have a mishmash of sources. Koens and Branje so it's a wonder anything works at all :-)

For a standard install your sources.list should look like this:
Terminal
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main



RE: dpkg error when running apt-get upgrade. - agent5150 - 25th Sep, 2013 09:15 AM

(24th Sep, 2013 10:19 PM)IriDium Wrote:  What release are you on, and what are you trying to upgrade too?

You seem to have a mishmash of sources. Koens and Branje so it's a wonder anything works at all :-)

For a standard install your sources.list should look like this:
Terminal
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main

I am on beta 1.1.
I am getting "some updates are available" popup on my xbian that is why I ran the update/upgrade commands and btrfs-tools has a new version.

my sources are these:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://dikonist.asuscomm.com:82/XBian/APT/ wheezy main

I think I added dikonist.asuscomm.com when I updated to 1.1 as a hotfix before it was released.

Not sure where's Barnje's source is coming from.. I don;t have it in my sources list. must be a redirect or something.


RE: dpkg error when running apt-get upgrade. - IriDium - 25th Sep, 2013 09:03 PM

I'd change your sources back to the standard and then run as root;

apt-get clean;apt-get update;apt-get -s upgrade

and post the results if there any errors. If none, apt-get upgrade.


RE: dpkg error when running apt-get upgrade. - agent5150 - 26th Sep, 2013 08:48 AM

Did that... nothing to upgrade. Smile


RE: dpkg error when running apt-get upgrade. - mk01 - 30th Sep, 2013 12:19 PM

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



RE: dpkg error when running apt-get upgrade. - kriticar - 1st Oct, 2013 02:51 PM

(25th Sep, 2013 09:03 PM)IriDium Wrote:  I'd change your sources back to the standard and then run as root;

apt-get clean;apt-get update;apt-get -s upgrade

and post the results if there any errors. If none, apt-get upgrade.

After sudo apt-get clean; sudo apt-get update I got:

pi@rpi:~$ sudo apt-get clean; sudo apt-get update
Get:1 http://archive.raspberrypi.org wheezy Release.gpg [490 B]
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Get:2 http://xbian.dehakkelaar.nl/ wheezy Release.gpg [3,639 B]
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://xbian.dehakkelaar.nl/ wheezy Release
Err mirror://apt.xbian.org wheezy Release

Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib 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
Fetched 4,129 B in 4s (977 B/s)
Reading package lists... Done
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.

Does anyoune know what would be the reason?

Regards.


RE: dpkg error when running apt-get upgrade. - mk01 - 1st Oct, 2013 08:45 PM

it looks you just hit the few hours where our service provider was not available. due to power loss.

it will be that.

can you apt-get update now ?


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

(1st Oct, 2013 08:45 PM)mk01 Wrote:  it looks you just hit the few hours where our service provider was not available. due to power loss.

it will be that.

can you apt-get update now ?

I can apt-get update[/quote] after a few re-tries. But i still get the error:

Terminal
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

Seems like there is a problem with the package signing or with the local keychain.


RE: dpkg error when running apt-get upgrade. - MarvinTheRobot - 11th Oct, 2013 04:49 PM

hi there, i'm still getting errors while running apt-get update (i have the newest xbian package installed on a fresh SD card...)
Code:
Hit http://archive.raspberrypi.org wheezy Release.gpg
Get:1 http://download.telldus.com stable Release.gpg [198 B]
Hit http://mirrordirector.raspbian.org wheezy Release.gpg                  
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Get:2 http://download.telldus.com stable Release [2,367 B]
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages              
Get:3 http://xbian.dehakkelaar.nl/ wheezy Release.gpg [3,639 B]                
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages          
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages        
Get:4 http://xbian.dehakkelaar.nl/ wheezy Release [3,639 B]          
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages              
Err mirror://apt.xbian.org wheezy Release              

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
Fetched 6,205 B in 4s (1,306 B/s)
Reading package lists... Done
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

any help would be really appreciated


RE: dpkg error when running apt-get upgrade. - Skywatch - 11th Oct, 2013 07:11 PM

(1st Oct, 2013 02:51 PM)kriticar Wrote:  Reading package lists... Done
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.

I get the same! - Tried it yesterday and today, same issue both times....

Skywatch


RE: dpkg error when running apt-get upgrade. - Alexkvw - 15th Oct, 2013 06:49 PM

I get the same error, any solution found yet?


RE: dpkg error when running apt-get upgrade. - mk01 - 15th Oct, 2013 07:14 PM

can you please post content of /etc/apt/sources.list ?


RE: dpkg error when running apt-get upgrade. - Alexkvw - 15th Oct, 2013 09:14 PM

The content of the sources.list:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main


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

ok, can you recheck the pgp key stored in system? or reimport with

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/xbian.gpg.key
apt-key add ./xbian.gpg.key

you should see OK after.

then apt-get clean; apt-get update ?