public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Cc: Uladzimir Bely <ubely@ilbers.de>, isar-users@googlegroups.com
Subject: Re: Ignore a dependency
Date: Tue, 13 Sep 2022 15:53:24 +0200	[thread overview]
Message-ID: <20220913155324.1425d13a@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <CAJGKYO6fck7-Uje_oJ2hWEEPRXyXtU1=1aV92qTmNAE2feO5TA@mail.gmail.com>

Am Tue, 13 Sep 2022 14:58:52 +0200
schrieb "Roberto A. Foglietta" <roberto.foglietta@gmail.com>:

> Il Mar 13 Set 2022, 14:53 Uladzimir Bely <ubely@ilbers.de> ha scritto:
> 
> > In the email from Tuesday, 13 September 2022 14:55:58 +03 user
> > Roberto A. Foglietta wrote:  
> > > I wish to ignore a package that it is listed ad dependency. Just
> > > that package and its dependencies.
> > >
> > > mainpackage nothis-
> > >
> > > Notice the minus at the end.
> > >
> > > I tried this approach with different options buy broke the
> > > building
> > >
> > > Thank,
> > > -R  
> >
> > Hello Roberto
> >
> > Could you please clarify what exactly do you mean?
> >
> > Is it pure Isar dependency (custom packages), or you might want to
> > install some Debian package and ignore some of it's dependencies?
> >  
> 
> The 2nd you wrote: a debian package.

You could use dpkg-deb to unpack and repack. Or build it from source
and apply a patch, however patching the debian/ folder is not trivial
even if the patch will be.

You could also write an empty package with the same name, your package
should win over the one from debian.

But whatever you do ... do not do any of that! You would need a _very_
good reason to not install what you get from debian. If a dep can
really be dropped you should discuss that with the debian maintainer.
If not, you likely want to install what is apparently "needed".

Anything you change will be on you and eventually come back to you. Any
"i need to save 3MB", or "i do not want the package because of a
license" likely does not qualify as a good reason to "fork".

Henning

> 
> > Any example of what you've tried already would be great.
> >  
> 
> As example you can choose any .deb that has a dependency and try to
> install without it.
> 
> Thanks, R-
> 


  parent reply	other threads:[~2022-09-13 13:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 11:55 Roberto A. Foglietta
2022-09-13 12:53 ` Uladzimir Bely
2022-09-13 12:58   ` Roberto A. Foglietta
2022-09-13 13:09     ` Baurzhan Ismagulov
2022-09-13 13:09     ` Uladzimir Bely
2022-09-13 13:53     ` Henning Schild [this message]
2022-09-13 18:59       ` Roberto A. Foglietta
2022-09-14  8:34         ` Henning Schild
2022-09-14 18:42           ` Roberto A. Foglietta
2022-09-15  9:35             ` Henning Schild
2022-10-01 22:14           ` Roberto A. Foglietta
2022-10-01 23:10             ` Roberto A. Foglietta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220913155324.1425d13a@md1za8fc.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=roberto.foglietta@gmail.com \
    --cc=ubely@ilbers.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox