The downloads page for virtualbox has 2 different install methods.
1) Manually by downloading a single .deb file ( this uses dpkg, the debian
package manager)
2) apt integration, as a third party repo. Running 'apt-get install' will
essentially download and verify a package using apt, then install the
package using the native package manager. ( in this case dpkg )

The first option means you are installing the package outside of apt (apt
is a layer on top of your package manager that handles remote
repositories). Since you have already cleared the cache, it is possible
that the Oracle provided deb package is conflicting with the version
available in the default repositories. You can look it up at
packages.ubuntu.com.

The second option is always ideal because it allows apt to prioritize
packages for the purposes of dependency resolution, and gpg verification.
If you installed the .deb manually in the first place, apt is not going to
be able to handle it, though in some situations it may try. This could
explain why some people report that the system updates tool fails, while
synaptic does not.

- Synaptic is a full featured application that exposes the entire
repository and gives the user control over what does and does not get
installed. It honestly has no interest in the idea of updates. It sees
packages installed, and lists packages available, and waits for you to
decide if something needs to be installed/removed/upgraded.
- Update Manager is barely an applet. It's sole purpose is to update every
single deb package on your system in one big download cycle. All or
nothing. The intention is that it will periodically run "apt-get update" in
the background, silently. It will do this repeatedly throughout the day,
and every time it finishes apt-get update, it looks at the result and says
"are the packages I have installed the same version as the packages in the
repo?"

   - If yes, it gives you that cute little icon "You are all up to date!"
   - If no, it prompts the user to download and install updates.
   - If it failed to update the cache... such as the errors you have
encountered, it panics and does dumb things.

See here: https://packages.ubuntu.com/search?keywords=virtualbox&;
searchon=names&suite=xenial&section=all
'virtualbox' is already a package in the repo, but you manually installed a
.deb, with the same name but completely different version and checksum? Apt
probably has no idea what to do with your virtualbox ( and maybe google
earth ) packages, because they just magically appeared on the system
without so much as a how d'ya do.



What you will want to do is remove the virtualbox package you have
installed, and follow the instructions linked earlier:
https://www.virtualbox.org/wiki/Linux_Downloads
Look for the section "Debian-based Linux Distributions". There they provide
instructions to add the repository so that apt is aware of it, and can
override the Canonical-maintained version. If you follow the steps to add
the Oracle repo, then apt can give priority to the oracle version, and also
allow updates through Update Manager.


On Wed, Feb 28, 2018 at 12:29 PM, Nat Taylor <[email protected]> wrote:

> sometimes a
> sudo apt-get -f install
> helps
> (not sure if you can just use apt, like:
>  sudo apt -f install
> )
>
> On Wed, Feb 28, 2018 at 11:43 AM, Rich Shepard <[email protected]>
> wrote:
>
> > On Wed, 28 Feb 2018, Rich Shepard wrote:
> >
> >  Yes, it's not called google-earth pro. Also, google-earth does not
> change
> >>
> >
> >   Oops! That should be 'now' not 'not.'
> >
> >
> > Rich
> > _______________________________________________
> > PLUG mailing list
> > [email protected]
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to