gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5709d100.hantslug.org.uk.29754': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Fri Jun  6 14:35:17 2008 BST
gpg:                using DSA key 1E38DD6257A4363C
gpg: Can't check signature: No public key
On Fri, 2008-06-06 at 12:50 +0100, Richard Danter wrote:
> I have a .deb file (it's the PUEL version of VirtualBox) that I want
> to install on a headless server. dpkg -i reports lots of missing
> dependencies and of course dpkg can't go and resolve them from the
> usual repositories. Aptitude can get things from repositories but not
> install a local .deb file (or am I missing something?).
> 
Yup. The gdebi command :)
alan@box:~$ sudo gdebi virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb 
[sudo] password for alan: 
Reading package lists: 
Reading state information: Done
Reading state information: Done
Reading state information: Done
Requires the installation of the following packages: 
libdirectfb-1.0-0  libsdl1.2debian  libsdl1.2debian-alsa 
Sun xVM VirtualBox
 VirtualBox is a powerful PC virtualization solution allowing you to run
a
 wide range of PC operating systems on your Linux system. This includes
 Windows, Linux, FreeBSD, DOS, OpenBSD and others. VirtualBox comes with
a broad
 feature set and excellent performance, making it the premier
virtualization
 software solution on the market.
Do you want to install the software package? [y/N]:y
Done http://gb.archive.ubuntu.com hardy/main libdirectfb-1.0-0
1.0.1-7ubuntu3
Done http://gb.archive.ubuntu.com hardy/main libsdl1.2debian-alsa
1.2.13-1ubuntu1
Done http://gb.archive.ubuntu.com hardy/main libsdl1.2debian
1.2.13-1ubuntu1
Done downloading            
Selecting previously deselected package libdirectfb-1.0-0.
(Reading database ... 75546 files and directories currently installed.)
Unpacking libdirectfb-1.0-0
(from .../libdirectfb-1.0-0_1.0.1-7ubuntu3_i386.deb) ...
Selecting previously deselected package libsdl1.2debian-alsa.
Unpacking libsdl1.2debian-alsa
(from .../libsdl1.2debian-alsa_1.2.13-1ubuntu1_i386.deb) ...
Selecting previously deselected package libsdl1.2debian.
Unpacking libsdl1.2debian
(from .../libsdl1.2debian_1.2.13-1ubuntu1_i386.deb) ...
Setting up libdirectfb-1.0-0 (1.0.1-7ubuntu3) ...
Setting up libsdl1.2debian-alsa (1.2.13-1ubuntu1) ...
Setting up libsdl1.2debian (1.2.13-1ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Selecting previously deselected package virtualbox.
(Reading database ... 75622 files and directories currently installed.)
Unpacking virtualbox (from
virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb) ...
Setting up virtualbox (1.6.2-31466_Ubuntu_hardy) ...
Adding group `vboxusers' (GID 118) ...
Done.
 * Starting VirtualBox kernel module  *  done.
 * Starting VirtualBox host networking   *  done.
 
Easy.
Cheers,
Al.