On 11/21/18, Patrick Bartek <nemomm...@gmail.com> wrote:
> On Wed, 21 Nov 2018 11:21:15 -0500
> Greg Wooledge <wool...@eeg.ccf.org> wrote:
>
>> On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote:
>> > I use gdebi (it's in the repos) to install locally saved .deb files.
>> > Apt-get won't install local files, that is, not in a repo.
>>
>> Yes, it will.  But you have to supply the filename with a
>> leading / or ./ or ../ prefix.
>>
>> sudo apt-get install ./google-chrome-stable*.deb
>
> That never worked for me.  I've tried. Numerous times. Even with
> complete paths, changing to directory where file was, full names, etc.,
> etc. Both with Wheezy & Stretch. Read somewhere when troubleshooting,
> apt-get wouldn't install local .deb.  Only way it would was if you
> created a local repo and put it in your sources.list. Too much
> trouble. That's why I starting using gdebi for those very rare times
> I need to.


Ditto on that experience for me. Didn't work, but can't remember the
(fairly straight up) process to repeat to better understand why not.
Had seen the "./" reference on Debian-User in the last week so I tried
it while consciously thinking, "WHAT are we doing here?!"

In my case, "we" ended up doing nothing because it didn't work. I
dropped it and kept moving while thinking I had simply missed some
setup detail that would have caused success instead of failure.


> Don't know if apt does.  Never tried.
>
> Just occurred to me that since I did customized installs of both Wheezy
> and Stretch (No desktop environment, window manager only) starting with
> a terminal only system that could be why apt-get won't install
> local .deb.  Doesn't matter.  Gdebi works fine.


Have tripped over gdebi a few times in the last year or so. Those
sightings were most likely most often as an apt-get suggested
download. Will have to give it a try now that this thread has
highlighted its usefulness. It's good to have alternative tools when
individual Life needs mandate making difficult package usage
decisions.

We just had that recent thread about playing the escalating dependency
game by hand. I broke one my setups k/t that very thing only hours
after having commented on that same thread. Fix-missing/fix-broken
both shoved a hand in my face while yelling, *Uh-uh, YOU made this
mess, YOU clean it up by yourself!* PS I did clean it up, hence the
newest debootstrap. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

Reply via email to