Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198689 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2018-08-13 13:50 +0200 |
| Last post | 2018-08-15 08:20 +0200 |
| Articles | 20 on this page of 49 — 23 participants |
Back to article view | Back to linux.debian.user
Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-13 13:50 +0200
Re: Installing package *NOT* in repository Joe <joe@jretrading.com> - 2018-08-13 14:00 +0200
Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-13 14:30 +0200
Re: Installing package *NOT* in repository Samuel Henrique <samueloph@debian.org> - 2018-08-13 14:40 +0200
Re: Installing package *NOT* in repository Vincent Lefevre <vincent@vinc17.net> - 2018-08-17 11:30 +0200
Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-17 13:40 +0200
Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-17 14:30 +0200
Re: Installing package *NOT* in repository Reco <recoverym4n@gmail.com> - 2018-08-17 14:50 +0200
Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-17 17:00 +0200
Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-17 20:50 +0200
Re: Installing package *NOT* in repository Vincent Lefevre <vincent@vinc17.net> - 2018-08-21 13:00 +0200
Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-21 14:10 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-21 14:50 +0200
Re: Installing package *NOT* in repository Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 15:40 +0200
Re: Installing package *NOT* in repository Michael Stone <mstone@debian.org> - 2018-08-21 16:40 +0200
Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 17:10 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-21 17:40 +0200
Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-21 19:30 +0200
Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 17:10 +0200
Re: Installing package *NOT* in repository Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 17:30 +0200
Re: Installing package *NOT* in repository Michael Stone <mstone@debian.org> - 2018-08-21 18:00 +0200
Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 19:00 +0200
Re: Installing package *NOT* in repository Joe <joe@jretrading.com> - 2018-08-13 15:00 +0200
Re: Installing package *NOT* in repository Zenaan Harkness <zenaan@freedbms.net> - 2018-08-13 16:10 +0200
Re: Installing package *NOT* in repository john doe <johndoe65534@mail.com> - 2018-08-13 14:10 +0200
Re: Installing package *NOT* in repository Matthew Crews <mailinglists@mattcrews.com> - 2018-08-13 15:00 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-13 15:50 +0200
Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-13 17:40 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-13 17:50 +0200
Re: Installing package *NOT* in repository Samuel Henrique <samueloph@debian.org> - 2018-08-13 18:00 +0200
Re: Installing package *NOT* in repository tomas@tuxteam.de - 2018-08-13 18:20 +0200
Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 18:50 +0200
Re: Installing package *NOT* in repository Curt <curty@free.fr> - 2018-08-13 19:10 +0200
Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 19:30 +0200
Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 18:00 +0200
Re: Installing package *NOT* in repository Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-08-14 19:50 +0200
Re: Installing package *NOT* in repository Jason <electron@emypeople.net> - 2018-08-15 13:10 +0200
Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-14 04:10 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-14 09:00 +0200
Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-14 17:00 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-14 17:30 +0200
Re: Installing package *NOT* in repository songbird <songbird@anthive.com> - 2018-08-14 05:50 +0200
Re: Installing package *NOT* in repository Erik Christiansen <dvalin@internode.on.net> - 2018-08-14 08:50 +0200
Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-14 13:50 +0200
Re: Installing package *NOT* in repository Erik Christiansen <dvalin@internode.on.net> - 2018-08-15 07:10 +0200
Re: Installing package *NOT* in repository Kenneth Parker <sea7kenp@gmail.com> - 2018-08-15 07:30 +0200
Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-15 10:00 +0200
Re: Installing package *NOT* in repository Darac Marjal <mailinglist@darac.org.uk> - 2018-08-15 10:30 +0200
Re: Installing package *NOT* in repository Zenaan Harkness <zenaan@freedbms.net> - 2018-08-15 08:20 +0200
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2018-08-21 18:00 +0200 |
| Message-ID | <wphex-4lM-1@gated-at.bofh.it> |
| In reply to | #199152 |
On Tue, Aug 21, 2018 at 11:23:59AM -0400, Greg Wooledge wrote: >Second, this whole thread has been about the undocumented feature of >apt (but not apt-get) that allows you to specify a pathname to a .deb >file on an "apt install" command. Nobody was quite sure how it worked, >because it's undocumented. Works fine in apt-get also. Same code. It's also a bit more complicated, because it will prefer a repository version if you're trying to install something that is actually in the respository. >pathname begins with "/" or "./" or "../". This seems like a strange >choice to me (I would've gone with "contains a slash", because there's >precedent for that, and because it allows pathnames like "foo/bar.deb" >which the current code does not allow). / in an apt parameter already indicates the target release. E.g., apt-get install ant/stretch-backports
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2018-08-21 19:00 +0200 |
| Message-ID | <wpiaC-4VN-11@gated-at.bofh.it> |
| In reply to | #199152 |
On Tue 21 Aug 2018 at 11:23:59 (-0400), Greg Wooledge wrote:
> On Tue, Aug 21, 2018 at 10:04:58AM -0500, David Wright wrote:
> > Why would you expect it to look for a «file» at all? If you write
> > # apt install gem.deb
> > then apt should try to install any «packages» it finds called
> > "gemadeb", "gembdeb", "gemcdeb", "gemddeb", etc, and will
> > consequently install the «package» gem2deb, which is likely
> > not what you expected unless you read the man page for apt-get
> > in combination with that for apt.
>
> First of all, the . character is valid in a package name, and is supposed
> to be treated literally. A package named python3.5 exists, for example.
>
> The . character can be a single-character wildcard in some kinds of
> regular expression, but one would hope (I certainly hope) that when
> an exactly matching package name exists in the database, the exact
> match should win out over a regex(7) match.
Hey, I don't write this stuff. I only read the man pages.
> The . character is NOT a single-character wildcard to the shell, so it
> does not need escaping or quoting to survive the shell's argument
> parsing. You might be thinking of the ? character.
No, I'm not. That's why you don't need to escape it.
> Second, this whole thread has been about the undocumented feature of
> apt (but not apt-get) that allows you to specify a pathname to a .deb
> file on an "apt install" command. Nobody was quite sure how it worked,
> because it's undocumented.
Yes, that's why I tried it (in stretch. Simulated. Installing it
would be a bit of a stretch. Bothering to install buster first would
be going for bust.)
> However, Michael Stone was kind enough to point out the line of code
> which is partly responsible for this feature (thank you). So, now we
> know that "apt install" can take a pathname argument, but only if the
> pathname begins with "/" or "./" or "../". This seems like a strange
> choice to me (I would've gone with "contains a slash", because there's
> precedent for that, and because it allows pathnames like "foo/bar.deb"
> which the current code does not allow). But at least now we know.
But there's a slash in the allowed syntax already, so that choice has gone.
Anyway, let's actually count the teeth in the horse's mouth:
The short test:
~/4greg $ ls -l
total 2552
-rw-r----- 1 david david 1305596 Jul 9 11:41 apt_1.6.3_amd64.deb
-rw-r----- 1 david david 1305596 Jul 9 11:41 gem.deb
~/4greg $ apt -s install gem.deb | grep gem
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
dirmngr dpkg-dev dput equivs g++ g++-6 gem2deb gem2deb-test-runner gettext
Inst gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Inst gem2deb (0.33.1 Debian:9.5/stable [amd64])
Conf gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Conf gem2deb (0.33.1 Debian:9.5/stable [amd64])
~/4greg $
and the long test, as a warning:
~/4greg $ apt -s install gem.deb
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
linux-headers-4.9.0-6-amd64 linux-headers-4.9.0-6-common
linux-image-4.9.0-6-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev build-essential debhelper
debian-keyring devscripts dh-autoreconf dh-strip-nondeterminism diffstat
dirmngr dpkg-dev dput equivs g++ g++-6 gettext intltool-debian
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libarchive-zip-perl libclass-inspector-perl libclass-xsaccessor-perl
libclone-perl libconvert-binhex-perl libdevel-globaldestruction-perl
libdigest-hmac-perl libdistro-info-perl libemail-valid-perl
libfile-chdir-perl libfile-stripnondeterminism-perl
libgetopt-long-descriptive-perl libgit-wrapper-perl libgmp-dev libgmpxx4ldbl
libimport-into-perl libio-pty-perl libio-sessiondata-perl
libio-socket-inet6-perl libio-stringy-perl libipc-run-perl
liblist-compare-perl libltdl-dev libmail-sendmail-perl libmime-tools-perl
libmoo-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl
libnumber-compare-perl libnumber-range-perl libossp-uuid-perl libossp-uuid16
libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
libperlio-gzip-perl libpod-constants-perl libsoap-lite-perl libsocket6-perl
libsort-key-perl libsort-versions-perl libstdc++-6-dev libstrictures-perl
libstring-copyright-perl libstring-escape-perl libsys-hostname-long-perl
libtask-weaken-perl libtext-glob-perl libtext-levenshtein-perl libtool
libunicode-utf8-perl libxmlrpc-lite-perl libyaml-libyaml-perl licensecheck
lintian m4 patchutils po-debconf python-apt python-debian python-gpg
python3-magic ruby-all-dev ruby-setup ruby2.3-dev wdiff
Suggested packages:
autoconf-archive gnu-standards autoconf-doc dh-make adequate autopkgtest
bls-standalone check-all-the-things cvs-buildpackage devscripts-el
diffoscope disorderfs dose-extra duck faketime gnuplot how-can-i-help
libnet-smtps-perl libterm-size-perl libyaml-syck-perl mozilla-devscripts
piuparts ratt reprotest svn-buildpackage dbus-user-session pinentry-gnome3
tor mini-dinstall g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg
gettext-doc libasprintf-dev libgettextpo-dev gmp-doc libgmp10-doc
libmpfr-dev libtool-doc uuid libapache2-mod-perl2 libmime-lite-perl
libnet-jabber-perl libstdc++-6-doc libbareword-filehandles-perl
libindirect-perl libmultidimensional-perl gfortran | fortran95-compiler
gcj-jdk binutils-multiarch libtext-template-perl m4-doc libmail-box-perl
python-apt-dbg python-apt-doc wdiff-doc
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev build-essential debhelper
debian-keyring devscripts dh-autoreconf dh-strip-nondeterminism diffstat
dirmngr dpkg-dev dput equivs g++ g++-6 gem2deb gem2deb-test-runner gettext
intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libarchive-zip-perl libclass-inspector-perl
libclass-xsaccessor-perl libclone-perl libconvert-binhex-perl
libdevel-globaldestruction-perl libdigest-hmac-perl libdistro-info-perl
libemail-valid-perl libfile-chdir-perl libfile-stripnondeterminism-perl
libgetopt-long-descriptive-perl libgit-wrapper-perl libgmp-dev libgmpxx4ldbl
libimport-into-perl libio-pty-perl libio-sessiondata-perl
libio-socket-inet6-perl libio-stringy-perl libipc-run-perl
liblist-compare-perl libltdl-dev libmail-sendmail-perl libmime-tools-perl
libmoo-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl
libnumber-compare-perl libnumber-range-perl libossp-uuid-perl libossp-uuid16
libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
libperlio-gzip-perl libpod-constants-perl libsoap-lite-perl libsocket6-perl
libsort-key-perl libsort-versions-perl libstdc++-6-dev libstrictures-perl
libstring-copyright-perl libstring-escape-perl libsys-hostname-long-perl
libtask-weaken-perl libtext-glob-perl libtext-levenshtein-perl libtool
libunicode-utf8-perl libxmlrpc-lite-perl libyaml-libyaml-perl licensecheck
lintian m4 patchutils po-debconf python-apt python-debian python-gpg
python3-magic ruby-all-dev ruby-setup ruby2.3-dev wdiff
0 upgraded, 91 newly installed, 0 to remove and 0 not upgraded.
Inst m4 (1.4.18-1 Debian:9.5/stable [amd64])
Inst autoconf (2.69-10 Debian:9.5/stable [all])
Inst autotools-dev (20161112.1 Debian:9.5/stable [all])
Inst automake (1:1.15-6 Debian:9.5/stable [all])
Inst autopoint (0.19.8.1-2 Debian:9.5/stable [all])
Inst libstdc++-6-dev (6.3.0-18+deb9u1 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Inst g++-6 (6.3.0-18+deb9u1 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Inst g++ (4:6.3.0-4 Debian:9.5/stable [amd64])
Inst dpkg-dev (1.18.25 Debian:9.5/stable [all])
Inst build-essential (12.3 Debian:9.5/stable [amd64])
Inst libtool (2.4.6-2 Debian:9.5/stable [all])
Inst dh-autoreconf (14 Debian:9.5/stable [all]) []
Inst libarchive-zip-perl (1.59-1 Debian:9.5/stable [all]) []
Inst libfile-stripnondeterminism-perl (0.034-1 Debian:9.5/stable [all]) []
Inst dh-strip-nondeterminism (0.034-1 Debian:9.5/stable [all]) []
Inst gettext (0.19.8.1-2 Debian:9.5/stable [amd64]) []
Inst intltool-debian (0.35.0+20060710.4 Debian:9.5/stable [all]) []
Inst po-debconf (1.0.20 Debian:9.5/stable [all]) []
Inst debhelper (10.2.5 Debian:9.5/stable [all])
Inst debian-keyring (2017.05.28 Debian:9.5/stable [all])
Inst devscripts (2.17.6+deb9u2 Debian:9.5/stable [amd64])
Inst diffstat (1.61-1+b1 Debian:9.5/stable [amd64])
Inst dirmngr (2.1.18-8~deb9u2 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Inst python-debian (0.1.30 Debian:9.5/stable [all])
Inst python-gpg (1.8.0-3+b2 Debian:9.5/stable [amd64])
Inst dput (0.12.1 Debian:9.5/stable [all])
Inst gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Inst libgmpxx4ldbl (2:6.1.2+dfsg-1 Debian:9.5/stable [amd64])
Inst libgmp-dev (2:6.1.2+dfsg-1 Debian:9.5/stable [amd64])
Inst ruby2.3-dev (2.3.3-1+deb9u3 Debian-Security:9/stable [amd64])
Inst ruby-all-dev (1:2.3.3 Debian:9.5/stable [amd64])
Inst ruby-setup (3.4.1-9 Debian:9.5/stable [all])
Inst gem2deb (0.33.1 Debian:9.5/stable [amd64])
Inst libalgorithm-diff-perl (1.19.03-1 Debian:9.5/stable [all])
Inst libalgorithm-diff-xs-perl (0.04-4+b2 Debian:9.5/stable [amd64])
Inst libalgorithm-merge-perl (0.08-3 Debian:9.5/stable [all])
Inst libclass-inspector-perl (1.31-1 Debian:9.5/stable [all])
Inst libclass-xsaccessor-perl (1.19-2+b7 Debian:9.5/stable [amd64])
Inst libclone-perl (0.38-2+b1 Debian:9.5/stable [amd64])
Inst libconvert-binhex-perl (1.125-1 Debian:9.5/stable [all])
Inst libdevel-globaldestruction-perl (0.14-1 Debian:9.5/stable [all])
Inst libdigest-hmac-perl (1.03+dfsg-1 Debian:9.5/stable [all])
Inst libdistro-info-perl (0.14 Debian:9.5/stable [all])
Inst libsocket6-perl (0.27-1+b1 Debian:9.5/stable [amd64])
Inst libio-socket-inet6-perl (2.72-2 Debian:9.5/stable [all])
Inst libnet-ip-perl (1.26-1 Debian:9.5/stable [all])
Inst libnet-dns-perl (1.07-1 Debian:9.5/stable [all])
Inst libnet-domain-tld-perl (1.75-1 Debian:9.5/stable [all])
Inst libemail-valid-perl (1.202-1 Debian:9.5/stable [all])
Inst libfile-chdir-perl (0.1008-1 Debian:9.5/stable [all])
Inst libio-stringy-perl (2.111-2 Debian:9.5/stable [all])
Inst libparams-validate-perl (1.26-1 Debian:9.5/stable [amd64])
Inst libgetopt-long-descriptive-perl (0.100-1 Debian:9.5/stable [all])
Inst libsort-versions-perl (1.62-1 Debian:9.5/stable [all])
Inst libgit-wrapper-perl (0.047-1 Debian:9.5/stable [all])
Inst libimport-into-perl (1.002005-1 Debian:9.5/stable [all])
Inst libio-pty-perl (1:1.08-1.1+b2 Debian:9.5/stable [amd64])
Inst libio-sessiondata-perl (1.03-1 Debian:9.5/stable [all])
Inst libipc-run-perl (0.94-1+deb9u1 Debian:9.5/stable [all])
Inst liblist-compare-perl (0.53-1 Debian:9.5/stable [all])
Inst libltdl-dev (2.4.6-2 Debian:9.5/stable [amd64])
Inst libsys-hostname-long-perl (1.5-1 Debian:9.5/stable [all])
Inst libmail-sendmail-perl (0.79.16-2 Debian:9.5/stable [all])
Inst libmime-tools-perl (5.508-1 Debian:9.5/stable [all])
Inst libstrictures-perl (2.000003-1 Debian:9.5/stable [all])
Inst libmoo-perl (2.002005-1 Debian:9.5/stable [all])
Inst libnumber-compare-perl (0.03-1 Debian:9.5/stable [all])
Inst libnumber-range-perl (0.12-1 Debian:9.5/stable [all])
Inst libossp-uuid16 (1.6.2-1.5+b4 Debian:9.5/stable [amd64])
Inst libossp-uuid-perl (1.6.2-1.5+b4 Debian:9.5/stable [amd64])
Inst libtext-glob-perl (0.10-1 Debian:9.5/stable [all])
Inst libpath-iterator-rule-perl (1.009-1 Debian:9.5/stable [all])
Inst libpath-tiny-perl (0.100-1 Debian:9.5/stable [all])
Inst libperlio-gzip-perl (0.19-1+b2 Debian:9.5/stable [amd64])
Inst libpod-constants-perl (0.19-1 Debian:9.5/stable [all])
Inst libtask-weaken-perl (1.04-1 Debian:9.5/stable [all])
Inst libsoap-lite-perl (1.20-1 Debian:9.5/stable [all])
Inst libsort-key-perl (1.33-1+b3 Debian:9.5/stable [amd64])
Inst libstring-copyright-perl (0.003005-1 Debian:9.5/stable [all])
Inst libstring-escape-perl (2010.002-1 Debian:9.5/stable [all])
Inst libtext-levenshtein-perl (0.13-1 Debian:9.5/stable [all])
Inst libunicode-utf8-perl (0.60-1+b3 Debian:9.5/stable [amd64])
Inst libxmlrpc-lite-perl (0.717-1 Debian:9.5/stable [all])
Inst libyaml-libyaml-perl (0.63-2 Debian:9.5/stable [amd64])
Inst licensecheck (3.0.29-1 Debian:9.5/stable [all])
Inst patchutils (0.3.4-2 Debian:9.5/stable [amd64])
Inst lintian (2.5.50.4 Debian:9.5/stable [all])
Inst python-apt (1.4.0~beta3 Debian:9.5/stable [amd64])
Inst python3-magic (1:5.30-1+deb9u2 Debian:9.5/stable [all])
Inst wdiff (1.2.2-2 Debian:9.5/stable [amd64])
Inst equivs (2.0.9+nmu1 Debian:9.5/stable [all])
Conf m4 (1.4.18-1 Debian:9.5/stable [amd64])
Conf autoconf (2.69-10 Debian:9.5/stable [all])
Conf autotools-dev (20161112.1 Debian:9.5/stable [all])
Conf automake (1:1.15-6 Debian:9.5/stable [all])
Conf autopoint (0.19.8.1-2 Debian:9.5/stable [all])
Conf libstdc++-6-dev (6.3.0-18+deb9u1 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Conf g++-6 (6.3.0-18+deb9u1 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Conf g++ (4:6.3.0-4 Debian:9.5/stable [amd64])
Conf dpkg-dev (1.18.25 Debian:9.5/stable [all])
Conf build-essential (12.3 Debian:9.5/stable [amd64])
Conf libtool (2.4.6-2 Debian:9.5/stable [all])
Conf dh-autoreconf (14 Debian:9.5/stable [all])
Conf libarchive-zip-perl (1.59-1 Debian:9.5/stable [all])
Conf libfile-stripnondeterminism-perl (0.034-1 Debian:9.5/stable [all])
Conf dh-strip-nondeterminism (0.034-1 Debian:9.5/stable [all])
Conf gettext (0.19.8.1-2 Debian:9.5/stable [amd64])
Conf intltool-debian (0.35.0+20060710.4 Debian:9.5/stable [all])
Conf po-debconf (1.0.20 Debian:9.5/stable [all])
Conf debhelper (10.2.5 Debian:9.5/stable [all])
Conf debian-keyring (2017.05.28 Debian:9.5/stable [all])
Conf devscripts (2.17.6+deb9u2 Debian:9.5/stable [amd64])
Conf diffstat (1.61-1+b1 Debian:9.5/stable [amd64])
Conf dirmngr (2.1.18-8~deb9u2 Debian:9.5/stable, Debian-Security:9/stable [amd64])
Conf python-debian (0.1.30 Debian:9.5/stable [all])
Conf python-gpg (1.8.0-3+b2 Debian:9.5/stable [amd64])
Conf dput (0.12.1 Debian:9.5/stable [all])
Conf gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Conf libgmpxx4ldbl (2:6.1.2+dfsg-1 Debian:9.5/stable [amd64])
Conf libgmp-dev (2:6.1.2+dfsg-1 Debian:9.5/stable [amd64])
Conf ruby2.3-dev (2.3.3-1+deb9u3 Debian-Security:9/stable [amd64])
Conf ruby-all-dev (1:2.3.3 Debian:9.5/stable [amd64])
Conf ruby-setup (3.4.1-9 Debian:9.5/stable [all])
Conf gem2deb (0.33.1 Debian:9.5/stable [amd64])
Conf libalgorithm-diff-perl (1.19.03-1 Debian:9.5/stable [all])
Conf libalgorithm-diff-xs-perl (0.04-4+b2 Debian:9.5/stable [amd64])
Conf libalgorithm-merge-perl (0.08-3 Debian:9.5/stable [all])
Conf libclass-inspector-perl (1.31-1 Debian:9.5/stable [all])
Conf libclass-xsaccessor-perl (1.19-2+b7 Debian:9.5/stable [amd64])
Conf libclone-perl (0.38-2+b1 Debian:9.5/stable [amd64])
Conf libconvert-binhex-perl (1.125-1 Debian:9.5/stable [all])
Conf libdevel-globaldestruction-perl (0.14-1 Debian:9.5/stable [all])
Conf libdigest-hmac-perl (1.03+dfsg-1 Debian:9.5/stable [all])
Conf libdistro-info-perl (0.14 Debian:9.5/stable [all])
Conf libsocket6-perl (0.27-1+b1 Debian:9.5/stable [amd64])
Conf libio-socket-inet6-perl (2.72-2 Debian:9.5/stable [all])
Conf libnet-ip-perl (1.26-1 Debian:9.5/stable [all])
Conf libnet-dns-perl (1.07-1 Debian:9.5/stable [all])
Conf libnet-domain-tld-perl (1.75-1 Debian:9.5/stable [all])
Conf libemail-valid-perl (1.202-1 Debian:9.5/stable [all])
Conf libfile-chdir-perl (0.1008-1 Debian:9.5/stable [all])
Conf libio-stringy-perl (2.111-2 Debian:9.5/stable [all])
Conf libparams-validate-perl (1.26-1 Debian:9.5/stable [amd64])
Conf libgetopt-long-descriptive-perl (0.100-1 Debian:9.5/stable [all])
Conf libsort-versions-perl (1.62-1 Debian:9.5/stable [all])
Conf libgit-wrapper-perl (0.047-1 Debian:9.5/stable [all])
Conf libimport-into-perl (1.002005-1 Debian:9.5/stable [all])
Conf libio-pty-perl (1:1.08-1.1+b2 Debian:9.5/stable [amd64])
Conf libio-sessiondata-perl (1.03-1 Debian:9.5/stable [all])
Conf libipc-run-perl (0.94-1+deb9u1 Debian:9.5/stable [all])
Conf liblist-compare-perl (0.53-1 Debian:9.5/stable [all])
Conf libltdl-dev (2.4.6-2 Debian:9.5/stable [amd64])
Conf libsys-hostname-long-perl (1.5-1 Debian:9.5/stable [all])
Conf libmail-sendmail-perl (0.79.16-2 Debian:9.5/stable [all])
Conf libmime-tools-perl (5.508-1 Debian:9.5/stable [all])
Conf libstrictures-perl (2.000003-1 Debian:9.5/stable [all])
Conf libmoo-perl (2.002005-1 Debian:9.5/stable [all])
Conf libnumber-compare-perl (0.03-1 Debian:9.5/stable [all])
Conf libnumber-range-perl (0.12-1 Debian:9.5/stable [all])
Conf libossp-uuid16 (1.6.2-1.5+b4 Debian:9.5/stable [amd64])
Conf libossp-uuid-perl (1.6.2-1.5+b4 Debian:9.5/stable [amd64])
Conf libtext-glob-perl (0.10-1 Debian:9.5/stable [all])
Conf libpath-iterator-rule-perl (1.009-1 Debian:9.5/stable [all])
Conf libpath-tiny-perl (0.100-1 Debian:9.5/stable [all])
Conf libperlio-gzip-perl (0.19-1+b2 Debian:9.5/stable [amd64])
Conf libpod-constants-perl (0.19-1 Debian:9.5/stable [all])
Conf libtask-weaken-perl (1.04-1 Debian:9.5/stable [all])
Conf libsoap-lite-perl (1.20-1 Debian:9.5/stable [all])
Conf libsort-key-perl (1.33-1+b3 Debian:9.5/stable [amd64])
Conf libstring-copyright-perl (0.003005-1 Debian:9.5/stable [all])
Conf libstring-escape-perl (2010.002-1 Debian:9.5/stable [all])
Conf libtext-levenshtein-perl (0.13-1 Debian:9.5/stable [all])
Conf libunicode-utf8-perl (0.60-1+b3 Debian:9.5/stable [amd64])
Conf libxmlrpc-lite-perl (0.717-1 Debian:9.5/stable [all])
Conf libyaml-libyaml-perl (0.63-2 Debian:9.5/stable [amd64])
Conf licensecheck (3.0.29-1 Debian:9.5/stable [all])
Conf patchutils (0.3.4-2 Debian:9.5/stable [amd64])
Conf lintian (2.5.50.4 Debian:9.5/stable [all])
Conf python-apt (1.4.0~beta3 Debian:9.5/stable [amd64])
Conf python3-magic (1:5.30-1+deb9u2 Debian:9.5/stable [all])
Conf wdiff (1.2.2-2 Debian:9.5/stable [amd64])
Conf equivs (2.0.9+nmu1 Debian:9.5/stable [all])
~/4greg $ apt -s install ./gem.deb
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apt : Depends: libapt-pkg5.0 (>= 1.6.3) but 1.4.8 is to be installed
E: Unable to correct problems, you have held broken packages.
~/4greg $
And if you got to the end, the last command shows how it should be done.
(The test .deb *is* from buster.)
Cheers,
David.
[toc] | [prev] | [next] | [standalone]
| From | Joe <joe@jretrading.com> |
|---|---|
| Date | 2018-08-13 15:00 +0200 |
| Message-ID | <wmkBX-6k4-1@gated-at.bofh.it> |
| In reply to | #198694 |
On Mon, 13 Aug 2018 07:28:20 -0500 Richard Owlett <rowlett@cloud85.net> wrote: > On 08/13/2018 06:59 AM, Joe wrote: > > On Mon, 13 Aug 2018 06:47:02 -0500 > > Richard Owlett <rowlett@cloud85.net> wrote: > > > >> PREAMBLE: > >> I've downloaded a .deb file. > >> I've recently done such an install but don't remember how. > >> Looking at the man pages for apt, apt-get, aptitude didn't help. > >> Couldn't come up with useful search term for wiki. > >> Eventually recalled "dpkg -i" which worked. > >> > >> QUESTION: > >> How would someone find the answer if the answer wasn't already > >> known? I went thru the same sequence last time. > >> > > > > https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl > > > > First hit: > > https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt > > > > A partial "mea culpa" ;/ > I was completely focused on Debian tools and never thought of > searching the whole web. > > My gut feeling is still there should be a way to use Debian tools. Perhaps so, but you'll usually get a wider perspective from those who actually use Debian in real life, who have a subtly different viewpoint from that of the developers. Note the discussion in my link about alternative ways of dealing with dependencies. I might also point out that much Debian documentation is in the form of man pages. As everyone agrees, they are excellent for refreshing the memory of experienced users, but they are not always that useful to first-time learners. -- Joe
[toc] | [prev] | [next] | [standalone]
| From | Zenaan Harkness <zenaan@freedbms.net> |
|---|---|
| Date | 2018-08-13 16:10 +0200 |
| Message-ID | <wmlHH-7aP-1@gated-at.bofh.it> |
| In reply to | #198694 |
On Mon, Aug 13, 2018 at 07:28:20AM -0500, Richard Owlett wrote: > On 08/13/2018 06:59 AM, Joe wrote: > > On Mon, 13 Aug 2018 06:47:02 -0500 > > Richard Owlett <rowlett@cloud85.net> wrote: > > > > > PREAMBLE: > > > I've downloaded a .deb file. > > > I've recently done such an install but don't remember how. > > > Looking at the man pages for apt, apt-get, aptitude didn't help. > > > Couldn't come up with useful search term for wiki. > > > Eventually recalled "dpkg -i" which worked. > > > > > > QUESTION: > > > How would someone find the answer if the answer wasn't already known? > > > I went thru the same sequence last time. > > > > > > > https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl > > > > First hit: > > https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt > > > > A partial "mea culpa" ;/ > I was completely focused on Debian tools and never thought of searching the > whole web. > > My gut feeling is still there should be a way to use Debian tools. Oki dokey, here ya gokey: apt-cache search install | sort | egrep -i debian\ package Of course this can go in a script, or part of it ... (In this particular example there's a few too many results really, but not much you can do about that ... that's what J^BGoogle is for.)
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2018-08-13 14:10 +0200 |
| Message-ID | <wmjPz-64u-7@gated-at.bofh.it> |
| In reply to | #198689 |
On 8/13/2018 1:47 PM, Richard Owlett wrote: > PREAMBLE: > I've downloaded a .deb file. > I've recently done such an install but don't remember how. > Looking at the man pages for apt, apt-get, aptitude didn't help. > Couldn't come up with useful search term for wiki. > Eventually recalled "dpkg -i" which worked. > > QUESTION: > How would someone find the answer if the answer wasn't already known? > I went thru the same sequence last time. > Googling "installing .deb package" gives the answer. On Debian managing packages is done by "dpkg". For security reasons, stability issues, it is not recommended to install *.deb pkgs that are not from the Debian repositories. -- John Doe
[toc] | [prev] | [next] | [standalone]
| From | Matthew Crews <mailinglists@mattcrews.com> |
|---|---|
| Date | 2018-08-13 15:00 +0200 |
| Message-ID | <wmkBY-6k4-11@gated-at.bofh.it> |
| In reply to | #198689 |
On 8/13/18 4:47 AM, Richard Owlett wrote: > PREAMBLE: > I've downloaded a .deb file. > I've recently done such an install but don't remember how. > Looking at the man pages for apt, apt-get, aptitude didn't help. > Couldn't come up with useful search term for wiki. > Eventually recalled "dpkg -i" which worked. > > QUESTION: > How would someone find the answer if the answer wasn't already known? > I went thru the same sequence last time. > Its possible to use apt to install a file on your disk. For example: # apt install /path/to/file.deb Apt will also try to do dependency checking. I don't think dpkg will, but I'm not sure on that. -Matt
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2018-08-13 15:50 +0200 |
| Message-ID | <wmlol-6P8-3@gated-at.bofh.it> |
| In reply to | #198698 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Aug 13, 2018 at 12:54:16PM +0000, Matthew Crews wrote: > On 8/13/18 4:47 AM, Richard Owlett wrote: > > PREAMBLE: > > I've downloaded a .deb file. > > I've recently done such an install but don't remember how. > > Looking at the man pages for apt, apt-get, aptitude didn't help. > > Couldn't come up with useful search term for wiki. > > Eventually recalled "dpkg -i" which worked. > > > > QUESTION: > > How would someone find the answer if the answer wasn't already known? > > I went thru the same sequence last time. > > > > Its possible to use apt to install a file on your disk. For example: > > # apt install /path/to/file.deb > > Apt will also try to do dependency checking. I don't think dpkg will, > but I'm not sure on that. Yes, it will install dependencies (although you can fine-tune its behaviour with --no-force-depends or --ignore-depends, if you so wish). Cf. the man page. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAltxjGkACgkQBcgs9XrR2kYQpwCfRmk4p+3/3jfwYgUA3NbSKLTg PR4An1rpd7eXmiJYRHD0ZGOKccYkypTT =FeW1 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2018-08-13 17:40 +0200 |
| Message-ID | <wmn6O-7Sa-9@gated-at.bofh.it> |
| In reply to | #198689 |
On Mon, 13 Aug 2018 06:47:02 -0500 Richard Owlett <rowlett@cloud85.net> wrote: > PREAMBLE: > I've downloaded a .deb file. > I've recently done such an install but don't remember how. > Looking at the man pages for apt, apt-get, aptitude didn't help. > Couldn't come up with useful search term for wiki. > Eventually recalled "dpkg -i" which worked. > > QUESTION: > How would someone find the answer if the answer wasn't already known? > I went thru the same sequence last time. > I use gdebi to install local .deb files. It handles the dependencies, too. FYI: I installed only gdebi-core, the command line part, as opposed to gdebi with includes the GUi which is GNOME dependent and installs all manner of GNOME files. I use only a window manager on my system for the GUI and want to keep all GNOME crap off of it. Also, I understand that apt (not apt-get) will install local .deb files and dependencies, too, but I've never tried it. (I'm still learning the ins and outs of apt.) B
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2018-08-13 17:50 +0200 |
| Message-ID | <wmngu-7Vn-3@gated-at.bofh.it> |
| In reply to | #198717 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote: > On Mon, 13 Aug 2018 06:47:02 -0500 > Richard Owlett <rowlett@cloud85.net> wrote: > > > PREAMBLE: > > I've downloaded a .deb file. > > I've recently done such an install but don't remember how. > > Looking at the man pages for apt, apt-get, aptitude didn't help. > > Couldn't come up with useful search term for wiki. > > Eventually recalled "dpkg -i" which worked. > > > > QUESTION: > > How would someone find the answer if the answer wasn't already known? > > I went thru the same sequence last time. > > > > I use gdebi to install local .deb files. It handles the dependencies, > too. As I said already, dpkg does install dependencies. Actually, I don't know any (Debian) tool which wouldn't, by default. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAltxqHQACgkQBcgs9XrR2kaeywCfbVpULXhsUxfDOU3wNW7LKBue o5gAniQsBDtaHO6GT+ckcqj/SUC3f/CB =zqDq -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Samuel Henrique <samueloph@debian.org> |
|---|---|
| Date | 2018-08-13 18:00 +0200 |
| Message-ID | <wmnqa-7Yt-9@gated-at.bofh.it> |
| In reply to | #198718 |
[Multipart message — attachments visible in raw view] — view raw
> > I use gdebi to install local .deb files. It handles the dependencies, > > too. > > As I said already, dpkg does install dependencies. Actually, I don't > know any (Debian) tool which wouldn't, by default. I really don't know what you're talking about, dpkg knows nothing about apt and its repositories, it can't install any dependency. That's why i recommend using apt to install .deb files. -- Samuel Henrique <samueloph>
[toc] | [prev] | [next] | [standalone]
| From | tomas@tuxteam.de |
|---|---|
| Date | 2018-08-13 18:20 +0200 |
| Message-ID | <wmnJv-8jZ-1@gated-at.bofh.it> |
| In reply to | #198719 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Aug 13, 2018 at 12:56:58PM -0300, Samuel Henrique wrote: > > > I use gdebi to install local .deb files. It handles the dependencies, > > > too. > > > > As I said already, dpkg does install dependencies. Actually, I don't > > know any (Debian) tool which wouldn't, by default. > > > I really don't know what you're talking about, dpkg knows nothing about apt > and its repositories, it can't install any dependency. You're right: it won't download & install dependencies. It'll just list those and complain. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAltxrtwACgkQBcgs9XrR2kb7KgCeKbtxfop8nfFeyrxNTz1Pujvd 9LkAn1JGqpJQ97m5pO7MCZst+wa/mVhv =arNM -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2018-08-13 18:50 +0200 |
| Message-ID | <wmocx-8t0-1@gated-at.bofh.it> |
| In reply to | #198721 |
On Mon 13 Aug 2018 at 18:16:28 +0200, tomas@tuxteam.de wrote: > On Mon, Aug 13, 2018 at 12:56:58PM -0300, Samuel Henrique wrote: > > > > I use gdebi to install local .deb files. It handles the dependencies, > > > > too. > > > > > > As I said already, dpkg does install dependencies. Actually, I don't > > > know any (Debian) tool which wouldn't, by default. > > > > > > I really don't know what you're talking about, dpkg knows nothing about apt > > and its repositories, it can't install any dependency. > > You're right: it won't download & install dependencies. It'll just > list those and complain. This needn't be a disaster. 'apt -f install' fixes the dependencies. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2018-08-13 19:10 +0200 |
| Message-ID | <wmovT-mY-1@gated-at.bofh.it> |
| In reply to | #198722 |
On 2018-08-13, Brian <ad44@cityscape.co.uk> wrote: >> > >> > I really don't know what you're talking about, dpkg knows nothing about apt >> > and its repositories, it can't install any dependency. >> >> You're right: it won't download & install dependencies. It'll just >> list those and complain. > > This needn't be a disaster. 'apt -f install' fixes the dependencies. > 'apt install ./foo.deb' (if .deb is in the current directory) will kill both birds with a single stone it appears (famous final weasel words). -- "She was a blank wall, fresh painted." Louise Erdrich, Love Medicine
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2018-08-13 19:30 +0200 |
| Message-ID | <wmoPf-t6-9@gated-at.bofh.it> |
| In reply to | #198723 |
On Mon 13 Aug 2018 at 16:58:18 +0000, Curt wrote: > On 2018-08-13, Brian <ad44@cityscape.co.uk> wrote: > >> > > >> > I really don't know what you're talking about, dpkg knows nothing about apt > >> > and its repositories, it can't install any dependency. > >> > >> You're right: it won't download & install dependencies. It'll just > >> list those and complain. > > > > This needn't be a disaster. 'apt -f install' fixes the dependencies. > > > > > 'apt install ./foo.deb' (if .deb is in the current directory) will kill > both birds with a single stone it appears (famous final weasel words). Stoatly agree with you. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2018-08-13 18:00 +0200 |
| Message-ID | <wmnqa-7Yt-17@gated-at.bofh.it> |
| In reply to | #198718 |
On Mon 13 Aug 2018 at 17:49:08 +0200, tomas@tuxteam.de wrote: > On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote: > > On Mon, 13 Aug 2018 06:47:02 -0500 > > Richard Owlett <rowlett@cloud85.net> wrote: > > > > > PREAMBLE: > > > I've downloaded a .deb file. > > > I've recently done such an install but don't remember how. > > > Looking at the man pages for apt, apt-get, aptitude didn't help. > > > Couldn't come up with useful search term for wiki. > > > Eventually recalled "dpkg -i" which worked. > > > > > > QUESTION: > > > How would someone find the answer if the answer wasn't already known? > > > I went thru the same sequence last time. > > > > > > > I use gdebi to install local .deb files. It handles the dependencies, > > too. > > As I said already, dpkg does install dependencies. Actually, I don't > know any (Debian) tool which wouldn't, by default. I don't think it does, y'know. That's why apt-get was created. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Cindy-Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Date | 2018-08-14 19:50 +0200 |
| Message-ID | <wmLC9-5uX-3@gated-at.bofh.it> |
| In reply to | #198720 |
On 8/13/18, Brian <ad44@cityscape.co.uk> wrote:
> On Mon 13 Aug 2018 at 17:49:08 +0200, tomas@tuxteam.de wrote:
>
>> On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote:
>> > On Mon, 13 Aug 2018 06:47:02 -0500
>> > Richard Owlett <rowlett@cloud85.net> wrote:
>> >
>> > > PREAMBLE:
>> > > I've downloaded a .deb file.
>> > > I've recently done such an install but don't remember how.
>> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
>> > > Couldn't come up with useful search term for wiki.
>> > > Eventually recalled "dpkg -i" which worked.
>> > >
>> > > QUESTION:
>> > > How would someone find the answer if the answer wasn't already known?
>> > > I went thru the same sequence last time.
>> > >
>> >
>> > I use gdebi to install local .deb files. It handles the dependencies,
>> > too.
>>
>> As I said already, dpkg does install dependencies. Actually, I don't
>> know any (Debian) tool which wouldn't, by default.
>
> I don't think it does, y'know. That's why apt-get was created.
I always need someone else to say the right thing to trigger thoughts.
That's a good one there. Dpkg DOES complain about, i.e. dpkg DOES name
the right dependencies that are missing. It just doesn't go that extra
mile to help bring them on home.
To date, I've been lucky when going that route on occasionally regular
occasion. The list of dependencies has been short... as has the list
of secondary (?) dependencies that the immediately relevant
dependencies... depend on to do THEIR own part of the whole. Each one
needed has to be singularly tracked down and then installed.
Very manual process. If you're into really "seeing" how things
interact, that's one route that'll help catch a quick peek...
including learning how to track down more packages *that won't kill
your system* if those dependencies aren't immediately available
through one's favored package repository. I invariably end up
distracted by something shiny incidentally discovered when I
absolutely have to go that route..
Cindy :)
--
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* Minutes from submitting my very first official Linux patch ever... \
Unless someone beats me to it in 3...2...1 *
[toc] | [prev] | [next] | [standalone]
| From | Jason <electron@emypeople.net> |
|---|---|
| Date | 2018-08-15 13:10 +0200 |
| Message-ID | <wn1QC-6Qe-19@gated-at.bofh.it> |
| In reply to | #198786 |
On Tue, Aug 14, 2018 at 01:47:25PM -0400, Cindy-Sue Causey wrote: > On 8/13/18, Brian <ad44@cityscape.co.uk> wrote: > > On Mon 13 Aug 2018 at 17:49:08 +0200, tomas@tuxteam.de wrote: > > > >> On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote: > >> > On Mon, 13 Aug 2018 06:47:02 -0500 > >> > Richard Owlett <rowlett@cloud85.net> wrote: SNIP... > >> As I said already, dpkg does install dependencies. Actually, I don't > >> know any (Debian) tool which wouldn't, by default. > > > > I don't think it does, y'know. That's why apt-get was created. > > > I always need someone else to say the right thing to trigger thoughts. > That's a good one there. Dpkg DOES complain about, i.e. dpkg DOES name > the right dependencies that are missing. It just doesn't go that extra > mile to help bring them on home. Maybe you'd find this command relevant when installing packages manually: apt-get --print-uris --yes install $PACKAGE_NAME | grep ^\' | cut -d\' -f2 creates a list of needed downloads to install $PACKAGE_NAME. I don't know who gets the credit for that one but it seems pretty nifty. > To date, I've been lucky when going that route on occasionally regular > occasion. The list of dependencies has been short... as has the list > of secondary (?) dependencies that the immediately relevant > dependencies... depend on to do THEIR own part of the whole. Each one > needed has to be singularly tracked down and then installed. > > Very manual process. If you're into really "seeing" how things > interact, that's one route that'll help catch a quick peek... > including learning how to track down more packages *that won't kill > your system* if those dependencies aren't immediately available > through one's favored package repository. I invariably end up > distracted by something shiny incidentally discovered when I > absolutely have to go that route.. > > Cindy :) -- Jason
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2018-08-14 04:10 +0200 |
| Message-ID | <wmwWu-5gm-5@gated-at.bofh.it> |
| In reply to | #198718 |
On Mon, 13 Aug 2018 17:49:08 +0200 <tomas@tuxteam.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote: > > On Mon, 13 Aug 2018 06:47:02 -0500 > > Richard Owlett <rowlett@cloud85.net> wrote: > > > > > PREAMBLE: > > > I've downloaded a .deb file. > > > I've recently done such an install but don't remember how. > > > Looking at the man pages for apt, apt-get, aptitude didn't help. > > > Couldn't come up with useful search term for wiki. > > > Eventually recalled "dpkg -i" which worked. > > > > > > QUESTION: > > > How would someone find the answer if the answer wasn't already > > > known? I went thru the same sequence last time. > > > > > > > I use gdebi to install local .deb files. It handles the > > dependencies, too. > > As I said already, dpkg does install dependencies. Actually, I don't > know any (Debian) tool which wouldn't, by default. It never did for me. Not when I was using Sarge, Etch and Wheezy, that is. Also, apt-get wouldn't install a downloaded and locally saved .deb file either. I'm sure those caveats have been corrected with apt, but I've yet to try under Stretch. Gdebi still works just fine. To each his own. B
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2018-08-14 09:00 +0200 |
| Message-ID | <wmBt7-7VN-1@gated-at.bofh.it> |
| In reply to | #198738 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Aug 13, 2018 at 07:05:33PM -0700, Patrick Bartek wrote: > On Mon, 13 Aug 2018 17:49:08 +0200 > <tomas@tuxteam.de> wrote: [...] > > As I said already, dpkg does install dependencies. Actually, I don't > > know any (Debian) tool which wouldn't, by default. > > It never did for me [...] I already retracted somewhere else in this thread-forest. Sorry. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAltyfREACgkQBcgs9XrR2kYZdACdHq+hfsnjw0dBNMH+Y5J/IQJG otMAn0hL38SYJOYiPTrhwvLvAE0zahe4 =Waq6 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2018-08-14 17:00 +0200 |
| Message-ID | <wmIXD-3Vg-5@gated-at.bofh.it> |
| In reply to | #198744 |
On Tue, 14 Aug 2018 08:56:17 +0200 <tomas@tuxteam.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, Aug 13, 2018 at 07:05:33PM -0700, Patrick Bartek wrote: > > On Mon, 13 Aug 2018 17:49:08 +0200 > > <tomas@tuxteam.de> wrote: > > [...] > > > > As I said already, dpkg does install dependencies. Actually, I > > > don't know any (Debian) tool which wouldn't, by default. > > > > It never did for me [...] > > I already retracted somewhere else in this thread-forest. Sorry. I saw it, but not until after I replied to your message. No apology needed. Live and learn. B
[toc] | [prev] | [next] | [standalone]
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
Back to top | Article view | linux.debian.user
csiph-web