Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202384

Re: Verifying dependencins of DEB file(s)

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: Verifying dependencins of DEB file(s)
Date 2018-11-14 09:30 +0100
Message-ID <wTYIF-30E-7@gated-at.bofh.it> (permalink)
References <wTYfE-2Af-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Wed, Nov 14, 2018 at 08:38:26AM +0100, Tomáš Golembiovský wrote:
> Hi,
> 
> I need to safely install a DEB file (or set of DEB files) without
> network connectivity and with tools normally present on small Debian
> installation. More precisely I would either like to install the package
> or leave the system in state before the attempt.
> 
> However, it seems there is no way to roll-back installation done with
> dpkg in case of failure.

dpkg --purge should help here.

> Neither I found a way how to at least check dependencies.
> The --dry-run/--simulate option does not do that. In fact,
> I'm not sure what stages of the process it goes through (maybe just
> verifying package integrity).

# apt download mono-complete
Get:1 http://ftp.debian.org/debian stretch/main amd64 mono-complete amd64 4.6.2.7+dfsg-1 [29.9 kB]
Fetched 29.9 kB in 1s (22.0 kB/s)

# apt install -s ./mono-complete_4.6.2.7+dfsg-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mono-complete' instead of './mono-complete_4.6.2.7+dfsg-1_amd64.deb'
The following additional packages will be installed:
  ca-certificates-mono cli-common dconf-gsettings-backend dconf-service glib-networking glib-networking-common
...
0 upgraded, 194 newly installed, 0 to remove and 0 not upgraded.
Inst libglade2-0 (1:2.6.4-2 Debian:9.6/stable [amd64])
...

So, in the case of the doubt, you use 'apt install -s <ur_local_packages_here>'.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Verifying dependencins of DEB file(s) Tomáš Golembiovský <tgolembi@redhat.com> - 2018-11-14 09:00 +0100
  Re: Verifying dependencins of DEB file(s) Sven Joachim <svenjoac@gmx.de> - 2018-11-14 09:30 +0100
  Re: Verifying dependencins of DEB file(s) Reco <recoverym4n@enotuniq.net> - 2018-11-14 09:30 +0100
  Re: Verifying dependencins of DEB file(s) Tomaž Šolc <tomaz.solc@tablix.org> - 2018-11-14 09:40 +0100
  RE: Verifying dependencins of DEB file(s) David Martens <David.Martens@wits.ac.za> - 2018-11-14 10:10 +0100
    Re: Verifying dependencins of DEB file(s) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-14 14:40 +0100
  Re: Verifying dependencins of DEB file(s) Richard Owlett <rowlett@cloud85.net> - 2018-11-14 13:10 +0100
  Re: Verifying dependencins of DEB file(s) Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-11-14 22:20 +0100

csiph-web