Forum

Full Version: dpkg error when running apt-get upgrade.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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:~#
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
(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.
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.
Did that... nothing to upgrade. Smile
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
(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.
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 ?
(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.
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
(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
I get the same error, any solution found yet?
can you please post content of /etc/apt/sources.list ?
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
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 ?
Pages: 1 2 3 4
Reference URL's