Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: linearJim on 2016/02/01, 13:20:44

Title: [solved] d-u wants to remove python related packages
Post by: linearJim on 2016/02/01, 13:20:44
hi

[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

[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
Title: Re: d-u wants to remove python related packages
Post by: dibl 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:


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])

Title: Re: d-u wants to remove python related packages
Post by: linearJim 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..
Title: Re: d-u wants to remove python related packages
Post by: musca 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
Title: Re: d-u wants to remove python related packages
Post by: linearJim 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
Title: Re: d-u wants to remove python related packages
Post by: seasons on 2016/02/02, 10:18:22
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813399 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813399)
http://anonscm.debian.org/cgit/python-modules/packages/python-pip.git/diff/?id=af4faa1
Title: Re: d-u wants to remove python related packages
Post by: melmarker on 2016/02/02, 23:54:58
apt install python-pip-whl - it will remove python-six-whl, but that should be o.k.
Title: Re: d-u wants to remove python related packages
Post by: devil on 2016/02/05, 08:00:02
That actualy removes 11 python packages here.


greetz
devil
Title: Re: d-u wants to remove python related packages
Post by: linearJim 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

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

└──┤ 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

[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? 
Title: Re: d-u wants to remove python related packages
Post by: seasons 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?

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.
Title: Re: d-u wants to remove python related packages
Post by: linearJim 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

apt-get -o Dpkg::Options::="--force-overwrite" install python-pip python-pip-whl
Title: Re: [solved] d-u wants to remove python related packages
Post by: melmarker 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.