ppa-purge misbehaves if repository update fails

Bug #1514839 reported by Karl-Philipp Richter
10
This bug affects 1 person
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/sources.list.d` which causes further invocations of `ppa-purge` (with successful update of repositories) to fail as long as the entry isn't reactivated by editing the file and removing the disabling comment

An example output of an invocation with failing repository update:

    $ sudo ppa-purge ppa:oibaf/graphics-drivers
    Updating packages lists
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease

    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease

    W: Failed to fetch http://archive.canonical.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-proposed/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease

    W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/costales/anoise/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1504/x86_64/InRelease

    W: Failed to fetch http://ppa.launchpad.net/diodon-team/daily/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/mc3man/gstffmpeg-keep/ubuntu/dists/vivid/InRelease

    W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/snappy-dev/tools/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease

    W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://repository.spotify.com/dists/stable/Release.gpg Temporary failure resolving 'repository.spotify.com'

    W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1504/x86_64/Release.gpg Temporary failure resolving 'developer.download.nvidia.com'

    W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/costales/anoise/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/diodon-team/daily/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/mc3man/gstffmpeg-keep/ubuntu/dists/vivid/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/snappy-dev/tools/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://archive.canonical.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'archive.canonical.com'

    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-backports/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-proposed/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-updates/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'archive.ubuntu.com'

    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-amdgpu1:amd64/wily libdrm-amdgpu1:i386/wily libdrm-dev:amd64/wily
    libdrm-intel1:amd64/wily libdrm-intel1:i386/wily libdrm-nouveau2:amd64/wily
    libdrm-nouveau2:i386/wily libdrm-radeon1:amd64/wily libdrm-radeon1:i386/wily
    libdrm2:amd64/wily libdrm2:i386/wily libegl1-mesa:amd64/wily
    libegl1-mesa:i386/wily libegl1-mesa-dev:amd64/wily libgbm-dev:amd64/wily
    libgbm1:amd64/wily libgbm1:i386/wily libgl1-mesa-dev:amd64/wily
    libgl1-mesa-dri:amd64/wily libgl1-mesa-dri:i386/wily libgl1-mesa-glx:amd64/wily
    libgl1-mesa-glx:i386/wily libglapi-mesa:amd64/wily libglapi-mesa:i386/wily
    libgles1-mesa:amd64/wily libgles1-mesa-dev:amd64/wily libgles2-mesa:amd64/wily
    libgles2-mesa-dev:amd64/wily libosmesa6:amd64/wily libosmesa6:i386/wily
    libva-dev:amd64/wily libva-drm1:amd64/wily libva-egl1:amd64/wily
    libva-glx1:amd64/wily libva-tpi1:amd64/wily libva-wayland1:amd64/wily
    libva-x11-1:amd64/wily libva1:amd64/wily libva1:i386/wily
    libvdpau-dev:amd64/wily libvdpau-doc/wily libvdpau1:amd64/wily
    libvdpau1-dbg:amd64/wily libvorbis-dbg:amd64/wily libvorbis-dev:amd64/wily
    libvorbis0a:amd64/wily libvorbis0a:i386/wily libvorbisenc2:amd64/wily
    libvorbisenc2:i386/wily libvorbisfile3:amd64/wily
    libwayland-egl1-mesa:amd64/wily libwayland-egl1-mesa:i386/wily
    libxatracker2:amd64/wily mesa-common-dev:amd64/wily
    mesa-vdpau-drivers:amd64/wily xserver-xorg-video-ati/wily
    xserver-xorg-video-intel/wily xserver-xorg-video-nouveau/wily
    xserver-xorg-video-radeon/wily

    Disabling oibaf PPA from
    /etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-wily.list
    Updating packages lists
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease

    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease

    W: Failed to fetch http://archive.canonical.com/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-proposed/InRelease

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease

    W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/costales/anoise/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1504/x86_64/InRelease

    W: Failed to fetch http://ppa.launchpad.net/diodon-team/daily/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/mc3man/gstffmpeg-keep/ubuntu/dists/vivid/InRelease

    W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://ppa.launchpad.net/snappy-dev/tools/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease

    W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/wily/InRelease

    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-backports/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-proposed/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/wily-updates/Release.gpg Temporary failure resolving 'de.archive.ubuntu.com'

    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'

    W: Failed to fetch http://archive.canonical.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'archive.canonical.com'

    W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/costales/anoise/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/diodon-team/daily/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1504/x86_64/Release.gpg Temporary failure resolving 'developer.download.nvidia.com'

    W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/mc3man/gstffmpeg-keep/ubuntu/dists/vivid/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://repository.spotify.com/dists/stable/Release.gpg Temporary failure resolving 'repository.spotify.com'

    W: Failed to fetch http://ppa.launchpad.net/snappy-dev/tools/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'ppa.launchpad.net'

    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-amdgpu1:i386' was not found
    E: Release 'wily' for 'libdrm-dev' was not found
    E: Release 'wily' for 'libdrm-intel1' was not found
    E: Release 'wily' for 'libdrm-intel1:i386' was not found
    E: Release 'wily' for 'libdrm-nouveau2' was not found
    E: Release 'wily' for 'libdrm-nouveau2:i386' was not found
    E: Release 'wily' for 'libdrm-radeon1' was not found
    E: Release 'wily' for 'libdrm-radeon1:i386' was not found
    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-mesa-dri:i386' was not found
    E: Release 'wily' for 'libgl1-mesa-glx' was not found
    E: Release 'wily' for 'libgl1-mesa-glx:i386' was not found
    E: Release 'wily' for 'libglapi-mesa' was not found
    E: Release 'wily' for 'libglapi-mesa:i386' was not found
    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:i386' was not found
    E: Release 'wily' for 'libvorbisfile3' was not found
    E: Release 'wily' for 'libwayland-egl1-mesa' was not found
    E: Release 'wily' for 'libwayland-egl1-mesa:i386' was not found
    E: Release 'wily' for 'libxatracker2' was not found
    E: Release 'wily' for 'mesa-common-dev' was not found
    E: Release 'wily' for 'mesa-vdpau-drivers' was not found
    E: Release 'wily' for 'xserver-xorg-video-ati' was not found
    E: Release 'wily' for 'xserver-xorg-video-intel' was not found
    E: Release 'wily' for 'xserver-xorg-video-nouveau' was not found
    E: Release 'wily' for 'xserver-xorg-video-radeon' was not found
    Unable to find an archive "wily" for the package "libdrm-amdgpu1"
    Unable to find an archive "wily" for the package "libdrm-amdgpu1:i386"
    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-intel1:i386"
    Unable to find an archive "wily" for the package "libdrm-nouveau2"
    Unable to find an archive "wily" for the package "libdrm-nouveau2:i386"
    Unable to find an archive "wily" for the package "libdrm-radeon1"
    Unable to find an archive "wily" for the package "libdrm-radeon1:i386"
    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-mesa-dri:i386"
    Unable to find an archive "wily" for the package "libgl1-mesa-glx"
    Unable to find an archive "wily" for the package "libgl1-mesa-glx:i386"
    Unable to find an archive "wily" for the package "libglapi-mesa"
    Unable to find an archive "wily" for the package "libglapi-mesa:i386"
    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:i386"
    Unable to find an archive "wily" for the package "libvorbisfile3"
    Unable to find an archive "wily" for the package "libwayland-egl1-mesa"
    Unable to find an archive "wily" for the package "libwayland-egl1-mesa:i386"
    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-drivers"
    Unable to find an archive "wily" for the package "xserver-xorg-video-ati"
    Unable to find an archive "wily" for the package "xserver-xorg-video-intel"
    Unable to find an archive "wily" for the package "xserver-xorg-video-nouveau"
    Unable to find an archive "wily" for the package "xserver-xorg-video-radeon"
    Unable to find an archive "wily" for the package "libdrm-amdgpu1"
    Unable to find an archive "wily" for the package "libdrm-amdgpu1:i386"
    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-intel1:i386"
    Unable to find an archive "wily" for the package "libdrm-nouveau2"
    Unable to find an archive "wily" for the package "libdrm-nouveau2:i386"
    Unable to find an archive "wily" for the package "libdrm-radeon1"
    Unable to find an archive "wily" for the package "libdrm-radeon1:i386"
    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-mesa-dri:i386"
    Unable to find an archive "wily" for the package "libgl1-mesa-glx"
    Unable to find an archive "wily" for the package "libgl1-mesa-glx:i386"
    Unable to find an archive "wily" for the package "libglapi-mesa"
    Unable to find an archive "wily" for the package "libglapi-mesa:i386"
    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:i386"
    Unable to find an archive "wily" for the package "libvorbisfile3"
    Unable to find an archive "wily" for the package "libwayland-egl1-mesa"
    Unable to find an archive "wily" for the package "libwayland-egl1-mesa:i386"
    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-drivers"
    Unable to find an archive "wily" for the package "xserver-xorg-video-ati"
    Unable to find an archive "wily" for the package "xserver-xorg-video-intel"
    Unable to find an archive "wily" for the package "xserver-xorg-video-nouveau"
    Unable to find an archive "wily" for the package "xserver-xorg-video-radeon"
    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-generic x86_64
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
PackageArchitecture: all
SourcePackage: ppa-purge
SystemImageInfo: Error: command ['system-image-cli', '-i'] failed with exit code 2:
UpgradeStatus: Upgraded to wily on 2015-10-23 (17 days ago)

Related branches

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
Revision history for this message
Tim Lunn (darkxst) wrote :

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

Changed in ppa-purge (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Jarno Suni (jarnos) wrote :

Maybe this could be avoided, if aptitude was not used?

Revision history for this message
Tim Lunn (darkxst) wrote :

apt-get also failed in this case, otherwise aptitude would never have been run

Revision history for this message
Jarno Suni (jarnos) wrote :

Oh, but aptitude couldn't do anything, either. Maybe it was better to exit with error code in this case.
Maybe the script could test for internet connection before using apt-get or aptitude?

Revision history for this message
Tim Lunn (darkxst) wrote :

yes that could be an option

Revision history for this message
Jarno Suni (jarnos) wrote :

Please test my version
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge

It does not test internet connection, but currently uses only apt-get, not aptitude.

Revision history for this message
Jarno Suni (jarnos) wrote :

Bug #1693900 is related apt bug.

tags: added: rls-cc-incoming
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.