Wine & Skype mark important packages for autoremoval

Bug #1361119 reported by Sascha Heuterer
170
This bug affects 38 people
Affects Status Importance Assigned to Milestone
elementary OS
Fix Released
Critical
Cody Garver

Bug Description

I've made an update wiht the Update Manager and installed the latest version of freya.
After that, the system said I have a few packages not being used, so I run a 'apt-get autoremove'.
Sadly, this destroyed my system. Without checking, I accepted the autocleanup and this is what it removed:

eos@eos-gaz9:~/Downloads$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  dnsmasq-base gir1.2-gnomebluetooth-1.0 gnome-bluetooth gnome-power-manager gnome-user-share indicator-bluetooth indicator-keyboard indicator-power iputils-arping libgee2 libmbim-glib0 libmm-glib0 libmnl0 libnetfilter-conntrack3 libnl-route-3-200 libnm-glib-vpn1 libqmi-glib0 libtasn1-3-bin libtasn1-bin libxtst6:i386 mobile-broadband-provider-info network-manager-pptp-gnome obexd-client pptp-linux stunnel4 usb-modeswitch usb-modeswitch-data x11vnc-data
0 upgraded, 0 newly installed, 32 to remove and 0 not upgraded.
After this operation, 16.5 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 178040 files and directories currently installed.)
Removing network-manager-gnome (0.9.8.8-0ubuntu4.3) ...
Removing network-manager (0.9.8.8-0ubuntu7) ...
network-manager stop/waiting
Removing dnsmasq-base (2.68-1) ...
Removing indicator-bluetooth (0.0.6+14.04.20140207-0ubuntu2) ...
Removing gnome-user-share (3.0.4-0ubuntu1) ...
Removing gnome-bluetooth (3.8.2.1-0ubuntu4) ...
Removing gir1.2-gnomebluetooth-1.0 (3.8.2.1-0ubuntu4) ...
Removing gnome-power-manager (3.8.2-1ubuntu2) ...
Removing indicator-keyboard (0.0.0+14.04.20140410.1-0ubuntu1) ...
dpkg: warning: while removing indicator-keyboard, directory '/usr/lib/python2.7/dist-packages/indicator_keyboard/tests' not empty so not removed
Removing indicator-power (12.10.6+14.04.20140411-0ubuntu1) ...
Removing iputils-arping (3:20121221-4ubuntu1.1) ...
Removing libgee2:amd64 (0.6.8-1ubuntu1) ...
Removing modemmanager (1.0.0-2ubuntu1) ...
Removing libmbim-glib0:amd64 (1.6.0-2) ...
Removing libmm-glib0:amd64 (1.0.0-2ubuntu1) ...
Removing libnetfilter-conntrack3:amd64 (1.0.4-1) ...
Removing libmnl0:amd64 (1.0.3-3ubuntu1) ...
Removing libnl-route-3-200:amd64 (3.2.21-1) ...
Removing network-manager-pptp-gnome (0.9.8.2-1ubuntu2) ...
Removing network-manager-pptp (0.9.8.2-1ubuntu2) ...
Removing libnm-glib-vpn1 (0.9.8.8-0ubuntu7) ...
Removing libqmi-glib0:amd64 (1.4.0-1) ...
Removing libtasn1-3-bin (3.4-3ubuntu0.1) ...
Removing libtasn1-bin (3.4-3ubuntu0.1) ...
Removing libxtst6:i386 (2:1.2.2-1) ...
Removing mobile-broadband-provider-info (20140317-1) ...
Removing obexd-client (0.46-1ubuntu7) ...
Removing pptp-linux (1.7.2-7) ...
Removing stunnel4 (3:4.53-1.1ubuntu1) ...
SSL tunnels disabled, see /etc/default/stunnel4
Removing usb-modeswitch (2.1.1+repack0-1ubuntu1) ...
Removing usb-modeswitch-data (20140327-1) ...
Removing x11vnc-data (0.9.13-1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1+elementary2~ubuntu14.04.1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.40.0-2) ...
Processing triggers for libglib2.0-0:amd64 (2.40.0-2) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...

As you can see, it removed core packages of the ubuntu/elementary system. So I was left with a system that could not go into internet, system settings were problematic and bluetooth also was non-existing.

What did I do to fix it?

Basis-Documentation: http://www.webupd8.org/2014/01/how-to-fix-non-bootable-ubuntu-system.html

However, since I was using LVM, I had a few more problems:
- Mount should have --bind, since its not a block partition anymore.
- You have to mount the device first and type LVM password
- It will take slighty longer than normal.

After the update, I reinstalled all of the applications using:
apt-get install --reinstall dnsmasq-base gir1.2-gnomebluetooth-1.0 gnome-bluetooth gnome-power-manager gnome-user-share indicator-bluetooth indicator-keyboard indicator-power iputils-arping libgee2 libmbim-glib0 libmm-glib0 libmnl0 libnetfilter-conntrack3 libnl-route-3-200 libnm-glib-vpn1 libqmi-glib0 libtasn1-3-bin libtasn1-bin libxtst6:i386 mobile-broadband-provider-info network-manager-pptp-gnome obexd-client pptp-linux stunnel4 usb-modeswitch usb-modeswitch-data x11vnc-data

I rebooted and removed the Live-System. Then my system was kinda useable again. Now the only problem left:

- When I try to open anything in the network group of switchboard, it crashes. Following thing happens when I invoke switchboard in terminal (tried reinstalling switchboard with all plugins already, did apt-get installl --reinstall and also tried apt-get remove and after that apt-get install, still same error):

eos@eos-gaz9:~$ switchboard

** (switchboard:10354): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-NRCFpobvdQ: Connection refused
[_LOG_LEVEL_INFO 11:05:34.241816] Application.vala:155: System Settings version: 2.0
[_LOG_LEVEL_INFO 11:05:34.241866] Application.vala:157: Kernel version: 3.13.0-34-generic
[_LOG_LEVEL_WARN 11:05:34.253231] [GLib-GObject] cannot register existing type 'OnlineAccountsPluginsOAuthYahooProviderPlugin'
[_LOG_LEVEL_FATAL 11:05:34.253267] [GLib] g_once_init_leave: assertion 'result != 0' failed
[_LOG_LEVEL_FATAL 11:05:34.253283] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.253310] [GLib-GObject] g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[_LOG_LEVEL_FATAL 11:05:34.253327] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.253348] PluginManager.vala:94: Unknown plugin type for /usr/lib/x86_64-linux-gnu/pantheon-online-accounts/password-plugins/libfastmail.so !
[_LOG_LEVEL_FATAL 11:05:34.253364] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.254755] [GLib-GObject] cannot register existing type 'SwitchboardShell'
[_LOG_LEVEL_FATAL 11:05:34.254785] [GLib] g_once_init_leave: assertion 'result != 0' failed
[_LOG_LEVEL_FATAL 11:05:34.254803] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.254828] [GLib-GObject] g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[_LOG_LEVEL_FATAL 11:05:34.254845] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.254865] [GLib-GObject] invalid (NULL) pointer instance
[_LOG_LEVEL_FATAL 11:05:34.254885] [GLib-GObject] g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[_LOG_LEVEL_FATAL 11:05:34.254900] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.254919] [GLib-GObject] invalid (NULL) pointer instance
[_LOG_LEVEL_FATAL 11:05:34.254939] [GLib-GObject] g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[_LOG_LEVEL_FATAL 11:05:34.254955] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.255555] [GLib-GObject] cannot register existing type 'SwitchboardShell'
[_LOG_LEVEL_FATAL 11:05:34.255583] [GLib] g_once_init_leave: assertion 'result != 0' failed
[_LOG_LEVEL_FATAL 11:05:34.255601] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.255621] [GLib-GObject] g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[_LOG_LEVEL_FATAL 11:05:34.255637] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.255659] [GLib-GObject] invalid (NULL) pointer instance
[_LOG_LEVEL_FATAL 11:05:34.255679] [GLib-GObject] g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[_LOG_LEVEL_FATAL 11:05:34.255695] System Settings will not function properly.
[_LOG_LEVEL_WARN 11:05:34.256447] [GLib-GObject] cannot register existing type 'SwitchboardShell'
[_LOG_LEVEL_FATAL 11:05:34.256475] [GLib] g_once_init_leave: assertion 'result != 0' failed
[_LOG_LEVEL_FATAL 11:05:34.256493] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.256513] [GLib-GObject] g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[_LOG_LEVEL_FATAL 11:05:34.256528] System Settings will not function properly.
[_LOG_LEVEL_FATAL 11:05:34.387112] CategoryView.vala:193: Unable to load plug Security & Privacy's icon: activity-log-manager
[_LOG_LEVEL_FATAL 11:05:34.387165] System Settings will not function properly.

affects: appcenter → switchboard
Revision history for this message
Sascha Heuterer (theanachron) wrote :

Switch to appcenter since the switchboard problem has been opened here: 1356847
Now this bug should be all about why the autoremove did delete so important packages after updating.

affects: switchboard → appcenter
Revision history for this message
Sascha Heuterer (theanachron) wrote :

Didn't know this is another app, sorry, I am new here. Rechanged to elementaryos.

affects: appcenter → elementaryos
Revision history for this message
Christian Schubert (docschu) wrote :

Same Bug Here This is what i get using autoremove:

Commandline:
apt-get autoremove
Remove: libpangomm-1.4-1:amd64 (2.34.0-1ubuntu1), network-manager-pptp-gnome:amd64 (0.9.8.2-1ubuntu2), obexd-client:amd64 (0.46-1ubuntu7), libnetfilter-conntrack3:amd64 (1.0.4-1), indicator-bluetooth:amd64 (0.0.6+14.04.20140207-0ubuntu2+elementary2~ubuntu0.3.1), libmbim-glib0:amd64 (1.6.0-2), libvala-0.24-0:amd64 (0.24.0-6~14.04~valateam0), libcairomm-1.0-1:amd64 (1.10.0-1ubuntu3), gnome-power-manager:amd64 (3.8.2-1ubuntu2), mobile-broadband-provider-info:amd64 (20140317-1), indicator-keyboard:amd64 (0.0.0+14.04.20140410.1-0ubuntu1+elementary8~ubuntu0.3.1), libgif4:amd64 (4.1.6-11), libglibmm-2.4-1c2a:amd64 (2.39.93-0ubuntu1), libtimezonemap1:amd64 (0.4.1), tzdata-java:amd64 (2014i-0ubuntu0.14.04), libsigc++-2.0-0c2a:amd64 (2.2.10-0.2ubuntu2), gucharmap:amd64 (3.10.1-0ubuntu2+elementary2~ubuntu0.3.1), network-manager-gnome:amd64 (0.9.8.8-0ubuntu4.3), pptp-linux:amd64 (1.7.2-7), iputils-arping:amd64 (20121221-4ubuntu1.1), libgconf2-4:amd64 (3.2.6-0ubuntu2), python-pycurl:amd64 (7.19.3-0ubuntu3), libmm-glib0:amd64 (1.0.0-2ubuntu1), indicator-power:amd64 (12.10.6+14.04.20140411-0ubuntu1), libnm-glib-vpn1:amd64 (0.9.8.8-0ubuntu7), libmnl0:amd64 (1.0.3-3ubuntu1), dnsmasq-base:amd64 (2.68-1), libt1-5:amd64 (5.1.2-3.6ubuntu1), usb-modeswitch-data:amd64 (20140327-1), libatkmm-1.6-1:amd64 (2.22.7-2ubuntu1), libqmi-glib0:amd64 (1.4.0-1), modemmanager:amd64 (1.0.0-2ubuntu1), usb-modeswitch:amd64 (2.1.1+repack0-1ubuntu1), gnome-bluetooth:amd64 (3.8.2.1-0ubuntu4.1+elementary2~ubuntu0.3.1), libgucharmap-2-90-7:amd64 (3.10.1-0ubuntu2+elementary2~ubuntu0.3.1), gir1.2-gnomebluetooth-1.0:amd64 (3.8.2.1-0ubuntu4.1+elementary2~ubuntu0.3.1), network-manager:amd64 (0.9.8.8-0ubuntu7), libnl-route-3-200:amd64 (3.2.21-1), network-manager-pptp:amd64 (0.9.8.2-1ubuntu2), gnome-user-share:amd64 (3.0.4-0ubuntu1), libgee2:amd64 (0.6.8-1ubuntu1)

Revision history for this message
Jan Marek (janmarek28) wrote :

I had the same problem:

  attr brasero-cdrkit brasero-common dvd+rw-tools firefox-locale-cs
  firefox-locale-en fonts-dejavu fonts-horai-umefont gcc-4.8-base:i386
  gnome-exe-thumbnailer growisofs icoutils libaio1 libasn1-8-heimdal:i386
  libasound2:i386 libasound2-plugins:i386 libasyncns0:i386
  libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libbrasero-media3-1 libburn4 libcapi20-3 libcapi20-3:i386 libcmis-0.4-4
  libcups2:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
  libelf1:i386 libexempi3 libexif12:i386 libexpat1:i386 libffi6:i386
  libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386
  libgd3:i386 libgif4:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
  libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26:i386
  libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port10:i386
  libgssapi-krb5-2:i386 libgssapi3-heimdal:i386
  libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
  libhcrypto4-heimdal:i386 libhdb9-heimdal libheimbase1-heimdal:i386
  libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libice6:i386
  libieee1284-3:i386 libisofs6 libjack-jackd2-0:i386 libjbig0:i386
  libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libjte1 libk5crypto3:i386
  libkdc2-heimdal libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
  libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.4:i386
  libltdl7:i386 libmpg123-0:i386 libogg0:i386 libopenal1:i386
  liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit-gnome-keyring:i386
  libp11-kit0:i386 libpciaccess0:i386 libpulse0:i386 libroken18-heimdal:i386
  libsamplerate0:i386 libsane:i386 libsasl2-2:i386 libsasl2-modules:i386
  libsasl2-modules-db:i386 libsm6:i386 libsndfile1:i386 libspeexdsp1:i386
  libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libt1-5 libtasn1-6:i386
  libtiff5:i386 libtimezonemap1 libtotem-plparser18 libtxc-dxtn-s2tc0:i386
  libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libvala-0.24-0
  libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386
  libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
  libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
  libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
  libxshmfence1:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386
  libzeitgeist-1.0-1 linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-headers-3.13.0-44 linux-headers-3.13.0-44-generic
  linux-headers-generic-lts-utopic linux-image-3.13.0-32-generic
  linux-image-3.13.0-44-generic linux-image-extra-3.13.0-32-generic
  linux-image-extra-3.13.0-44-generic linux-image-generic-lts-utopic
  ocl-icd-libopencl1:i386 p11-kit-modules:i386 p7zip python-dnspython
  python-pycurl samba samba-dsdb-modules samba-vfs-modules session-migration
  tdb-tools winbind wine-gecko2.21 wine-gecko2.21:i386 wine-mono0.0.8 wine1.6
  wine1.6-amd64 wine1.6-i386:i386 winetricks

Revision history for this message
Gabriel_P (gabp) wrote :

Same here. Brand new Freya, had installed Libreoffice, Chrome and some other stuff, went into the terminal to git clone a repo and saw there that some packages could be auto-removed. Immediately lost my network among many other things and had to reinstall the entire system.

This is a *crucial* bug and needs to be fixed asap.

Changed in elementaryos:
status: New → Confirmed
Revision history for this message
Gabriel_P (gabp) wrote :
summary: - Autoremove destroyed system, switchboard now buggy
+ Autoremove destroyed system
Revision history for this message
Danielle Foré (danrabbit) wrote : Re: Autoremove destroyed system

Can you provide more information about your system?

Exactly which ISO did you use? Did you download it from our website?

Exactly what did you install or uninstall before attempting an autoremove (if anything)?

Changed in elementaryos:
status: Confirmed → Incomplete
Revision history for this message
Kyle Lamb (kylelamb92) wrote :

This happened to me immediately upon installing Wine. I didn't run autoremove, though I can see everything that got removed in my Software Center history.

Revision history for this message
Paulo Molina (polochamps2004) wrote :

Also noticed these on my PC.

sudo apt-get install libasound2-plugins:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dnsmasq-base firefox-locale-en gir1.2-gnomebluetooth-1.0 gnome-bluetooth
  gnome-user-share gucharmap indicator-bluetooth indicator-keyboard
  indicator-power iputils-arping libgee2 libgucharmap-2-90-7 libmbim-glib0
  libmm-glib0 libmnl0 libnetfilter-conntrack3 libnl-route-3-200
  libnm-glib-vpn1 libqmi-glib0 libtimezonemap1 linux-image-generic
  mobile-broadband-provider-info modemmanager network-manager
  network-manager-gnome network-manager-pptp network-manager-pptp-gnome
  obexd-client pptp-linux python-psutil python-pycurl usb-modeswitch
  usb-modeswitch-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libspeexdsp1:i386
The following NEW packages will be installed:
  libasound2-plugins:i386 libspeexdsp1:i386
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 132 kB of archives.
After this operation, 478 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

Revision history for this message
Paulo Molina (polochamps2004) wrote :

^

Had those when I uninstalled/removed system monitor indicator using the sudo apt-get purge "filename" command.

Revision history for this message
Sascha Heuterer (theanachron) wrote :
Revision history for this message
Sascha Heuterer (theanachron) wrote :

@~danrabbit:
I just run the update manager and after that tried apt-get autoremove... Because the update manager suggested me to do it.
It is also in the bugs description:

"I've made an update wiht the Update Manager and installed the latest version of freya. After that, the system said I have a few packages not being used, so I run a 'apt-get autoremove'."

Revision history for this message
Sascha Heuterer (theanachron) wrote :

I've added all additional information that you were asking for, I hope it's okay if I change it back to Confirmed?

Changed in elementaryos:
status: Incomplete → Confirmed
Revision history for this message
pythonhax (pythonhax777) wrote :

Affects Freya 0.3-beta 2 as well. ISO is: elementaryos-unstable-amd64.20150208.iso which is Freya beta 2. Disables wifi and bluetooth.

Revision history for this message
Thys Ballard (neganexus) wrote :

I just experienced the same issue on Freya Beta 2 as well

Cody Garver (codygarver)
Changed in elementaryos:
milestone: none → freya-rc1
summary: - Autoremove destroyed system
+ Wine marks important packages for autoremoval
Revision history for this message
ovdeathiam (ovdeathiam) wrote : Re: Wine marks important packages for autoremoval

I experienced the same thing after installing gnome-system-monitor.

ISO:
elementaryos-unstable-amd64.20150208.iso

Packets autoremoved:
dnsmasq-base gir1.2-gnomebluetooth-1.0 gnome-bluetooth gnome-power-manager gnome-user-share gucharmap indicator-bluetooth indicator-keyboard indicator-power iputils-arping libgee2 libgucharmap-2-90-7 libmbim-glib0 libmm-glib0 libmnl0 libnetfilter-conntrack3 libnl-route-3-200 libnm-glib-vpn1 libqmi-glib0 mobile-broadband-provider-info modemmanager network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome obexd-client pptp-linux usb-modeswitch usb-modeswitch-data

Revision history for this message
Nils Röhrig (nroehrig) wrote :

For me it came with playonlinux.

Revision history for this message
Mark (rendle-v) wrote :

Same here, pretty sure it happened after installing Google Chrome 40:

11:26:50 ~$ sudo apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  dnsmasq-base emacs-snapshot-common emacs24-bin-common emacs24-common
  emacs24-common-non-dfsg gir1.2-gnomebluetooth-1.0 glib-networking:i386
  gnome-bluetooth gnome-power-manager gnome-user-share gucharmap
  indicator-bluetooth indicator-keyboard indicator-power iputils-arping
  libatk-bridge2.0-0:i386 libatkmm-1.6-1 libatspi2.0-0:i386
  libcairo-gobject2:i386 libcairomm-1.0-1 libcolord1:i386
  libdbusmenu-gtk3-4:i386 libgee2 libglibmm-2.4-1c2a libgtk-3-0:i386
  libgucharmap-2-90-7 libjson-glib-1.0-0:i386 liblcms2-2:i386 libmbim-glib0
  libmm-glib0 libmnl0 libnetfilter-conntrack3 libnl-route-3-200
  libnm-glib-vpn1 libpangomm-1.4-1 libproxy1:i386 libqmi-glib0
  librest-0.7-0:i386 libsigc++-2.0-0c2a libsoup-gnome2.4-1:i386
  libsoup2.4-1:i386 libtimezonemap1 libwayland-client0:i386
  libwayland-cursor0:i386 libxkbcommon0:i386 mobile-broadband-provider-info
  modemmanager network-manager network-manager-gnome network-manager-pptp
  network-manager-pptp-gnome obexd-client pptp-linux thunderbird-locale-en
  thunderbird-locale-en-gb thunderbird-locale-en-us usb-modeswitch
  usb-modeswitch-data

Revision history for this message
Cody Garver (codygarver) wrote :

I have demoted xdg-user-dirs to a recommended package so that when it gets replaced by xdg-user-dirs:i386, it will not break elementary-desktop

Changed in elementaryos:
assignee: nobody → Cody Garver (codygarver)
importance: Undecided → Critical
status: Confirmed → Fix Committed
Revision history for this message
Paulo Molina (polochamps2004) wrote :

Hi Cody,

Does the fix prevent the removal of Nvidia opencl when installing Playonlinux?
Can we get the fix now on updates?

Thank you

Revision history for this message
Gabriel_P (gabp) wrote :

Why was the name of this bug changed to what it is now? It makes it look as if there was a problem with just Wine when actually it is much more widespread.

This is a Freya bug, not a Wine bug.

Cody Garver (codygarver)
summary: - Wine marks important packages for autoremoval
+ Wine & Skype mark important packages for autoremoval
Revision history for this message
Cody Garver (codygarver) wrote :

Paulo, you can get the fix now on updates.

To find out if it still tried to autoremove nvidia, try the following:

sudo apt-get update

sudo apt-get dist-upgrade

apt-get -s autoremove

# the -s flag will run a simulation instead of truly removing anything

Revision history for this message
Cody Garver (codygarver) wrote :

I forgot to mention that you also need to

sudo apt-get install elementary-desktop

# because it was removed earlier by this bug, which is why critical dependencies of it it were offered for removal

Revision history for this message
Paulo Molina (polochamps2004) wrote :

Hi Cody,

Before applying the steps you mentioned, I just decided to start from scratch by reinstalling and updating the OS.
Unfortunately the bug is still there.

Please see attached file.

Thank you

Revision history for this message
Cody Garver (codygarver) wrote :

Paulo, I just tested the following command in an unmodified Ubuntu Trusty virtual machine and I get the same conflict:

$ sudo apt-get install wine1.6 nvidia-libopencl1-331-updates
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-libopencl1-331-updates : Conflicts: libopencl1
                                 Conflicts: libopencl1:i386
 ocl-icd-libopencl1 : Conflicts: libopencl1
 ocl-icd-libopencl1:i386 : Conflicts: libopencl1
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Please report a bug about the conflict to Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/wine1.6/+filebug

Unfortunately, there's nothing we can do about it on our end.

Revision history for this message
Paulo Molina (polochamps2004) wrote :

Cody,

After doing a bit of research, I found this. It seems that it has only a "Confirmed" status from the date it was reported "2014-05-16" til now.
https://bugs.launchpad.net/ubuntu/+source/wine1.6/+bug/1320217

And this link seems to go back as far as 2012 on a Debian bug report.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679228

Thank you

Revision history for this message
Paulo Molina (polochamps2004) wrote :

A follow up on my post#26

This workaround seems to fix the driver issue

sudo apt-get install nvidia-cuda-toolkit
sudo apt-get install ocl-icd-opencl-dev

but still had these two remaining issues

xdg-user-dirs
xdg-users-dirs-gtk

Please see attachment.

Thank you

Revision history for this message
Bilal Elmoussaoui (bilal-elmoussaoui) wrote :

This is still not fixed on Elementary Freya 0.3 Stable release!
When i do try to install skype using

sudo apt install skype

It's still asks me to remove : xdg-user-dirs, xdg-user-dirs-gtk

Also, i'm using a 64bit system on my laptop and when i try to install skype or wine, it asks me to install too many thing for a x86 system like this :
 gcc-4.8-base:i386 gcc-4.9-base:i386 libasound2:i386 libasound2-plugins:i386
  libasyncns0:i386 libaudio2:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libc6:i386
  libcgmanager0:i386 libcomerr2:i386 libcups2:i386 libdbus-1-3:i386
  libdbusmenu-qt2:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
  libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386
  libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386
  libgcc1:i386 libgcrypt11:i386 libgl1-mesa-dri-lts-utopic:i386
  libgl1-mesa-glx-lts-utopic:i386 libglapi-mesa-lts-utopic:i386
  libglib2.0-0:i386 libgnutls26:i386 libgpg-error0:i386 libgssapi-krb5-2:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libice6:i386
  libjack-jackd2-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
  libjson-c2:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386
  libkrb5support0:i386 libllvm3.5:i386 liblzma5:i386 libmysqlclient18:i386
  libnih-dbus1:i386 libnih1:i386 libogg0:i386 liborc-0.4-0:i386
  libp11-kit0:i386 libpciaccess0:i386 libpcre3:i386 libpng12-0:i386
  libpulse0:i386 libqt4-dbus:i386 libqt4-declarative:i386 libqt4-network:i386
  libqt4-opengl:i386 libqt4-script:i386 libqt4-sql:i386 libqt4-sql-mysql:i386
  libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386 libqtdbus4:i386
  libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386 libselinux1:i386
  libsm6:i386 libsndfile1:i386 libspeexdsp1:i386 libsqlite3-0:i386
  libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386 libtiff5:i386
  libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libudev1:i386 libuuid1:i386
  libvorbis0a:i386 libvorbisenc2:i386 libwrap0:i386 libx11-6:i386
  libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
  libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
  libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386
  libxml2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386
  libxss1:i386 libxt6:i386 libxv1:i386 libxxf86vm1:i386 qt-at-spi:i386
  skype-bin:i386 sni-qt:i386 xdg-user-dirs:i386 zlib1g:i386

Linux kernel (uname -r) : 3.16.0-34-generic
Machine Type (uname -m) : x86_64
Distributor ID: elementary OS
Description: elementary OS Freya
Release: 0.3
Codename: freya

One more important thing, i didn't add any ppa for wine or skype. I'm just using the official ppa nothing more and on a frech clean install.

Revision history for this message
smene (smene) wrote :

make sure sni-qt is installed and it's not marked for removal by using the following command:
sudo apt-get install sni-qt:i386

now we can install skype : )

Changed in elementaryos:
status: Fix Committed → Fix Released
Revision history for this message
Jeroen Evens (loggfreak) wrote :

what fix released? i have a fully updated elementaryOS and i still get this issue...

Revision history for this message
Jules Blok (armada) wrote :

I also still get this problem in elementary OS Freya, it has not been fixed as far as I know.

Revision history for this message
Paulo Molina (polochamps2004) wrote :

I still have these two issues with Wine.

xdg-user-dirs
xdg-users-dirs-gtk

Revision history for this message
Jack Leigh (leighman) wrote :

As above. Wine 1.6.2 still wants to remove xdg-user-dirs and xdg-users-dirs-gtk.

Revision history for this message
Zhenrui Liao (zhenruiliao) wrote :

Still having this issue as well installing skype. However I successfully installed skype once after reinstalling my system (after succumbing to the autoremove bug the first time)

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.