Can't purge if apt-get update fails (18.04)

Bug #1828625 reported by Dima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ppa-purge (Ubuntu)
New
Undecided
Unassigned

Bug Description

I want to purge buggy ppa that makes apt-get update to report error, but I can't because apt-get update reports error. It's a circle.

I can remember a good times when ppa-purge didn't call for apt-get update at all (or that was "add-apt-repository", don't remember...). And everything was ok. I think it's just a wasting of time in the most cases. If I wish to "apt-get update" I'd like to do it manually. But ppa-purge does't have a way to let me avoid it.

The buggy ppa is ppa:swatchbooker/ppa. It doesn't have a Release file for bionic for now so "apt-get update" passes the error to ppa-purge and that's it. One can try to add this repo and then ppa-purge it on Ubuntu bionic.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ppa-purge 0.2.8+bzr63
ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri May 10 23:05:17 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-06-11 (333 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: ppa-purge
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dima (dima2017) wrote :
Revision history for this message
Dima (dima2017) wrote :

And I guess the solution is in deleting "exit 1" on line 120 of bionic ppa-purge script

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.