ppa-purge misbehaves if repository update fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppa-purge (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
If the repository update(s) fail(s), e.g. because no internet connection is available, `ppa-purge`
* reports success of operations which can't be true and isn't
* deactivates the entry in `/etc/apt/
An example output of an invocation with failing repository update:
$ sudo ppa-purge ppa:oibaf/
Updating packages lists
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
PPA to be removed: oibaf graphics-drivers
Package revert list generated:
libdrm-
libdrm-
libdrm-
libdrm2:
libegl1-
libgbm1:
libgl1-
libgl1-
libgles1-
libgles2-
libva-
libva-
libva-
libvdpau-
libvdpau1-
libvorbis0a
libvorbisen
libwayland-
libxatracke
mesa-
xserver-
xserver-
Disabling oibaf PPA from
/etc/
Updating packages lists
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'wily' for 'libdrm-amdgpu1' was not found
E: Release 'wily' for 'libdrm-
E: Release 'wily' for 'libdrm-dev' was not found
E: Release 'wily' for 'libdrm-intel1' was not found
E: Release 'wily' for 'libdrm-
E: Release 'wily' for 'libdrm-nouveau2' was not found
E: Release 'wily' for 'libdrm-
E: Release 'wily' for 'libdrm-radeon1' was not found
E: Release 'wily' for 'libdrm-
E: Release 'wily' for 'libdrm2' was not found
E: Release 'wily' for 'libdrm2:i386' was not found
E: Release 'wily' for 'libegl1-mesa' was not found
E: Release 'wily' for 'libegl1-mesa:i386' was not found
E: Release 'wily' for 'libegl1-mesa-dev' was not found
E: Release 'wily' for 'libgbm-dev' was not found
E: Release 'wily' for 'libgbm1' was not found
E: Release 'wily' for 'libgbm1:i386' was not found
E: Release 'wily' for 'libgl1-mesa-dev' was not found
E: Release 'wily' for 'libgl1-mesa-dri' was not found
E: Release 'wily' for 'libgl1-
E: Release 'wily' for 'libgl1-mesa-glx' was not found
E: Release 'wily' for 'libgl1-
E: Release 'wily' for 'libglapi-mesa' was not found
E: Release 'wily' for 'libglapi-
E: Release 'wily' for 'libgles1-mesa' was not found
E: Release 'wily' for 'libgles1-mesa-dev' was not found
E: Release 'wily' for 'libgles2-mesa' was not found
E: Release 'wily' for 'libgles2-mesa-dev' was not found
E: Release 'wily' for 'libosmesa6' was not found
E: Release 'wily' for 'libosmesa6:i386' was not found
E: Release 'wily' for 'libva-dev' was not found
E: Release 'wily' for 'libva-drm1' was not found
E: Release 'wily' for 'libva-egl1' was not found
E: Release 'wily' for 'libva-glx1' was not found
E: Release 'wily' for 'libva-tpi1' was not found
E: Release 'wily' for 'libva-wayland1' was not found
E: Release 'wily' for 'libva-x11-1' was not found
E: Release 'wily' for 'libva1' was not found
E: Release 'wily' for 'libva1:i386' was not found
E: Release 'wily' for 'libvdpau-dev' was not found
E: Release 'wily' for 'libvdpau-doc' was not found
E: Release 'wily' for 'libvdpau1' was not found
E: Release 'wily' for 'libvdpau1-dbg' was not found
E: Release 'wily' for 'libvorbis-dbg' was not found
E: Release 'wily' for 'libvorbis-dev' was not found
E: Release 'wily' for 'libvorbis0a' was not found
E: Release 'wily' for 'libvorbis0a:i386' was not found
E: Release 'wily' for 'libvorbisenc2' was not found
E: Release 'wily' for 'libvorbisenc2:
E: Release 'wily' for 'libvorbisfile3' was not found
E: Release 'wily' for 'libwayland-
E: Release 'wily' for 'libwayland-
E: Release 'wily' for 'libxatracker2' was not found
E: Release 'wily' for 'mesa-common-dev' was not found
E: Release 'wily' for 'mesa-vdpau-
E: Release 'wily' for 'xserver-
E: Release 'wily' for 'xserver-
E: Release 'wily' for 'xserver-
E: Release 'wily' for 'xserver-
Unable to find an archive "wily" for the package "libdrm-amdgpu1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-dev"
Unable to find an archive "wily" for the package "libdrm-intel1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-nouveau2"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-radeon1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm2"
Unable to find an archive "wily" for the package "libdrm2:i386"
Unable to find an archive "wily" for the package "libegl1-mesa"
Unable to find an archive "wily" for the package "libegl1-mesa:i386"
Unable to find an archive "wily" for the package "libegl1-mesa-dev"
Unable to find an archive "wily" for the package "libgbm-dev"
Unable to find an archive "wily" for the package "libgbm1"
Unable to find an archive "wily" for the package "libgbm1:i386"
Unable to find an archive "wily" for the package "libgl1-mesa-dev"
Unable to find an archive "wily" for the package "libgl1-mesa-dri"
Unable to find an archive "wily" for the package "libgl1-
Unable to find an archive "wily" for the package "libgl1-mesa-glx"
Unable to find an archive "wily" for the package "libgl1-
Unable to find an archive "wily" for the package "libglapi-mesa"
Unable to find an archive "wily" for the package "libglapi-
Unable to find an archive "wily" for the package "libgles1-mesa"
Unable to find an archive "wily" for the package "libgles1-mesa-dev"
Unable to find an archive "wily" for the package "libgles2-mesa"
Unable to find an archive "wily" for the package "libgles2-mesa-dev"
Unable to find an archive "wily" for the package "libosmesa6"
Unable to find an archive "wily" for the package "libosmesa6:i386"
Unable to find an archive "wily" for the package "libva-dev"
Unable to find an archive "wily" for the package "libva-drm1"
Unable to find an archive "wily" for the package "libva-egl1"
Unable to find an archive "wily" for the package "libva-glx1"
Unable to find an archive "wily" for the package "libva-tpi1"
Unable to find an archive "wily" for the package "libva-wayland1"
Unable to find an archive "wily" for the package "libva-x11-1"
Unable to find an archive "wily" for the package "libva1"
Unable to find an archive "wily" for the package "libva1:i386"
Unable to find an archive "wily" for the package "libvdpau-dev"
Unable to find an archive "wily" for the package "libvdpau-doc"
Unable to find an archive "wily" for the package "libvdpau1"
Unable to find an archive "wily" for the package "libvdpau1-dbg"
Unable to find an archive "wily" for the package "libvorbis-dbg"
Unable to find an archive "wily" for the package "libvorbis-dev"
Unable to find an archive "wily" for the package "libvorbis0a"
Unable to find an archive "wily" for the package "libvorbis0a:i386"
Unable to find an archive "wily" for the package "libvorbisenc2"
Unable to find an archive "wily" for the package "libvorbisenc2:
Unable to find an archive "wily" for the package "libvorbisfile3"
Unable to find an archive "wily" for the package "libwayland-
Unable to find an archive "wily" for the package "libwayland-
Unable to find an archive "wily" for the package "libxatracker2"
Unable to find an archive "wily" for the package "mesa-common-dev"
Unable to find an archive "wily" for the package "mesa-vdpau-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "libdrm-amdgpu1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-dev"
Unable to find an archive "wily" for the package "libdrm-intel1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-nouveau2"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm-radeon1"
Unable to find an archive "wily" for the package "libdrm-
Unable to find an archive "wily" for the package "libdrm2"
Unable to find an archive "wily" for the package "libdrm2:i386"
Unable to find an archive "wily" for the package "libegl1-mesa"
Unable to find an archive "wily" for the package "libegl1-mesa:i386"
Unable to find an archive "wily" for the package "libegl1-mesa-dev"
Unable to find an archive "wily" for the package "libgbm-dev"
Unable to find an archive "wily" for the package "libgbm1"
Unable to find an archive "wily" for the package "libgbm1:i386"
Unable to find an archive "wily" for the package "libgl1-mesa-dev"
Unable to find an archive "wily" for the package "libgl1-mesa-dri"
Unable to find an archive "wily" for the package "libgl1-
Unable to find an archive "wily" for the package "libgl1-mesa-glx"
Unable to find an archive "wily" for the package "libgl1-
Unable to find an archive "wily" for the package "libglapi-mesa"
Unable to find an archive "wily" for the package "libglapi-
Unable to find an archive "wily" for the package "libgles1-mesa"
Unable to find an archive "wily" for the package "libgles1-mesa-dev"
Unable to find an archive "wily" for the package "libgles2-mesa"
Unable to find an archive "wily" for the package "libgles2-mesa-dev"
Unable to find an archive "wily" for the package "libosmesa6"
Unable to find an archive "wily" for the package "libosmesa6:i386"
Unable to find an archive "wily" for the package "libva-dev"
Unable to find an archive "wily" for the package "libva-drm1"
Unable to find an archive "wily" for the package "libva-egl1"
Unable to find an archive "wily" for the package "libva-glx1"
Unable to find an archive "wily" for the package "libva-tpi1"
Unable to find an archive "wily" for the package "libva-wayland1"
Unable to find an archive "wily" for the package "libva-x11-1"
Unable to find an archive "wily" for the package "libva1"
Unable to find an archive "wily" for the package "libva1:i386"
Unable to find an archive "wily" for the package "libvdpau-dev"
Unable to find an archive "wily" for the package "libvdpau-doc"
Unable to find an archive "wily" for the package "libvdpau1"
Unable to find an archive "wily" for the package "libvdpau1-dbg"
Unable to find an archive "wily" for the package "libvorbis-dbg"
Unable to find an archive "wily" for the package "libvorbis-dev"
Unable to find an archive "wily" for the package "libvorbis0a"
Unable to find an archive "wily" for the package "libvorbis0a:i386"
Unable to find an archive "wily" for the package "libvorbisenc2"
Unable to find an archive "wily" for the package "libvorbisenc2:
Unable to find an archive "wily" for the package "libvorbisfile3"
Unable to find an archive "wily" for the package "libwayland-
Unable to find an archive "wily" for the package "libwayland-
Unable to find an archive "wily" for the package "libxatracker2"
Unable to find an archive "wily" for the package "mesa-common-dev"
Unable to find an archive "wily" for the package "mesa-vdpau-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
Unable to find an archive "wily" for the package "xserver-
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
PPA purged successfully using aptitude fallback
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ppa-purge 0.2.8+bzr57
Uname: Linux 4.2.5-040205-
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Tue Nov 10 14:42:53 2015
InstallationDate: Installed on 2015-09-14 (56 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MarkForUpload: True
PackageArchitec
SourcePackage: ppa-purge
SystemImageInfo: Error: command ['system-
UpgradeStatus: Upgraded to wily on 2015-10-23 (17 days ago)
Related branches
- ppa-purge: Pending requested
-
Diff: 1027 lines (+652/-214) (has conflicts)9 files modifieddebian/changelog (+25/-2)
debian/compat (+1/-1)
debian/control (+12/-12)
debian/copyright (+8/-10)
debian/ppa-purge.8 (+98/-0)
debian/ppa-purge.bash-completion (+86/-67)
debian/ppa-purge.manpages (+1/-1)
dev/null (+0/-33)
ppa-purge (+421/-88)
tags: | added: rls-cc-incoming |
This seems like it would be hard to detect.
apt-get update ignores the Warnings, this is useful since many users will have one or more invalid sources in their config
aptitude then gets confused presumably due to inconsistent indexes, and decides there is nothing to do, so no point firing an error