Re: Feature request: install package by passing URL to apt-get

2025-03-04 Thread Yassine Chaouche
Le 3/3/25 à 16:40, Greg Wooledge a écrit : On Mon, Mar 03, 2025 at 15:44:11 +0100, Yassine Chaouche wrote: dpkg won't install missing dependencies. gdebi will. So will apt-get and apt. It's just undocumented. apt install ./filename.deb apt-get install ./filename.deb The pathname MUST begin

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Darac Marjal
On 03/03/2025 11:49, Steven Speek wrote: I would like this feature in apt-get. Counter Proposal: Ask whomever is providing you the packge, to offer it as a Debian Repository. That way, your custom application is just a "extrepo enable " away. OpenPGP_signature.asc Description: OpenPGP digita

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Greg Wooledge
On Mon, Mar 03, 2025 at 15:44:11 +0100, Yassine Chaouche wrote: > Le 3/3/25 à 15:25, Joe a écrit : > > You can install any random .deb package from any source using dpkg [...] > > dpkg won't install missing dependencies. > gdebi will. So will apt-get and apt. It's just undocumented. apt install

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Yassine Chaouche
Le 3/3/25 à 15:25, Joe a écrit : You can also compile software source code[...]> This is not a trivial task. I find configure, make, sudo make install often very simple. So I'd say it depends on the software. Sometimes you're missing header files, in which case configure kindly shows you exac

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Alex Mestiashvili
On 3/3/25 15:42, Yassine Chaouche wrote: Le 3/3/25 à 15:25, Joe a écrit : You can also compile software source code[...]> This is not a trivial task. I find configure, make, sudo make install often very simple. So I'd say it depends on the software. Sometimes you're missing header files, in

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Yassine Chaouche
Le 3/3/25 à 15:25, Joe a écrit : You can install any random .deb package from any source using dpkg [...] dpkg won't install missing dependencies. gdebi will. Best, -- yassine -- sysadm http://about.me/ychaouche Looking for side gigs.

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Jeffrey Walton
On Mon, Mar 3, 2025 at 8:22 AM Alex Mestiashvili wrote: > > On 3/3/25 12:49, Steven Speek wrote: > > I would like this feature in apt-get. > > This is a disaster feature from my point of view. Debian packages are > installed with root privileges, however, many systems are configured to > allow use

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Richard Owlett
On 3/3/25 7:10 AM, Andy Smith wrote: Hi, On Mon, Mar 03, 2025 at 12:49:11PM +0100, Steven Speek wrote: I would like this feature in apt-get. Since this is just a mailing list of Debian users, no one here is empowered to do what you ask. The proper procedure would be to report it as a wishlis

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Richard Owlett
On 3/3/25 5:49 AM, Steven Speek wrote: I would like this feature in apt-get. Exactly *WHAT* feature?? You supply *NO* context. Also this list is primarily user-to-user support.

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Richard Owlett
On 3/3/25 6:56 AM, Greg Wooledge wrote: On Mon, Mar 03, 2025 at 06:14:40 -0600, Richard Owlett wrote: On 3/3/25 5:49 AM, Steven Speek wrote: I would like this feature in apt-get. Exactly *WHAT* feature?? You supply *NO* context. This is why I advise people NOT to put the de

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Alex Mestiashvili
On 3/3/25 12:49, Steven Speek wrote: I would like this feature in apt-get. This is a disaster feature from my point of view. Debian packages are installed with root privileges, however, many systems are configured to allow users to use sudo to install packages from configured and trusted rep

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Andy Smith
Hi, On Mon, Mar 03, 2025 at 12:49:11PM +0100, Steven Speek wrote: > I would like this feature in apt-get. Since this is just a mailing list of Debian users, no one here is empowered to do what you ask. The proper procedure would be to report it as a wishlist bug on apt-get in the Debian bug trac

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Yassine Chaouche
Le 3/3/25 à 13:14, Richard Owlett a écrit : On 3/3/25 5:49 AM, Steven Speek wrote: I would like this feature in apt-get. Exactly *WHAT* feature?? You supply *NO* context. Also this list is primarily user-to-user support. Happy now? Look how angry you made Steven Speek now.

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Greg Wooledge
On Mon, Mar 03, 2025 at 06:14:40 -0600, Richard Owlett wrote: > On 3/3/25 5:49 AM, Steven Speek wrote: > > I would like this feature in apt-get. > > > > Exactly *WHAT* feature?? > You supply *NO* context. This is why I advise people NOT to put the details of their request only in

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Dan Ritter
Steven Speek wrote: > I would like this feature in apt-get. Until then, you can use wget to retrieve the URL and apt install to install from the filename. In general, this is rather dangerous, and should probably be avoided. There may be better solutions, depending on the context of where these

Re: Feature request: install package by passing URL to apt-get

2025-03-03 Thread Steven Speek
I would like this feature in apt-get.

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-27 Thread Jonathan Dowland
On Fri, Jun 24, 2022 at 07:02:35AM +, Andrew M.A. Cater wrote: Train your brain and your fingers to move the rf to the end of the command so that you _have_ to check what filename you are typing as you type it. I set a shell alias alias rm='echo use trash instead' This was enough to t

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-25 Thread Joel Roth
On Sat, Jun 25, 2022 at 09:45:58AM -0400, Greg Wooledge wrote: > On Fri, Jun 24, 2022 at 07:42:25PM -1000, Joel Roth wrote: > > I list the files first: > > > > ls some-pattern > > > > then add a pipe to rm: > > > > ls some-pattern | rm > > > > or > > > > ls some-pattern | rm -rf > > Those co

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-25 Thread Greg Wooledge
On Fri, Jun 24, 2022 at 07:42:25PM -1000, Joel Roth wrote: > I list the files first: > > ls some-pattern > > then add a pipe to rm: > > ls some-pattern | rm > > or > > ls some-pattern | rm -rf Those commands do not work. rm does not read a list of files from stdin. Even if you were to add

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-24 Thread Joel Roth
On Fri, Jun 24, 2022 at 07:02:35AM +, Andrew M.A. Cater wrote: > There are a couple of useful habits to get into when removing things: > > There's an > > rm -i > Use the pwd command to check where you are in the > filesystem. (It may be short for "print working > directory"). > If you

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Bijan Soleymani
On 6/24/2022 2:24 PM, David Wright wrote: This strikes me as a nightmare waiting to happen. There was probably a similar feeling when .deb and dpkg and apt rolled out. I think you made this up. I'm sure there were some people who were happy enough with Slackware when dpkg was evolving, but I ne

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread David Wright
On Wed 22 Jun 2022 at 18:21:10 (-0400), Bijan Soleymani wrote: > On 6/22/2022 5:22 PM, Charles Curley wrote: > > On Wed, 22 Jun 2022 16:25:02 -0400 Bijan Soleymani wrote: > > > > > Anyways it would be nice to do: > > > > > > apt install http://domain/filename.deb > > This strikes me as a nightma

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-24 Thread David Wright
On Fri 24 Jun 2022 at 08:48:05 (-0400), rhkra...@gmail.com wrote: > On Friday, June 24, 2022 03:02:35 AM Andrew M.A. Cater wrote: > > The last suggestion, and it's the simplest: > > > > rm [filename] -rf > > > > Train your brain and your fingers to move the rf to the end of the command > > so th

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Bijan Soleymani
On 6/24/2022 10:03 AM, Bijan Soleymani wrote: To me anytime you need to use su or sudo to do something, you should not think it is harmless, no matter how simple or easy. Although all that being said, I remember a long time ago getting into a situation with apt or dpkg (removing libc or ins

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Bijan Soleymani
Hi Didier, On 6/24/2022 4:36 AM, didier gaumet wrote: Le jeudi 23 juin 2022 à 16:27 -0400, Bijan Soleymani a écrit : rm wrongfile how do I undelete? better put deleted files in the "recycling box" and prompt users on every deletion by default rm -rf / oops! sigh... Bijan Hello, Please o

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Greg Wooledge
On Fri, Jun 24, 2022 at 09:17:40AM -0400, Bijan Soleymani wrote: > On 6/24/2022 4:48 AM, Jonathan Dowland wrote: > > On Wed, Jun 22, 2022 at 03:22:30PM -0600, Charles Curley wrote: > > > How do you handle dependencies where there is a version of the > > > dependency on the server, and another versi

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Bijan Soleymani
On 6/24/2022 4:01 AM, Darac Marjal wrote: On 22/06/2022 18:04, Person the human wrote: I just want to get everyone's opinion on this before I request it from the developers or possibly try to add it myself. Would it be nice if it was possible to pass a URL to 'apt install' so that a package

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Bijan Soleymani
On 6/24/2022 4:48 AM, Jonathan Dowland wrote: On Wed, Jun 22, 2022 at 03:22:30PM -0600, Charles Curley wrote: How do you handle dependencies where there is a version of the dependency on the server, and another version on a repo in the user's sources.list? Multiple nested dependencies? You don

Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-24 Thread rhkramer
On Friday, June 24, 2022 03:02:35 AM Andrew M.A. Cater wrote: > The last suggestion, and it's the simplest: > > rm [filename] -rf > > Train your brain and your fingers to move the rf to the end of the command > so that you _have_ to check what filename you are typing as you type it. > > If you

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread didier gaumet
Le jeudi 23 juin 2022 à 16:27 -0400, Bijan Soleymani a écrit : > > rm wrongfile > > how do I undelete? > > better put deleted files in the "recycling box" and prompt users on > every deletion by default > > rm -rf / > > oops! > > sigh... > > Bijan Hello, Please open a new thread when y

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Jonathan Dowland
On Wed, Jun 22, 2022 at 03:22:30PM -0600, Charles Curley wrote: How do you handle dependencies where there is a version of the dependency on the server, and another version on a repo in the user's sources.list? Multiple nested dependencies? You don't: just like "apt install ./foo.deb", apt take

Re: Feature request: install package by passing URL to apt-get

2022-06-24 Thread Darac Marjal
On 22/06/2022 18:04, Person the human wrote: I just want to get everyone's opinion on this before I request it from the developers or possibly try to add it myself. Would it be nice if it was possible to pass a URL to 'apt install' so that a package could be installed without first downloadin

Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]

2022-06-24 Thread Andrew M.A. Cater
On Thu, Jun 23, 2022 at 04:27:28PM -0400, Bijan Soleymani wrote: > On 6/23/2022 12:03 PM, Person the human wrote: > > The easier something is to do, the more harmless people will think it > > is, so you're right. Thanks. > > rm wrongfile > > how do I undelete? > > better put deleted files in the

Re: Feature request: install package by passing URL to apt-get

2022-06-23 Thread Charles Curley
On Thu, 23 Jun 2022 16:27:28 -0400 Bijan Soleymani wrote: > better put deleted files in the "recycling box" and prompt users on > every deletion by default > > rm -rf / > > oops! Better yet, have proper backups. https://charlescurley.com/blog/posts/2019/Nov/02/backups-on-linux/ -- Does any

Re: Feature request: install package by passing URL to apt-get

2022-06-23 Thread Dan Ritter
Bijan Soleymani wrote: > On 6/23/2022 12:03 PM, Person the human wrote: > > The easier something is to do, the more harmless people will think it > > is, so you're right. Thanks. > > rm wrongfile > > how do I undelete? > > better put deleted files in the "recycling box" and prompt users on ever

Re: Feature request: install package by passing URL to apt-get

2022-06-23 Thread Charles Curley
On Wed, 22 Jun 2022 14:34:41 -0230 Person the human wrote: > Would it be nice if it was possible to pass a URL to 'apt install' so > that a package could be installed without first downloading its .deb > file? I think it's good because it can save time and prevent unneeded > damage to SSDs. Even

Re: Feature request: install package by passing URL to apt-get

2022-06-23 Thread Bijan Soleymani
On 6/23/2022 12:03 PM, Person the human wrote: The easier something is to do, the more harmless people will think it is, so you're right. Thanks. rm wrongfile how do I undelete? better put deleted files in the "recycling box" and prompt users on every deletion by default rm -rf / oops! s

Re: Feature request: install package by passing URL to apt-get

2022-06-23 Thread Person the human
The easier something is to do, the more harmless people will think it is, so you're right. Thanks. On Wed, Jun 22, 2022 at 5:56 PM Dan Ritter wrote: > Person the human wrote: > > Having this feature won't help me personally since I'm not using an SSD > and > > I don't download packages from the

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread tomas
On Wed, Jun 22, 2022 at 06:21:10PM -0400, Bijan Soleymani wrote: [...] > > This strikes me as a nightmare waiting to happen. > > There was probably a similar feeling when .deb and dpkg and apt rolled out. > Users are going to have dependency issues, etc. If libc breaks on upgrade > then everyth

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Bijan Soleymani
On 6/22/2022 5:22 PM, Charles Curley wrote: On Wed, 22 Jun 2022 16:25:02 -0400 Bijan Soleymani wrote: Anyways it would be nice to do: apt install http://domain/filename.deb too. Wonder if there's some optimal/convenient way to handle dependencies if they're on the same server too. How do yo

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Charles Curley
On Wed, 22 Jun 2022 16:25:02 -0400 Bijan Soleymani wrote: > Anyways it would be nice to do: > > apt install http://domain/filename.deb > > too. Wonder if there's some optimal/convenient way to handle > dependencies if they're on the same server too. How do you handle dependencies where there

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Dan Ritter
Person the human wrote: > Having this feature won't help me personally since I'm not using an SSD and > I don't download packages from the internet often. The reason I wanted this > to be built into apt is so that websites that would normally link to a file > and tell users to download it could in

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Greg Wooledge
On Wed, Jun 22, 2022 at 04:25:02PM -0400, Bijan Soleymani wrote: > I think you can now do: > > apt install filename.deb Close. It has to begin with / or ./ or ../ or else it won't be seen as a filename. apt install ./filename.deb

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Bijan Soleymani
On 6/22/2022 1:04 PM, Person the human wrote: I just want to get everyone's opinion on this before I request it from the developers or possibly try to add it myself. Would it be nice if it was possible to pass a URL to 'apt install' so that a package could be installed without first downloadin

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Person the human
Having this feature won't help me personally since I'm not using an SSD and I don't download packages from the internet often. The reason I wanted this to be built into apt is so that websites that would normally link to a file and tell users to download it could instead just give users a command t

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Charles Curley
On Wed, 22 Jun 2022 14:34:41 -0230 Person the human wrote: > Would it be nice if it was possible to pass a URL to 'apt install' so > that a package could be installed without first downloading its .deb > file? How do you install it without first pulling it in? > I think it's good because it can

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread Dan Ritter
Person the human wrote: > I just want to get everyone's opinion on this before I request it from the > developers or possibly try to add it myself. > > Would it be nice if it was possible to pass a URL to 'apt install' so that > a package could be installed without first downloading its .deb file

Re: Feature request: install package by passing URL to apt-get

2022-06-22 Thread David Wright
On Wed 22 Jun 2022 at 14:34:41 (-0230), Person the human wrote: > I just want to get everyone's opinion on this before I request it from the > developers or possibly try to add it myself. > > Would it be nice if it was possible to pass a URL to 'apt install' so that > a package could be installed

Feature request: install package by passing URL to apt-get

2022-06-22 Thread Person the human
I just want to get everyone's opinion on this before I request it from the developers or possibly try to add it myself. Would it be nice if it was possible to pass a URL to 'apt install' so that a package could be installed without first downloading its .deb file? I think it's good because it can