Hey Tim,

Just tested your patch on the bug you mentioned and seems like the
packages related to the PPA also gets removed.

(please correct me if I have got the the working principle wrong as I
assume packages also gets reverted)

Output below:

bhavani@bhavani-spagetti-monster:/usr/sbin$ sudo ppa-purge 
ppa:canonical-qt5-edgers/qt5-beta1
Updating packages lists
PPA to be removed: canonical-qt5-edgers qt5-beta1
Package revert list generated:
 libwayland0:i386/quantal qlalr- qt3d:i386- qt5-meta-full- qtbase- 
qtconnectivity:i386- qtcreator/quantal qtcreator-doc/quantal qtdeclarative- 
qtdoc- qtdocgallery- qtfeedback- qtgraphicaleffects:i386- qtimageformats:i386- 
qtjsbackend- qtlocation:i386- qtmultimedia:i386- qtphonon- qtpim- qtquick1- 
qtscript- qtsensors:i386- qtsvg:i386- qtsystems:i386- qttools- qtwayland- 
qtwebkit- qtwebkit-examples-and-demos- qtxmlpatterns-

Disabling canonical-qt5-edgers PPA from 
/etc/apt/sources.list.d/canonical-qt5-edgers-qt5-beta1-quantal.list
Updating packages lists
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libwayland0 is already the newest version.
libwayland0 set to manually installed.
qtcreator is already the newest version.
qtcreator-doc is already the newest version.
qtcreator-doc set to manually installed.
Selected version '0.95.0-0ubuntu1' (Ubuntu:12.10/quantal [i386]) for 
'libwayland0'
Selected version '2.15-0ubuntu20.1' (Ubuntu:12.10/quantal-proposed [i386]) for 
'libc6' because of 'libwayland0'
Selected version '2.6.1-0ubuntu1~quantal1~test3' (Canonical Qt5 proper 
packages:12.10/quantal [i386]) for 'qtcreator'
Selected version '2.6.1-0ubuntu1~quantal1~test3' (Canonical Qt5 proper 
packages:12.10/quantal [all]) for 'qtcreator-doc'
The following package was automatically installed and is no longer required:
  libsqlite0
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  qlalr qt3d qt5-meta-full qtbase qtconnectivity qtdeclarative qtdoc
  qtdocgallery qtfeedback qtgraphicaleffects qtimageformats qtjsbackend
  qtlocation qtmultimedia qtphonon qtpim qtquick1 qtscript qtsensors qtsvg
  qtsystems qttools qtwayland qtwebkit qtwebkit-examples-and-demos
  qtxmlpatterns
0 upgraded, 0 newly installed, 26 to remove and 388 not upgraded.
After this operation, 250 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
The following packages will be REMOVED:  
  libsqlite0{u} libwayland0{u} qlalr qt3d qt5-meta-full qtbase 
  qtconnectivity qtdeclarative qtdoc qtdocgallery qtfeedback 
  qtgraphicaleffects qtimageformats qtjsbackend qtlocation qtmultimedia 
  qtphonon qtpim qtquick1 qtscript qtsensors qtsvg qtsystems qttools 
  qtwayland qtwebkit qtwebkit-examples-and-demos qtxmlpatterns 
0 packages upgraded, 0 newly installed, 28 to remove and 388 not upgraded.
Need to get 0 B of archives. After unpacking 251 MB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
Warning:  Something went wrong, packages may not have been reverted

Regards,

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

Title:
  ppa-purge is not multi-arch aware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ppa-purge/+bug/892886/+subscriptions

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

Reply via email to