Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ckosloffOffline
15 Post subject: (solved) No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 01:49



Joined: 2011-08-16
Posts: 118
Location: Florida, USA
Status: Offline
In /etc/apt/sources.list.d I added file virtualbox.list with this one entry:
deb http://download.virtualbox.org/virtualbox/debian/ squeeze contrib non-free
apt-get update yields GPG error.
NO_PUBKEY 54422A4B98AB5139
How fix, please?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
hubiOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 02:16
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
As root:
      Code:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
And then
      Code:

apt-get update

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
slamOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 07:01
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
Stop!
Virtualbox is included and maintained in Debian sid directly - adding a 3rd party repository is not needed amd not recommended. Remove it again, and do:
      Code:
apt-get update && apt-get install virtualbox-qt virtualbox-source virtualbox-guest-additions-iso dmakms
Add virtualbox-source to /etc/default/dmakms in order to have the kernel module automaticly rebuild after every kernel update.
Greetings,
Chris
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
pumrelOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 12:40



Joined: 2010-09-14
Posts: 117
Location: Czech Republic
Status: Offline
But the Oracle's Virtualbox and the Virtualbox OSE in our repositories are not the same.

_________________
Petr
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ckosloffOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 13:08



Joined: 2011-08-16
Posts: 118
Location: Florida, USA
Status: Offline
I loaded the pubkey with hubi's instructions OK, apt-get update OK.
However, never got to install anything after that, because I saw slam's warning.
I did as slam said because I did not notice any difference after having the Oracle repo installed, so I uninstalled it.
Both virtualbox and virtualbox-ose are in repo.
Now, if I install virtualbox-qt it will uninstall virtualbox 4.1.2-73507, which is latest version from Oracle for Debian, and install an older version of virtualbox, which is dfsg.
Basically, all other available packages are for dfsg version, only Oracle package is the one mentioned.
There is a mix-up in repo, that is why I thought of downloading the latest version from Oracle and installing with gdebi.
Your suggestions?

_________________
http://www.flux.org/members.php?id=94
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
hubiOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 16:29
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
I don't know what's the difference. Two years ago or so it was all about handling USB. If you pull virtualbox from Debian, forget the packages with -ose, they are just metapackages as it's called virtualbox in Debian as well now. Debian packages should build with new kernels all the time, I am not sure about those from Oracle.

I switched from the Oracle packages to the Debian packages half a year ago, I cannot see any differences for what I am using the VM. But I don't use USB devices with that box inside the VM.

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
towoOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 17:39



Joined: 2010-09-13
Posts: 500
Location: Pößneck / Thüringen
Status: Offline
There is no difference besides the Version and the packaging.
So, if non-free features are needed (usb2, vbox-rdp), then in both versions is need to install the extpack.
I see no reason anymore for using the packages from virtualbox.org.
 
 View user's profile Send private message  
Reply with quote Back to top
pumrelOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 20.08.2011, 18:22



Joined: 2010-09-14
Posts: 117
Location: Czech Republic
Status: Offline
You're right.
It is describe here - http://www.virtualbox.org/wiki/Editions
I didn't notice this change.

_________________
Petr
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ckosloffOffline
Post subject: RE: No-pubkey error on virtualbox repo  PostPosted: 21.08.2011, 02:28



Joined: 2011-08-16
Posts: 118
Location: Florida, USA
Status: Offline
Actually there is no difference in packages offered, both the Oracle website and the repo offer virtualbox-4.1_4.1.2-73507~Debian~squeeze...according to architecture.
What I am saying is that if I follow slam's suggestion, packages will conflict and the above mentioned version will be removed.
@ towo: if I install guest-additions-iso from repo it will conflict.
This is what I did on another Linux distro, I simply downloaded from virtualbox.org and installed with Gdebi, never had an issue with pubkey either because was not even accessing their repo.
I installed all other needed packages same way, virtualbox has a link within itself to install guest additions.
When an update was released I was alerted and sent a link to download.
I installed right on top of previous version, did not even save appliances and everything worked fine.
I'm wondering what route to take...

_________________
http://www.flux.org/members.php?id=94
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
LatOffline
Post subject: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 21.08.2011, 04:24



Joined: 2010-09-19
Posts: 168

Status: Offline
      hubi wrote:
I switched from the Oracle packages to the Debian packages half a year ago
Well, I came late to the party then. I've been using Oracle's repo until now

slam suggest using dmakms. I can use module-assistant instead, right?

Also, if I'm switching to the Debian repo, should I restart so the module start working, or depmod should do the trick?
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject: RE: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 21.08.2011, 07:16
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
Of course you can manually use m-a, dmakms is "just" a script automating these tasks.
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
piperOffline
Post subject: RE: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 21.08.2011, 07:46
Moderator


Joined: 2010-09-11
Posts: 480
Location: cheektowaga, ny
Status: Offline
dmakms is great for nvidia & virtualbox Smile

_________________
debian sid | apt-get into it
 
 View user's profile Send private message  
Reply with quote Back to top
ckosloffOffline
Post subject: RE: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 22.08.2011, 00:35



Joined: 2011-08-16
Posts: 118
Location: Florida, USA
Status: Offline
Still confused.
I cannot add the guest additions from repo, without it uninstalling latest vbox version.
However, this will not happen if I download and install the extension pack from Oracle.
I can also install dkms from Oracle.
Bottom line, I cannot add extensions without creating a conflict, either I install extensions for one, and stick with the Debian repo only, or I take those packages from Oracle.
Finally, there are two versions of virtualbox in repo:
1.
The above mentioned virtualbox-4.1_4.1.2-73507~Debian~squeeze...according to architecture.
2.
virtualbox 4.1.0-dfsg-2
I don't think that:
'There is no difference besides the Version and the packaging...'
There must be some other difference because the extension pack detects 1. and attempts to uninstall it.
Somebody willing to shed some light on this issue?

_________________
http://www.flux.org/members.php?id=94
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
hubiOffline
Post subject: RE: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 22.08.2011, 01:10
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
Could you please use package names? Is "extension" and "addition" the same and does it mean "virtualbox-guest-additions-iso" from the Debian repository?

If yes: the conflict is correct because the guest additions are included in the package from Oracle. You'll find them in /usr/share/virtualbox/VBoxGuestAdditions.iso

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
ckosloffOffline
Post subject: RE: Re: RE: No-pubkey error on virtualbox repo  PostPosted: 22.08.2011, 02:18



Joined: 2011-08-16
Posts: 118
Location: Florida, USA
Status: Offline
@ hubi:
Yes, that is precisely what I was saying, when I used to download and install from virtualbox.org I never needed anything else, "virtualbox has a link within itself to install guest additions."
Regarding dkms, I can also download that from Oracle, but never needed it, dunno because I was using Linux Mint Main which is based on Ubuntu, not Debian.
Since then I moved to Linux Mint Debian, ditched Ubuntu, and from there to Aptosid and Debian itself.
Maybe I will have to add that in the case of a kernel upgrade.
Any other comment?

_________________
http://www.flux.org/members.php?id=94
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio