unable to add PPA by its sources.list line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Properties |
Confirmed
|
Undecided
|
Unassigned | ||
software-properties (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce:
1. Have Ubuntu 23.10 installed
2. Run
```
sudo apt-key adv --keyserver keyserver.
sudo add-apt-repository -y "deb http://
sudo add-apt-repository -y "deb http://
```
Expected results:
* key added, two repositories are added to the relevant *.list files at /etc/apt/
Actual results:
* relevant *.list files at /etc/apt/
```
$ sudo add-apt-repository -y "deb http://
Repository: 'deb http: //ppa.launchpad
Components:
'
Description:
This PPA contains VTE library from Ubuntu 20.04 LTS which is not affected by stupid bug https:/
This PPA is useful for Ubuntu 22.04 LTS, Debian 11 (bullseye) and Debian 12 (bookworm).
As usual one can always remove this PPA and downgrade VTE packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/vte`.
More info: https:/
Adding repository.
E: Malformed entry 1 in sources file /etc/apt/
E: The list of sources could not be read.
$ sudo add-apt-repository -y "deb http://
Repository: 'deb http: //ppa.launchpad
Components:
'
Description:
This PPA provides patched libwnck3 package to fix https:/
See details at https:/
This PPA is useful for Ubuntu 22.04 LTS and Debian 12 (bookworm).
As usual one can always remove this PPA and downgrade WNCK packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/wnck`.
More info: https:/
Adding repository.
Found existing deb entry in /etc/apt/
E: Malformed entry 1 in sources file /etc/apt/
E: The list of sources could not be read.
$ sudo apt-get update
E: Malformed entry 1 in sources file /etc/apt/
E: The list of sources could not be read.
```
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: software-
ProcVersionSign
Uname: Linux 6.5.0-5-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME-Flashback
Date: Sun Sep 24 14:02:10 2023
PackageArchitec
SourcePackage: software-properties
UpgradeStatus: Upgraded to mantic on 2023-04-13 (164 days ago)
modified.
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile.
Related branches
- Julian Andres Klode: Approve
-
Diff: 26 lines (+10/-5)1 file modifiedsoftwareproperties/ppa.py (+10/-5)
tags: | added: rls-mm-incoming |
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
Changed in software-properties: | |
status: | New → Confirmed |
tags: | added: foundations-todo |
tags: | removed: rls-mm-incoming |
tags: | added: noble |
tags: | added: rls-nn-incoming |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → In Progress |
tags: | removed: rls-nn-incoming |
The same happens with clean Docker Ubuntu Mantic image, see below:
``` FRONTEND= noninteractive; apt-get -qq update && apt-get -qq dist-upgrade > /dev/null && apt-get -qq install software- properties- common apt-utils > /dev/null; cat /etc/os-release; apt-key adv --keyserver keyserver. ubuntu. com --recv E756285F30DB2B2 BB35012E219BFCA F5168D33A9; add-apt-repository -y 'deb http:// ppa.launchpad. net/nrbrtx/ vte/ubuntu jammy main'; add-apt-repository -y 'deb http:// ppa.launchpad. net/nrbrtx/ wnck/ubuntu jammy main'; apt-get update" CODENAME= mantic /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= mantic key-gpghome. DbFMKGlJc8/ gpg.1.sh --keyserver keyserver. ubuntu. com --recv E756285F30DB2B2 BB35012E219BFCA F5168D33A9 .net/nrbrtx/ vte/ubuntu jammy main /pad.lv/ 1922276 . So user will be able to select all terminal output with full scroll-back in MATE Terminal and other VTE-based terminals as it is expected.
$ docker run -it --rm ubuntu:mantic bash -c "export DEBIAN_
debconf: delaying package configuration, since apt-utils is not installed
debconf: delaying package configuration, since apt-utils is not installed
PRETTY_NAME="Ubuntu Mantic Minotaur (development branch)"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
LOGO=ubuntu-logo
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-
gpg: key 19BFCAF5168D33A9: public key "Launchpad PPA for Norbert" imported
gpg: Total number processed: 1
gpg: imported: 1
Repository: 'deb http: //ppa.launchpad
Components:
'
Description:
This PPA contains VTE library from Ubuntu 20.04 LTS which is not affected by stupid bug https:/
This PPA is useful for Ubuntu 22.04 LTS, Debian 11 (bullseye) and Debian 12 (bookworm).
As usual one can always remove this PPA and downgrade VTE packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/vte`. /launchpad. net/~nrbrtx/ +archive/ ubuntu/ vte sources. list.d/ nrbrtx- ubuntu- vte-mantic. sources (URI) .net/nrbrtx/ wnck/ubuntu jammy main /github. com/mate- desktop/ mate-panel/ issues/ 1230 and https:/ /pad.lv/ 1947420 . /github. com/mate- desktop/ mate-panel/ issues/ 1230#issuecomme nt-997422612 .
More info: https:/
Adding repository.
E: Malformed entry 1 in sources file /etc/apt/
E: The list of sources could not be read.
Repository: 'deb http: //ppa.launchpad
Components:
'
Description:
This PPA provides patched libwnck3 package to fix https:/
See details at https:/
This PPA is useful for Ubuntu 22.04 LTS and Debian 12 (bookworm).
As usual one can always remove this PPA and downgrade WNCK packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/wnck`. /launchpad. net/~nrbrtx/ +archive/ ubuntu/ wnck sources. list.d/ nrbrtx- ubuntu- vte-mantic. sources sources. list.d/ nrbrtx- ubuntu- vte-mantic. sources (URI)
More info: https:/
Adding repository.
Found existing deb entry in /etc/apt/
E: Malformed entry 1 in sources file /etc/apt/
E: The list of sources could not be read.
E: Malforme...