Video codecs for 20.04 LTS?

Ralf Mardorf kde.lists at yahoo.com
Wed Dec 8 14:35:41 UTC 2021


On Wed, 8 Dec 2021 14:10:15 +0000, Colin Watson wrote:
>On Wed, Dec 08, 2021 at 10:45:30AM +0100, Ralf Mardorf via
>ubuntu-users wrote:
>> the linked article wasn't written by somebody familiar with apt.
>> 
>> 
>> apt install /path/local_package.deb
>> 
>> _does_ resolve dependencies available by repositories.
>> 
>> 
>> apt-get install /path/local_package.deb
>> 
>> _does not_ resolve dependencies.  
>
>This particular point about apt-get can easily be verified to be
>untrue. I tested as far back as xenial:
>
>  # apt-get install ./putty_0.67-3+deb9u1build0.16.04.1_amd64.deb
>  Reading package lists... Done
>  Building dependency tree
>  Reading state information... Done
>  Note, selecting 'putty' instead of
> './putty_0.67-3+deb9u1build0.16.04.1_amd64.deb' The following
> additional packages will be installed: fontconfig fontconfig-config
> fonts-dejavu-core hicolor-icon-theme [...]
>
>It makes sense to advise using apt for brevity and since its UI is
>generally a bit cleaner, and it certainly makes sense to advise using a
>single-step process rather than dpkg -i followed by apt install -f; but
>please don't do it by perpetuating unnecessarily confusing myths!

I suspected another mistake, in particular I suspected that I
didn't remember correctly and "apt-get install ./local_package.deb"
doesn't work at all. However, not that long ago dpkg -i + apt-get -f or
alternatively gdebi needed to be used. Some day apt install replaced the
dpkg -i + apt-get -f/gdebi approach.
Much likely "apt-get install ./local_package.deb" to resolve
dependencies by repos is relatively new to apt-get.




More information about the ubuntu-users mailing list