Conversation
'apt install' does not accept .deb files. Use 'dpkg -i' instead.
|
Thanks! |
|
With which version of apt did you test this? It definitely accepts .deb files (and resolves dependencies, which is nice), but that’s a somewhat recent feature. |
|
Whatever was in testing on that date, so 1.5~beta1 according to p.q.d.o. I know i tried several times and it did not work. It was also not mentioned in the manpage that it's supposed to work. But keep in mind these instructions are also used by people still running apt 1.0.1 (until April 2019) and apt 1.2.{15|24} until (April 2021). EDIT: I will check my IRC logs for that day, I remember someone else had that problem. Wouldn't have noticed it otherwise. |
|
Unfortunately it is unclear which distribution the user was on. Log excerpt: Also: |
|
Are you sure you used I tested a bunch of Ubuntu and Debian versions:
Given that we target xenial and sid, I suggest we restore the Does that sound reasonable? |
|
Yes, it does. But on a different note: someone™ should file a bug against apt's manpage. That behaviour is completely undocumented. It's neither mentioned it takes .debs nor that it needs a path instead of a filename. |
|
Bug with apt opened: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874763 |
'apt install' does not accept .deb files. Use 'dpkg -i' instead.