Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] d-u wants to remove python related packages  (Read 4113 times)

linearJim

  • Guest
hi

Code: [Select]
[root@siduction ~]# apt-get dist-upgrade -d
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  python-chardet-whl python-colorama-whl python-distlib-whl python-html5lib-whl python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
  python-virtualenv python3-virtualenv virtualenv virtualenvwrapper xserver-xorg-video-qxl
The following NEW packages will be installed:
  initramfs-tools-core libaec0 liboce-foundation10 liboce-modeling10 liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10 libqgis-analysis2.8.6 libqgis-core2.8.6
  libqgis-gui2.8.6 libqgis-networkanalysis2.8.6 libqgis-server2.8.6 libqgispython2.8.6 libsz2 libx265-79 libx265-79:i386 libxtables11 linux-base
  linux-headers-4.4.1-towo.1-siduction-amd64 linux-image-4.4.1-towo.1-siduction-amd64 openscenegraph-plugin-osgearth
The following packages will be upgraded:
  console-setup console-setup-linux coreutils debootstrap dmeventd dmsetup ffmpeg freecad ghostscript ghostscript-x gnupg-agent gnupg2 groff-base initramfs-tools
  iptables isc-dhcp-client isc-dhcp-common keyboard-configuration kodi kodi-bin kodi-data kodi-skin-confluence libavcodec56 libavcodec56:i386 libavdevice56
  libavfilter5 libavformat56 libavresample2 libavresample2:i386 libavutil54 libavutil54:i386 libdebconfclient0 libdevmapper-event1.02.1 libdevmapper1.02.1
  libegl1-nvidia libgl1-nvidia-glx libgles1-nvidia libgles2-nvidia libgnutls-openssl27 libgnutls30 libgs9 libgs9-common libhdf5-10 libjavascriptcoregtk-4.0-18
  libkvazaar3 libkvazaar3:i386 libloudmouth1-0 liblvm2app2.2 liblvm2cmd2.02 libnatpmp1 libnautilus-extension1a libneon27-gnutls libnetpbm10 libnvidia-eglcore
  libnvidia-ml1 libperl5.22 libplatform1.0 libpostproc53 libqgis-customwidgets librsvg2-2 librsvg2-common libshine3 libssl-dev libssl1.0.2 libswresample1
  libswresample1:i386 libswscale3 libtheora0 libtheora0:i386 libvlc5 libvlccore8 libwebkit2gtk-4.0-37 linux-headers-siduction-amd64 linux-image-siduction-amd64 lvm2
  myspell-pl netpbm nvidia-alternative nvidia-driver nvidia-driver-bin nvidia-kernel-dkms nvidia-kernel-support nvidia-vdpau-driver openssl os-prober p7zip-full perl
  perl-base perl-modules-5.22 python-numpy python-pip python-pip-whl python-qgis python-qgis-common qgis qgis-common qgis-plugin-globe qgis-plugin-globe-common
  qgis-providers qgis-providers-common siduction-dynamic-dms transfig tzdata vlc vlc-data vlc-nox vlc-plugin-notify xserver-xorg-core xserver-xorg-input-evdev
  xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-ati xserver-xorg-video-fbdev
  xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-nvidia xserver-xorg-video-r128 xserver-xorg-video-radeon
  xserver-xorg-video-vesa xserver-xorg-video-vmware
123 upgraded, 21 newly installed, 13 to remove and 0 not upgraded.
Need to get 90.7 MB/240 MB of archives.
After this operation, 286 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

if i put on hold python-pip-whl

Code: [Select]
[root@siduction ~]# apt-get dist-upgrade -d
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  xserver-xorg-video-qxl
The following NEW packages will be installed:
  initramfs-tools-core libaec0 liboce-foundation10 liboce-modeling10 liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10 libqgis-analysis2.8.6 libqgis-core2.8.6
  libqgis-gui2.8.6 libqgis-networkanalysis2.8.6 libqgis-server2.8.6 libqgispython2.8.6 libsz2 libx265-79 libx265-79:i386 libxtables11 linux-base
  linux-headers-4.4.1-towo.1-siduction-amd64 linux-image-4.4.1-towo.1-siduction-amd64 openscenegraph-plugin-osgearth
The following packages have been kept back:
  python-pip python-pip-whl
The following packages will be upgraded:
  console-setup console-setup-linux coreutils debootstrap dmeventd dmsetup ffmpeg freecad ghostscript ghostscript-x gnupg-agent gnupg2 groff-base initramfs-tools
  iptables isc-dhcp-client isc-dhcp-common keyboard-configuration kodi kodi-bin kodi-data kodi-skin-confluence libavcodec56 libavcodec56:i386 libavdevice56
  libavfilter5 libavformat56 libavresample2 libavresample2:i386 libavutil54 libavutil54:i386 libdebconfclient0 libdevmapper-event1.02.1 libdevmapper1.02.1
  libegl1-nvidia libgl1-nvidia-glx libgles1-nvidia libgles2-nvidia libgnutls-openssl27 libgnutls30 libgs9 libgs9-common libhdf5-10 libjavascriptcoregtk-4.0-18
  libkvazaar3 libkvazaar3:i386 libloudmouth1-0 liblvm2app2.2 liblvm2cmd2.02 libnatpmp1 libnautilus-extension1a libneon27-gnutls libnetpbm10 libnvidia-eglcore
  libnvidia-ml1 libperl5.22 libplatform1.0 libpostproc53 libqgis-customwidgets librsvg2-2 librsvg2-common libshine3 libssl-dev libssl1.0.2 libswresample1
  libswresample1:i386 libswscale3 libtheora0 libtheora0:i386 libvlc5 libvlccore8 libwebkit2gtk-4.0-37 linux-headers-siduction-amd64 linux-image-siduction-amd64 lvm2
  myspell-pl netpbm nvidia-alternative nvidia-driver nvidia-driver-bin nvidia-kernel-dkms nvidia-kernel-support nvidia-vdpau-driver openssl os-prober p7zip-full perl
  perl-base perl-modules-5.22 python-numpy python-qgis python-qgis-common qgis qgis-common qgis-plugin-globe qgis-plugin-globe-common qgis-providers
  qgis-providers-common siduction-dynamic-dms transfig tzdata vlc vlc-data vlc-nox vlc-plugin-notify xserver-xorg-core xserver-xorg-input-evdev
  xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-ati xserver-xorg-video-fbdev
  xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-nvidia xserver-xorg-video-r128 xserver-xorg-video-radeon
  xserver-xorg-video-vesa xserver-xorg-video-vmware
121 upgraded, 21 newly installed, 1 to remove and 2 not upgraded.
Need to get 90.0 MB/240 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

can anyone with python-pip installed confirm this?
thanks
« Last Edit: 2016/02/11, 09:50:48 by linearJim »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: d-u wants to remove python related packages
« Reply #1 on: 2016/02/01, 15:56:12 »
I suspect the removal of xserver-xorg-video-qxl is unrelated to the python issue.  It was removed a couple days ago during the upgrade of xserver-xorg, and then it could be reinstalled with no problem.


Here, I did not have python-pip installed.  I fully upgraded this system with nothing removed.


Now:


Code: [Select]
root@Hibiscus:/# apt -s install python-pip                                                                                      Reading package lists... Done                                                                                                   
Building dependency tree                                                                                                       
Reading state information... Done                                                                                               
The following additional packages will be installed:                                                                           
  python-pip-whl                                                                                                               
Recommended packages:                                                                                                           
  python-dev-all python-wheel                                                                                                   
The following NEW packages will be installed:                                                                                   
  python-pip python-pip-whl                                                                                                     
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.                                                                 
Inst python-pip-whl (8.0.2-2 Debian:unstable [all])                                                                             
Inst python-pip (8.0.2-2 Debian:unstable [all])                                                                                 
Conf python-pip-whl (8.0.2-2 Debian:unstable [all])                                                                 
Conf python-pip (8.0.2-2 Debian:unstable [all])
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

linearJim

  • Guest
Re: d-u wants to remove python related packages
« Reply #2 on: 2016/02/01, 16:29:25 »
hi @dibl
yes nothing to do xserver-xorg-video-qxl

i see, i ll keep it on hold for a while and see how it goes, will post back..

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: d-u wants to remove python related packages
« Reply #3 on: 2016/02/02, 07:44:42 »
hello linearjim,
did you run "apt-get update"? Please show apt-cache policy xserver-xorg-video-qxl

xserver-xorg-video-qxl is a driver for the qxl virtual vga card in qemu virtual machines.
So if you are not using qxl you can let go the driver.

greetings
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

linearJim

  • Guest
Re: d-u wants to remove python related packages
« Reply #4 on: 2016/02/02, 08:50:26 »
hi musca
yes i dist-upgraded yesterday. i let go xserver-xorg-video-qxl (i had read the other thread) for now but still have python-pip-whl on hold..

thanks


Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: d-u wants to remove python related packages
« Reply #6 on: 2016/02/02, 23:54:58 »
apt install python-pip-whl - it will remove python-six-whl, but that should be o.k.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
Re: d-u wants to remove python related packages
« Reply #7 on: 2016/02/05, 08:00:02 »
That actualy removes 11 python packages here.


greetz
devil

linearJim

  • Guest
Re: d-u wants to remove python related packages
« Reply #8 on: 2016/02/09, 11:00:18 »
hi,
there is a new one on this..i dist-upgraded today without holding python-pip-whl because i saw this

Code: [Select]
python-pip (8.0.2-3) unstable; urgency=medium

  * Fix python-pip Recommends of python-all-dev.  (Closes: #799559)
  * d/control: Fix Breaks/Depends for python-pip-whl.  (Closes: #813399)

 -- Barry Warsaw <barry@debian.org>  Sun, 07 Feb 2016 11:51:58 -0500

but there  also this

Code: [Select]
└──┤ apt-listbugs list  python-pip-whl
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of python-pip-whl (-> ) <Outstanding>
 b1 - #814069 - python-six-whl and python-pip-whl: error when trying to install together
serious bugs of python-pip-whl (-> ) <Resolved in some Version>
 b2 - #813399 - python-pip-whl: fails to upgrade from 'testing' - trying to overwrite /usr/share/python-wheels/six-1.10.0-py2.py3-none-any.whl (Fixed: python-pip/8.0.2-3)
Summary:
 python-pip-whl(2 bugs)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814069

and listbugs did not throw the new bug  before dist-upgrading for some reason...

and now i am on  this
Code: [Select]
[root@siduction ~]# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 python-pip-whl : Depends: python-chardet-whl but it is not installed
                  Depends: python-colorama-whl but it is not installed
                  Depends: python-distlib-whl but it is not installed
                  Depends: python-html5lib-whl but it is not installed
                  Depends: python-requests-whl but it is not installed
                  Depends: python-setuptools-whl but it is not installed
                  Depends: python-urllib3-whl but it is not installed
 python-virtualenv : Depends: python-pip-whl (>= 8.0.2) but 1.5.6-7 is installed
 python3-virtualenv : Depends: python-pip-whl (>= 8.0.2) but 1.5.6-7 is installed
E: Unmet dependencies. Try using -f.
[root@siduction ~]# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  python-pip-whl
The following packages will be upgraded:
  python-pip-whl
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
5 not fully installed or removed.
Need to get 0 B/543 kB of archives.
After this operation, 2,466 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Selecting previously unselected package python-pip-whl.
(Reading database ... 301152 files and directories currently installed.)
Preparing to unpack .../python-pip-whl_8.0.2-3_all.deb ...
Unpacking python-pip-whl (8.0.2-3) over (1.5.6-7) ...
dpkg: error processing archive /var/cache/apt/archives/python-pip-whl_8.0.2-3_all.deb (--unpack):
 trying to overwrite '/usr/share/python-wheels/six-1.10.0-py2.py3-none-any.whl', which is also in package python-six-whl 1.10.0-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python-pip-whl_8.0.2-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 :'(

so i got to ask,
manually deleting /usr/share/python-wheels/six-1.10.0-py2.py3-none-any.whl and reinstalling python-pip-whl would (temporarily) solve this? 
« Last Edit: 2016/02/09, 11:08:37 by linearJim »

Offline seasons

  • User
  • Posts: 269
Re: d-u wants to remove python related packages
« Reply #9 on: 2016/02/10, 16:00:08 »
There is a new version of python-six out today which fixes the bug 814069. Does this allow for clean d-u for you now?

Code: [Select]
six (1.10.0-3) unstable; urgency=medium

  * d/control:
    - Drop the python-six-whl binary package as it's no longer necessary.
      (Closes: #814069)
    - Drop the Build-Depends on python3-wheel.
  * d/rules: Drop override_dh_auto_install since we no longer need to
    build the .whl.
  * d/python-six-whl.install: Removed.
  * d/tests: Add simple import smoke tests.

linearJim

  • Guest
Re: d-u wants to remove python related packages
« Reply #10 on: 2016/02/11, 08:54:55 »
hi seasons,
no, neither d-u nor apt-get install -f works..the same error is thrown

if not mistaked the problem is just one file, the problem is that the new version of python-pip-whl tried to overwrite the file that python-six writes. But python-six solved this by dropping the whl file as its  changelog says.

so the only thing i can imagine right now is to --force-overwrite  either from apt-get or dpkg...

can anyone suggest something else?


--edit

fixed with

Code: [Select]
apt-get -o Dpkg::Options::="--force-overwrite" install python-pip python-pip-whl
« Last Edit: 2016/02/11, 09:50:23 by linearJim »

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: [solved] d-u wants to remove python related packages
« Reply #11 on: 2016/02/11, 13:33:52 »
erm - if not yet done, please file a bug or look into existing debian bug reports - sometimes there will be a good solution in the replays.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)