How to force apt-get to ignore a non-error.
Florian Diesch
diesch at spamfence.net
Sun Jun 11 15:08:12 UTC 2006
Jim McQuiston <jsmcq at comcast.net> wrote:
> FreeNX now appears to be working like a proverbial charm. However, now
> when I run apt-get dist-upgrade I get the following message:
>
> # apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> You might want to run `apt-get -f install' to correct these.
> The following packages have unmet dependencies:
> freenx: Depends: nxagent (>= 1.4.92+1.5.0) but it is not installable
> E: Unmet dependencies. Try using -f.
>
> If I run apt-get -f install it will remove FreeNX, which I do not want
> to do. However, I cannot find a command to force apt-get to ignore
> FreeNX and leave it alone.
,----[ pkgdesc equivs ]
| Package: equivs
| Description: Circumvent Debian package dependencies
| This package provides a tool to create Debian
| packages that only contain dependency information.
| .
| If a package P is not installed on the system, packages
| that depend on P cannot normally be installed. However,
| if equivalent functionality to P is known to be installed,
| this tool can be used to trick the Debian package management
| system into believing that package P is actually installed.
| .
| Another possibility is creation of a meta package. When this
| package contains a dependency as "Depends: a, b, c", then
| installing this package will also select packages a, b and c.
| Instead of "Depends", you can also use "Recommends:" or
| "Suggests:" for less demanding dependency.
| .
| Please note that this is a crude hack and if thoughtlessly used,
| it might possibly do damage to your packaging system. And please
| note as well that using it is not the recommended way of dealing
| with broken dependencies. Better file a bug report instead.
`----
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list