apt-get installation prompt on ubuntu 18.04 does not work

Bug #1793437 reported by Shraiysh Vaishay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

OS : Ubuntu 18.04 LTS
Package version : 2.6.1-0~201808202208~ubuntu18.04.1

What I did : I went to the URL https://launchpad.net/~rednotebook/+archive/ubuntu/stable and copied the line `sudo apt-get install rednotebook` by triple clicking on any one letter. This takes the new-line characters(2 in this case) with the line and so when I put this command on my terminal, the first new-line character works as the Enter key, but the second new line character goes with 'y' or 'Y' when asked for permission. As \nY is not same as Y, it aborts.

`After this operation, 2,160 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Abort.`

Expected : The setup should continue.

Happened : The setup aborts due to a possible extra new-line character.

Can we ignore the new-line characters which come with prompt response to get user's correct opinion on Y/n?

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote :

This behaviour is caused by the "apt" program, not by RedNotebook.

Changed in rednotebook (Ubuntu):
status: New → Invalid
Revision history for this message
Julian Andres Klode (juliank) wrote :

We do not care about the case of the expression, so both y and Y do work. Are you sure there has not been any other input before the Y like a space?

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Shraiysh Vaishay (shraiysh) wrote :

I've edited the question. Thanks @juliank for the comment. It was possibly a white space character there!

description: updated
summary: - apt installation on ubuntu 18.04 works only with 'y' and not with 'Y'.
+ apt-get installation prompt on ubuntu 18.04 does not work
Changed in apt (Ubuntu):
status: Incomplete → New
information type: Public → Public Security
information type: Public Security → Public
no longer affects: rednotebook (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.