Eric at Lucii.org on 14 Nov 2011 14:27:55 -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

It worked out...

I just ran
   dpkg --purge virtualbox-4.0
followed by
   dpkg -i virtualbox-4.1_4.1.4-74291~Ubuntu~lucid_i386.deb

Thanks,
Eric

On 11/14/2011 01:47 PM, Chad Waters wrote:
> Oh ok. I didn't catch the package name version bump.
> 
> Actually it looks like you have another package called "virtualbox"
> which is probably a metapackage that depends on  virtualbox-4.0.
> 
> C
> 
> On Mon, Nov 14, 2011 at 1:30 PM, Eric at Lucii.org <eric@lucii.org> wrote:
> 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
> 
___________________________________________________________________________
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/

iEYEARECAAYFAk7BldoACgkQ2sGpvXQrZ/5kvACgkBjd0FKNnysS5fgYraJ9Ij4z
YuIAnR5Ailg1J4JsqOu5/MFrzcaBfrU2
=CHwU
-----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