Public bug reported:

Before `apt modernize-sources` reading from my PPA works. Afterwards the
PPA is not longer trusted:

$ sudo apt-get update

$ sudo apt-get update && sudo apt-get dist-upgrade
[sudo: authenticate] Password:         
Get:1 https://ppa.launchpadcontent.net/xypron/stubble/ubuntu resolute InRelease 
[20.0 kB]
Get:2 https://ppa.launchpadcontent.net/xypron/stubble/ubuntu resolute/main 
Sources [2592 B]
Hit:3 http://ports.ubuntu.com/ubuntu-ports resolute InRelease                   
                                                                                
                     
...
Fetched 11.8 MB in 15s (772 kB/s)                                               
                                                                                
                     
Reading package lists... Done
N: Some sources can be modernized. Run 'apt modernize-sources' to do so.
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4062 
(unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your 
system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is 
another process using it?


/etc/apt/sources.list.d/extra-ppas.list has this content:

deb https://ppa.launchpadcontent.net/xypron/stubble/ubuntu resolute main
deb-src https://ppa.launchpadcontent.net/xypron/stubble/ubuntu resolute main

$ sudo apt modernize-sources 
Modernizing /etc/apt/sources.list.d/extra-ppas.list...
- Writing /etc/apt/sources.list.d/extra-ppas.sources
Warning: Could not determine Signed-By for URIs: 
https://ppa.launchpadcontent.net/xypron/stubble/ubuntu/, Suites: resolute

$ sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports resolute InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports resolute-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports resolute-backports InRelease         
  
Hit:4 https://ppa.launchpadcontent.net/xypron/stubble/ubuntu resolute InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports resolute-security InRelease
Reading package lists... Done
N: Missing Signed-By in the sources.list(5) entry for 
'https://ppa.launchpadcontent.net/xypron/stubble/ubuntu'

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161066

Title:
  apt modernize source does not add ppa signatures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2161066/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to