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

dpkg error when running apt-get upgrade.
Thank you for your donation

Pages (4): 1 2 3 4 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
dpkg error when running apt-get upgrade.
24th Sep, 2013, 10:32 AM
Post: #1
agent5150 Offline
Registered
Posts: 67
Joined: Dec 2012
Reputation: 1
dpkg error when running apt-get upgrade.
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:~#
Find all posts by this user
Quote this message in a reply
24th Sep, 2013, 10:19 PM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: dpkg error when running apt-get upgrade.
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

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
25th Sep, 2013, 09:15 AM
Post: #3
agent5150 Offline
Registered
Posts: 67
Joined: Dec 2012
Reputation: 1
RE: dpkg error when running apt-get upgrade.
(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.
Find all posts by this user
Quote this message in a reply
25th Sep, 2013, 09:03 PM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: dpkg error when running apt-get upgrade.
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
26th Sep, 2013, 08:48 AM
Post: #5
agent5150 Offline
Registered
Posts: 67
Joined: Dec 2012
Reputation: 1
RE: dpkg error when running apt-get upgrade.
Did that... nothing to upgrade. Smile
Find all posts by this user
Quote this message in a reply
30th Sep, 2013, 12:19 PM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: dpkg error when running apt-get upgrade.
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

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
1st Oct, 2013, 02:51 PM
Post: #7
kriticar Offline
Registered
Posts: 23
Joined: Sep 2013
Reputation: 1
RE: dpkg error when running apt-get upgrade.
(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.
Find all posts by this user
Quote this message in a reply
1st Oct, 2013, 08:45 PM
Post: #8
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: dpkg error when running apt-get upgrade.
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 ?

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
9th Oct, 2013, 02:29 AM
Post: #9
Ghwomb Offline
Registered
Posts: 9
Joined: May 2013
Reputation: 1
RE: dpkg error when running apt-get upgrade.
(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.
Find all posts by this user
Quote this message in a reply
11th Oct, 2013, 04:49 PM
Post: #10
MarvinTheRobot Offline
Registered
Posts: 19
Joined: Feb 2013
Reputation: 2
RE: dpkg error when running apt-get upgrade.
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
Find all posts by this user
Quote this message in a reply
11th Oct, 2013, 07:11 PM
Post: #11
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: dpkg error when running apt-get upgrade.
(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
Find all posts by this user
Quote this message in a reply
15th Oct, 2013, 06:49 PM
Post: #12
Alexkvw Offline
Registered
Posts: 4
Joined: Oct 2013
Reputation: 0
RE: dpkg error when running apt-get upgrade.
I get the same error, any solution found yet?
Find all posts by this user
Quote this message in a reply
15th Oct, 2013, 07:14 PM
Post: #13
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: dpkg error when running apt-get upgrade.
can you please post content of /etc/apt/sources.list ?

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
15th Oct, 2013, 09:14 PM
Post: #14
Alexkvw Offline
Registered
Posts: 4
Joined: Oct 2013
Reputation: 0
RE: dpkg error when running apt-get upgrade.
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
Find all posts by this user
Quote this message in a reply
15th Oct, 2013, 09:18 PM
Post: #15
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: dpkg error when running apt-get upgrade.
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 ?

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
« Next Oldest | Next Newest »
Pages (4): 1 2 3 4 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] "GPG error" when running apt-get update Anonymized_GDPR 2 11,371 16th Nov, 2013 10:57 PM
Last Post: Anonymized_GDPR

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

Current time: 9th May, 2025, 11:30 AM Powered By MyBB, © 2002-2025 MyBB Group.