Eric at Lucii.org on 14 Nov 2011 10:30:38 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] using dpkg to update a package


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dpkg -i gives me an error:

dpkg -i virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb

dpkg: regarding virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb containing virtualbox-4.1:
 virtualbox-4.1 conflicts with virtualbox
  virtualbox-4.0 provides virtualbox and is present and installed.
dpkg: error processing virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb (--install):
 conflicting packages - not installing virtualbox-4.1
Errors were encountered while processing:
 virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb

Presumably it's because it's going from 4.0 to 4.1 ?

Eric


On 11/14/2011 01:07 PM, Chad Waters wrote:
> dpkg -i
> 
> C
> 
> On Mon, Nov 14, 2011 at 11:47 AM, Eric at Lucii.org <eric@lucii.org> wrote:
> I use virtual box installed from a downloaded .deb file
> 
> I want to replace
>   virtualbox-4.0_4.0.4-70112_Ubuntu_lucid_i386.deb
> with
>   virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb
> 
> Is there a single command that will replace the existing 4.0 package with 4.1 or do I have to remove the old one first?
> I was thinking that dpkg --update-avail might be right but the description seems more like it updates the ->package<- instead of the installed software.
> 
> Eric
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7BXkMACgkQ2sGpvXQrZ/4FEACfWyovbsWGK8cwSgDiq49h0/Mn
d4IAoPzooYxCqPvbD3HGM/jPqzjF43P4
=6bf1
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug