Re: Package dependency problems

John G Heim <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Well, I would imagine other people are going to run into this problem as 
time goes by. I suspect that if the new chromium-browser package that 
depends on snapd hasn't made it to the latest debian release, it will 
soon. So here is the hook I wrote to work around the problem. I am 
calling it instsoft.EOAN.

#! /bin/bash
$ROOTCMD dpkg-divert --add --rename --divert /usr/bin/snap.real 
/usr/bin/snap
$ROOTCMD rm -f /usr/bin/snap
$ROOTCMD ln -s /bin/true /usr/bin/snap
# EOF
On 1/10/20 2:34 PM, Thomas Lange wrote:
> You can use dpkg-divert (also used by fai-divert) for diverting a
> file, even before it's installed I guess.
> 
>>>>>> On Fri, 10 Jan 2020 14:11:43 -0600, John G Heim <[email protected]> said:
> 
>      > Geez, what a load of bullstuff.  Maybe I can add a hook to create that
>      > file before fai starts installing packages.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.