Re: Howto force APT to ignore deps



Luxman wrote:

> Is it possible to force APT to ignore deps for a specific package?
> I found this hint
>
>>>>>>QUOTE
> There's a hack which allows that. But before telling you the trick [...]
>
> Ok.. if you have a strong heart, and are still reading, the trick is an
>>option in apt.conf:
>
> RPM
> {
> Fake-Provides { "foo"; "bar 1.2"; };
> }
>
> This will "provide" the dependencies "foo" and "bar" version 1.2.
> You've been warned! :-)
>>>>>>>>>>>>END QUOTE
>
> but it didn't work for me.
> Any ideas?
>
> Thanks ;-)


If you really(!) want to use APT.

Download your apt package "apt-get -d install xxxxxx"
The package is found in /var/cache/apt/archive.

Pick it it and install it with "rpm -e xxxxxxx.rpm".

But I suggest you drop APT. Use "smart" instead as APT is supposedly going
to be phased out and replaced by smart.

Cheers

Dan


.



Relevant Pages

  • Re: Debian newbie: question on apt-get and sources.list
    ... The trick was putting the slash between stable and pre. ... Without that apt ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • Re: 8.2 to 9.0 via FTP
    ... Apt for SuSE is found here: ... If it can do the trick for you on the upgrade I don't know! ...
    (alt.os.linux.suse)
  • Howto force APT to ignore deps
    ... Is it possible to force APT to ignore deps for a specific package? ... I found this hint ... There's a hack which allows that. ... But before telling you the trick ...
    (alt.os.linux.suse)