Rimuovere tutte le versioni di python installate?
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Rimuovere tutte le versioni di python installate?
Ho fatto un macello con le versioni installate sul mio sistema... mi chiedevo... c'è un modo per rimuoverle tutte fino all'ultimo file (facendo a meno del gestore paccheti synaptic, che non mi si avvia)?
Grazie in anticipo, spero che mi possiate aiutare... sono disperatoo
- jackynet92
- Moderatore Globale
- Messaggi: 13413
- Iscrizione: sabato 3 settembre 2011, 1:41
- Desktop: Mate
- Distribuzione: Ubuntu 16.04 64bit
- Sesso: Maschile
- Località: Torino
Re: Rimuovere tutte le versioni di python installate?
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
Sì ma non può "rimuovere tute le versioni di python installate" : si ritrova con un sistema utilizzabile solo da consolle testuale!Puoi fare tutto da terminale
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
Codice: Seleziona tutto
lsb_release -r
Codice: Seleziona tutto
python --version
Codice: Seleziona tutto
dpkg-query -l python* | grep ^ii
Codice: Seleziona tutto
gksudo synaptic
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
Codice: Seleziona tutto
lsb_release -r
-bash: /usr/bin/lsb_release: /usr/bin/python: bad interpreter: No such file or directory
Codice: Seleziona tutto
python --version
Python 2.7.3
Codice: Seleziona tutto
dpkg-query -l python* | grep ^ii
ii python 2.7.3-0ubuntu2 interactive high-level object-oriented language (default version)
ii python-appindicator 0.4.92-0ubuntu1 Python bindings for libappindicator
ii python-apt 0.8.3ubuntu7.1 Python interface to libapt-pkg
ii python-apt-common 0.8.3ubuntu7.1 Python interface to libapt-pkg (locales)
ii python-brlapi 4.3-1ubuntu5 Python bindings for BrlAPI
ii python-cairo 1.8.8-1ubuntu3 Python bindings for the Cairo vector graphics library
ii python-central 0.6.17ubuntu2 register and build utility for Python packages
ii python-chardet 2.0.1-2build1 universal character encoding detector
ii python-configglue 1.0-1build1 Glues together optparse.OptionParser and ConfigParser.ConfigParser
ii python-crypto 2.4.1-1ubuntu0.1 cryptographic algorithms and protocols for Python
ii python-cups 1.9.61-0ubuntu2 Python bindings for CUPS
ii python-cupshelpers 1.3.8+20120201-0ubuntu8.1 Python modules for printer configuration with CUPS
ii python-dateutil 1.5-1 powerful extensions to the standard datetime module
ii python-dbus 1.0.0-1ubuntu1 simple interprocess messaging system (Python interface)
ii python-dbus-dev 1.0.0-1ubuntu1 main loop integration development files for python-dbus
ii python-debian 0.1.21ubuntu1 Python modules to work with Debian-related data formats
ii python-debtagshw 1.9+git20120320-0ubuntu1 Match debtags hardware:: tags against the actual hardware
ii python-defer 1.0.2+bzr481-1 Small framework for asynchronous programming
ii python-dirspec 3.0.0-0ubuntu1 Python User Folders Specification Library
ii python-egenix-mxdatetime 3.2.1-1ubuntu1 date and time handling routines for Python
ii python-egenix-mxtools 3.2.1-1ubuntu1 collection of additional builtins for Python
ii python-gconf 2.28.1+dfsg-1 Python bindings for the GConf configuration database system
ii python-gdbm 2.7.3-1ubuntu1 GNU dbm database support for Python
ii python-gi 3.2.2-1~precise Python 2.x bindings for gobject-introspection libraries
ii python-gi-cairo 3.2.2-1~precise Python Cairo bindings for the GObject library
ii python-glade2 2.24.0-3 GTK+ bindings: Glade support
ii python-gmenu 3.0.1-0ubuntu7 GNOME implementation of the freedesktop menu specification
ii python-gnomekeyring 2.32.0+dfsg-1 Python bindings for the GNOME keyring library
ii python-gnupginterface 0.3.2-9.1ubuntu3 Python interface to GnuPG (GPG)
ii python-gobject 3.2.2-1~precise Python 2.x bindings for GObject - transitional package
ii python-gobject-2 2.28.6-10ubuntu1 deprecated static Python bindings for the GObject library
ii python-gst0.10 0.10.22-3ubuntu0.1 generic media-playing framework (Python bindings)
ii python-gtk2 2.24.0-3 Python bindings for the GTK+ widget set
ii python-gtksourceview2 2.10.1-2build1 Python bindings for the GtkSourceView widget
ii python-gtkspell 2.25.3-11 Python bindings for the GtkSpell library
ii python-httplib2 0.7.2-1ubuntu2 comprehensive HTTP client library written for Python
ii python-ibus 1.4.1-3ubuntu1 Intelligent Input Bus - Python support
ii python-imaging 1.1.7-4 Python Imaging Library
ii python-indicate 0.6.92-0ubuntu1 Python bindings for libindicate
ii python-keyring 0.9.2-0ubuntu0.12.04.2 store and access your passwords safely
ii python-launchpad-integration 0.1.56.1 library for launchpad integration
ii python-launchpadlib 1.9.12-1 Launchpad web services client library
ii python-lazr.restfulclient 0.12.0-1ubuntu1 client for lazr.restful-based web services
ii python-lazr.uri 1.0.3-1 library for parsing, manipulating, and generating URIs
ii python-libproxy 0.4.7-0ubuntu4.1 automatic proxy configuration management library (python)
ii python-libxml2 2.7.8.dfsg-5.1ubuntu4.4 Python bindings for the GNOME XML library
ii python-louis 2.3.0-3 Python bindings for liblouis
ii python-lxml 2.3.2-1 pythonic binding for the libxml2 and libxslt libraries
ii python-mako 0.5.0-1 fast and lightweight templating for the Python platform
ii python-markupsafe 0.15-1 XML/HTML/XHTML Markup safe string for Python
ii python-minimal 2.7.3-0ubuntu2 minimal subset of the Python language (default version)
ii python-notify 0.1.1-3 Python bindings for libnotify
ii python-numpy 1:1.6.1-6ubuntu1 Numerical Python adds a fast array facility to the Python language
ii python-oauth 1.0.1-3build1 Python library implementing of the OAuth protocol
ii python-openssl 0.12-1ubuntu2 Python wrapper around the OpenSSL library
ii python-packagekit 0.7.2-4ubuntu3 PackageKit Python bindings
ii python-pam 0.4.2-12.2ubuntu4 A Python interface to the PAM library
ii python-pexpect 2.3-1ubuntu2 Python module for automating interactive applications
ii python-piston-mini-client 0.7.2+bzr57-0ubuntu1 library for writing clients for Django's Piston REST APIs
ii python-pkg-resources 0.6.24-1ubuntu1 Package Discovery and Resource Access using pkg_resources
ii python-problem-report 2.0.1-0ubuntu17.3 Python library to handle problem reports
ii python-protobuf 2.4.1-1ubuntu2 Python bindings for protocol buffers
ii python-pyatspi2 2.4.0+dfsg-0ubuntu3 Assistive Technology Service Provider Interface - Python bindings
ii python-pycurl 7.19.0-4ubuntu3 Python bindings to libcurl
ii python-pygoocanvas 0.14.1-1ubuntu6 GooCanvas Python bindings
ii python-pyinotify 0.9.2-1 simple Linux inotify Python bindings
ii python-pyorbit 2.24.0-6ubuntu2 A Python language binding for the ORBit2 CORBA implementation
ii python-qt4 4.9.1-2ubuntu1 Python bindings for Qt4
ii python-qt4-dbus 4.9.1-2ubuntu1 DBus Support for PyQt4
ii python-rdflib 2.4.2-1ubuntu1 RDF library containing an RDF triple store and RDF/XML parser/serializer
ii python-renderpm 2.5-1.1build1 python low level render interface
ii python-reportlab 2.5-1.1build1 ReportLab library to create PDF documents using Python
ii python-reportlab-accel 2.5-1.1build1 C coded extension accelerator for the ReportLab Toolkit
ii python-serial 2.5-2.1build1 pyserial - module encapsulating access for the serial port
ii python-simplejson 2.3.2-1 simple, fast, extensible JSON encoder/decoder for Python
ii python-sip 4.13.2-1 Python/C++ bindings generator runtime library
ii python-smbc 1.0.13-0ubuntu1 Python bindings for Samba clients (libsmbclient)
ii python-speechd 0.7.1-6ubuntu3 Python interface to Speech Dispatcher
ii python-support 1.0.14ubuntu2 automated rebuilding support for Python modules
ii python-telepathy 0.15.19-2.1build1 Python language bindings for telepathy
ii python-tk 2.7.3-1ubuntu1 Tkinter - Writing Tk applications with Python
ii python-twisted-bin 11.1.0-1ubuntu2 Event-based framework for internet applications
ii python-twisted-core 11.1.0-1ubuntu2 Event-based framework for internet applications
ii python-twisted-names 11.1.0-1 DNS protocol implementation with client and server
ii python-twisted-web 11.1.0-1 HTTP protocol implementation together with clients and servers
ii python-ubuntu-sso-client 3.0.2-0ubuntu3 Ubuntu Single Sign-On client - Python library
ii python-ubuntuone-storageprotocol 3.0.2-0ubuntu1 Python library for Ubuntu One file storage and sharing service
ii python-uniconvertor 1.1.4-1ubuntu1 Universal vector graphics translator
ii python-uno 1:3.5.7-0ubuntu4 Python-UNO bridge
ii python-virtkey 0.60.0-0ubuntu5 Library to emulate keyboard keypresses.
ii python-vte 1:0.28.2-3ubuntu2 Python bindings for the VTE widget set
ii python-wadllib 1.3.0-2 Python library for navigating WADL files
ii python-webkit 1.1.8-2ubuntu2 WebKit/Gtk Python bindings
ii python-wnck 2.32.0+dfsg-1 Python bindings for the WNCK library
ii python-wsgi-intercept 0.4-0ubuntu3 installs a WSGI application in place of a real URI for testing
ii python-xapian 1.2.8-1 Xapian search engine interface for Python
ii python-xdg 0.19-3ubuntu2 Python library to access freedesktop.org standards
ii python-xkit 0.4.2.3build1 library for the manipulation of the xorg.conf
ii python-zeitgeist 0.9.0-1ubuntu1 event logging framework - Python bindings
ii python-zope.interface 3.6.1-1ubuntu3 Interfaces for Python
ii python3 3.2.3-0ubuntu1.2 interactive high-level object-oriented language (default python3 version)
ii python3-minimal 3.2.3-0ubuntu1.2 minimal subset of the Python language (default python3 version)
ii python3.2 3.2.3-0ubuntu3.6 Interactive high-level object-oriented language (version 3.2)
ii python3.2-minimal 3.2.3-0ubuntu3.6 Minimal subset of the Python language (version 3.2)
Codice: Seleziona tutto
gksudo synaptic
-bash: /usr/bin/python: No such file or directory
Codice: Seleziona tutto
Failed to load session "ubuntu"
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
Se nessuno interviene con una idea migliore o trova sconveniente la mia, prova a forzare la reinstallazione della gui
Codice: Seleziona tutto
sudo apt-get install --reinstall ubuntu-desktop
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
Codice: Seleziona tutto
sudo apt-get install --reinstall ubuntu-desktop
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:
apturl : Depends: gconf2 (>= 2.28.1-2)
checkbox-gtk : Depends: gksu but it is not going to be installed
gnome-applets-data : Depends: gconf2 (>= 2.28.1-2)
gwibber : Depends: libgwibber-gtk2 (>= 3.1.4.1+r1119) but it is not going to be installed
Depends: libgwibber2 (>= 3.1.4.1) but it is not going to be installed
ibus : Depends: gconf2 (>= 2.28.1-2)
language-selector-gnome : Depends: aptdaemon (>= 0.40+bzr527) but it is not going to be installed
python-gnome2 : Depends: libbonoboui2-0 (>= 2.15.1) but it is not going to be installed
Depends: libgnome2-0 (>= 2.17.3) but it is not going to be installed
Depends: libgnomeui-0 (>= 2.22.0) but it is not going to be installed
Depends: libgnomevfs2-0 (>= 1:2.17.90) but it is not going to be installed
python-software-properties : Depends: unattended-upgrades but it is not going to be installed
sessioninstaller : Depends: aptdaemon (>= 0.30) but it is not going to be installed
software-center : Depends: aptdaemon (>= 0.40) but it is not going to be installed
Recommends: update-notifier but it is not going to be installed
ubuntu-desktop : Depends: foomatic-db-compressed-ppds but it is not going to be installed
Depends: gnome-control-center but it is not going to be installed
Depends: gnome-media but it is not going to be installed
Depends: gnome-terminal but it is not going to be installed
Depends: openprinting-ppds but it is not going to be installed
Depends: ubuntu-artwork but it is not going to be installed
Depends: unity but it is not going to be installed
Depends: unity-2d but it is not going to be installed
Depends: update-notifier but it is not going to be installed
Recommends: activity-log-manager-control-center but it is not going to be installed
Recommends: aisleriot but it is not going to be installed
Recommends: apport-gtk but it is not going to be installed
Recommends: bluez
Recommends: bluez-alsa but it is not going to be installed
Recommends: bluez-gstreamer but it is not going to be installed
Recommends: deja-dup but it is not going to be installed
Recommends: firefox but it is not going to be installed
Recommends: firefox-gnome-support but it is not going to be installed
Recommends: gnome-bluetooth but it is not going to be installed
Recommends: hplip but it is not going to be installed
Recommends: jockey-gtk but it is not going to be installed
Recommends: landscape-client-ui-install but it is not going to be installed
Recommends: libreoffice-calc but it is not going to be installed
Recommends: libreoffice-gnome but it is not going to be installed
Recommends: libreoffice-help-en-us but it is not going to be installed
Recommends: libreoffice-impress but it is not going to be installed
Recommends: libreoffice-writer but it is not going to be installed
Recommends: nautilus-share but it is not going to be installed
Recommends: network-manager-gnome but it is not going to be installed
Recommends: printer-driver-foo2zjs but it is not going to be installed
Recommends: printer-driver-ptouch but it is not going to be installed
Recommends: printer-driver-pxljr but it is not going to be installed
Recommends: printer-driver-sag-gdi but it is not going to be installed
Recommends: printer-driver-splix but it is not going to be installed
Recommends: rhythmbox-ubuntuone but it is not going to be installed
Recommends: ubuntuone-client-gnome but it is not going to be installed
Recommends: xul-ext-ubufox but it is not going to be installed
ubuntuone-control-panel-qt : Depends: ubuntuone-client (>= 2.99.92) but it is not going to be installed
Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but it is not going to be installed
Depends: ubuntuone-control-panel-common (= 3.0.1-0ubuntu1) but it is not going to be installed
update-manager : Depends: gksu but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Codice: Seleziona tutto
apt-get -f install
Codice: Seleziona tutto
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libkrb5-3:i386 libatk1.0-0:i386 libk5crypto3:i386 libstdc++6:i386
indicator-printers libxfixes3:i386 libxcomposite1:i386
gir1.2-gnomebluetooth-1.0 libunity6 libebackend-1.2-1 libidn11:i386
ubuntuone-control-panel-qt nspluginwrapper libtimezonemap1 ubuntuone-couch
libjpeg-turbo8:i386 libjpeg8:i386 libgnome-control-center1 unity-lens-video
libnm-gtk0 python-reportlab libdrm-radeon1:i386 libdbus-1-3:i386
ubuntuone-installer unity-scope-video-remote unity-scope-musicstores
gvfs-libs:i386 libmagick++4 python-uniconvertor python-lxml libcairo2:i386
gnome-control-center-data libunity-misc4 libgnutls26:i386 libtasn1-3:i386
libedata-book-1.2-11 libfreetype6:i386 python-renderpm libglib2.0-0:i386
libexpat1:i386 unity-lens-music gtk3-engines-unico unity-2d-spread
libedata-cal-1.2-13 duplicity librsvg2-common:i386 libdatrie1:i386
libavahi-common-data:i386 libgdk-pixbuf2.0-0:i386 libxcb1:i386 apg
libp11-kit0:i386 libdrm2:i386 network-manager libxau6:i386
libpixman-1-0:i386 libnm-gtk-common libcups2:i386 libgmime2.6-cil
libxinerama1:i386 libkrb5support0:i386 nspluginviewer:i386 libxft2:i386
libnl-route-3-200 libcroco3:i386 libdrm-nouveau1a:i386 libice6:i386
libxdmcp6:i386 libgcrypt11:i386 libthai0:i386 libdrm-intel1:i386
libxml2:i386 libkeyutils1:i386 libxrender1:i386 unity-2d-shell libtiff4:i386
libjasper1:i386 libudev0:i386 librsvg2-2:i386 libavahi-client3:i386
libx11-6:i386 libfontconfig1:i386 libpango1.0-0:i386 gnome-online-accounts
libsm6:i386 libgc1c2 libxdamage1:i386 gvfs:i386 libxcb-render0:i386
libgssapi-krb5-2:i386 libxi6:i386 libxcursor1:i386 perlmagick
libxcb-shm0:i386 libxt6:i386 libxext6:i386 libavahi-common3:i386 librsync1
libxrandr2:i386 activity-log-manager-common libgtk2.0-0:i386
libgpg-error0:i386 python-reportlab-accel ubuntuone-client
ubuntuone-control-panel ubuntuone-control-panel-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
aptdaemon gconf2 gksu gwibber gwibber-service language-selector-common
language-selector-gnome libbonoboui2-0 libgnome2-0 libgnome2-bin
libgnome2-common libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common
libgwibber-gtk2 libgwibber2 python-ubuntuone-client ubuntuone-client
ubuntuone-control-panel ubuntuone-control-panel-common unattended-upgrades
update-manager update-manager-core
Suggested packages:
gwibber-service-flickr gwibber-service-digg gwibber-service-statusnet
gwibber-service-foursquare gwibber-service-friendfeed gwibber-service-pingfm
gwibber-service-qaiku unity-lens-gwibber desktop-base libgnomevfs2-bin
libgnomevfs2-extra ubuntuone-client-dbg ubuntuone-client-proxy bsd-mailx
Recommended packages:
gwibber-service-facebook gwibber-service-twitter gwibber-service-identica
ubuntuone-installer software-properties-gtk
The following NEW packages will be installed:
aptdaemon gconf2 gksu libbonoboui2-0 libgnome2-0 libgnome2-bin
libgnome2-common libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common
libgwibber-gtk2 libgwibber2 ubuntuone-client ubuntuone-control-panel
ubuntuone-control-panel-common unattended-upgrades
The following packages will be upgraded:
gwibber gwibber-service language-selector-common language-selector-gnome
python-ubuntuone-client update-manager update-manager-core
7 upgraded, 16 newly installed, 0 to remove and 447 not upgraded.
53 not fully installed or removed.
Need to get 0 B/2,937 kB of archives.
After this operation, 6,920 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Setting up python2.7-minimal (2.7.3-0ubuntu3.6) ...
# Empty sitecustomize.py to avoid a dangling symlink
Traceback (most recent call last):
File "/usr/lib/python2.7/py_compile.py", line 170, in <module>
sys.exit(main())
File "/usr/lib/python2.7/py_compile.py", line 162, in main
compile(filename, doraise=True)
File "/usr/lib/python2.7/py_compile.py", line 106, in compile
with open(file, 'U') as f:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/sitecustomize.py'
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
il fatto è che disinstallare python ti porta via non solo il DE ma una quantità di altre applicazioni che da python dipendono: a quel punto reinstallare python e ubuntu-desktop ti lascia comunque con un sistema monco. Secondo me fai prima a farti un backup della tua home (o comunque di quello che ti preme) e reinstallareC'è un modo per rimuovere definitivamente tutte le versioni di python e reinstallarle da capo per bene?
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
Comunque grazie a tutti per la disponibilità
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
comunque, se nessuno più esperto di me ti risponde e se hai bisogno di python sul tuo server, Senza nessuna garanzia che funzioni e tuo totale rischio:
ti propongo di rimuovere python e re-installarlo, poi re-installare tutti i pacchetti che si porta via nella disinstallazione.
Siccome potresti avere fatto un apt-get clean, prenderei prima l'elenco dei pacchetti dipendenti da python, così:
apri una TTY con Ctr+Alt+f1 ti logghi e fai
Codice: Seleziona tutto
apt-cache rdepends --no-pre-depends --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --installed python | tail -n+3 | sort -u > dipendenze
Codice: Seleziona tutto
sudo apt-get purge python*
sudo apt-get install python
xargs sudo apt-get install <dipendenze
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
questo prende tutte le applicazioni che dipendono da python attualmente installate nel sistema, elimina i doppioni e mette l'elenco in un file che si chiama dipendenze o come_vuoi_turai ha scritto:Codice: Seleziona tutto
apt-cache rdepends --no-pre-depends --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --installed python | tail -n+3 | sort -u > dipendenze
questo prende i nomi dei pacchetti dal file appena creato e li passa a xargs che, uno alla volta, li passa ad apt per l'installazionerai ha scritto:Codice: Seleziona tutto
xargs sudo apt-get install <dipendenze
Ti ricordo che apt-get può fare una simulazione senza modificare realmente il sistema se usi l'opzione -s, per controlllare cosa accadrebbe effettivamente.
Viceversa se usi l'opzione -y , apt-get risponde automaticamente _Sì_ alle richieste e funziona in modo autonomo dalla tua presenza alla tastiera (l'elenco dei pacchetti potrebbe essere moolto lungo)
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
Codice: Seleziona tutto
root@hvsius:~# apt-cache rdepends --no-pre-depends --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --installed python | tail -n+3 | sort -u > dipendenze
CONTINUA SOTTO
|
|
|
▽
▽
root@hvsius:~# sudo apt-get purge python*
un infinità di programmi con scritto "is not installed, so not removed"... non faccio la lista perchè riempirei l'intera pagina web lol
poi quando finita la lista appare il solito errore:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alacarte : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-gtk2 (>= 2.13.0) but it is not going to be installed
Depends: python-gmenu (>= 2.27.92) but it is not going to be installed
Depends: python-gobject (>= 2.15.1) but it is not going to be installed
Recommends: gnome-panel but it is not going to be installed or
exo-utils but it is not going to be installed
apparmor : Depends: python but it is not going to be installed
apparmor-utils : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
apport : Depends: python (>= 2.6) but it is not going to be installed
Depends: python-apport (>= 2.0.1-0ubuntu17.3) but it is not going to be installed
Depends: python-gi but it is not going to be installed
apt-xapian-index : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-xapian (>= 1.0.2) but it is not going to be installed
Depends: python-apt (>= 0.7.93.2) but it is not going to be installed
Depends: python-debian (>= 0.1.14) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
apturl : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: gconf2 (>= 2.28.1-2)
Depends: python-gi but it is not going to be installed
apturl-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt but it is not going to be installed
checkbox : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-libxml2 but it is not going to be installed
Recommends: gstreamer0.10-gconf but it is not going to be installed
Recommends: python-apport but it is not going to be installed
Recommends: python-apt but it is not going to be installed
Recommends: python-dateutil but it is not going to be installed
Recommends: python-gst0.10 but it is not going to be installed
checkbox-gtk : Depends: gksu but it is not going to be installed
Depends: python-gobject (>= 2.28) but it is not going to be installed
Depends: python-cairo but it is not going to be installed
command-not-found : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt but it is not going to be installed
Depends: python-gdbm but it is not going to be installed
duplicity : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gnupginterface (>= 0.3.2-9.1) but it is not going to be installed
gdb : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
gedit : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi but it is not going to be installed
gimp : Depends: python-gtk2 (>= 2.8.0) but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
gnome-applets-data : Depends: gconf2 (>= 2.28.1-2)
Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
gnome-doc-utils : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-libxml2 but it is not going to be installed
gnome-menus : Depends: python but it is not going to be installed
gnome-orca : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-speechd (>= 0.6.2) but it is not going to be installed
Depends: python-gi (>= 3.0.2) but it is not going to be installed
Depends: python-pyatspi2 (>= 2.1.90) but it is not going to be installed
Depends: python-cairo but it is not going to be installed
Depends: python-brlapi but it is not going to be installed
Depends: python-louis (>= 1.6.2) but it is not going to be installed
Depends: python-xdg but it is not going to be installed
gnome-sudoku : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi (>= 2.90.1) but it is not going to be installed
Depends: python-gi-cairo (>= 2.90.1) but it is not going to be installed
Depends: python-cairo but it is not going to be installed
gwibber : Depends: python-dbus but it is not going to be installed
Depends: python-egenix-mxdatetime but it is not going to be installed
Depends: python-simplejson but it is not going to be installed
Depends: python-oauth but it is not going to be installed
Depends: libgwibber-gtk2 (>= 3.1.4.1+r1119) but it is not going to be installed
Depends: libgwibber2 (>= 3.1.4.1) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
gwibber-service : Depends: python-dbus but it is not going to be installed
Depends: python-egenix-mxdatetime but it is not going to be installed
Depends: python-simplejson but it is not going to be installed
Depends: python-xdg but it is not going to be installed
Depends: python-oauth but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Recommends: python-libproxy (>= 0.3.1) but it is not going to be installed
Recommends: gwibber-service-facebook but it is not going to be installed
Recommends: gwibber-service-twitter but it is not going to be installed
Recommends: gwibber-service-identica but it is not going to be installed
hplip-data : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
ibus : Depends: gconf2 (>= 2.28.1-2)
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-ibus (= 1.4.1-3ubuntu1) but it is not going to be installed
Depends: python-xdg but it is not going to be installed
Depends: python-notify but it is not going to be installed
Recommends: python-appindicator but it is not going to be installed
ibus-pinyin : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
ibus-table : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
jockey-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-xkit but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-apt but it is not going to be installed
Depends: python-pycurl but it is not going to be installed
language-selector-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt (>= 0.7.12.0) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
language-selector-gnome : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-apt (>= 0.6.12) but it is not going to be installed
Depends: aptdaemon (>= 0.40+bzr527) but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
launchpad-integration : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
libevolution : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libgladeui-1-11 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libpeas-1.0-0 : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libreoffice-emailmerge : Depends: python-uno but it is not going to be installed or
python3-uno but it is not going to be installed
lsb-release : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
nvidia-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt but it is not going to be installed
Depends: python-xkit but it is not going to be installed
onboard : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-cairo but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-virtkey (>= 0.60.0) but it is not going to be installed
oneconf : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-oauth but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-apt but it is not going to be installed
Depends: python-gtk2 but it is not going to be installed
Depends: python-piston-mini-client (>= 0.3+bzr32-0ubuntu1) but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Recommends: update-notifier (>= 0.103) but it is not going to be installed
pitivi : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-launchpad-integration but it is not going to be installed
Depends: python-gtk2 (>= 2.17) but it is not going to be installed
Depends: python-gst0.10 (>= 0.10.19) but it is not going to be installed
Depends: python-cairo (>= 1.0.0) but it is not going to be installed
Depends: python-gconf but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-pkg-resources but it is not going to be installed
Depends: python-zope.interface but it is not going to be installed or
python-zope-interface but it is not installable
Depends: python-pygoocanvas but it is not going to be installed
Depends: python-xdg but it is not going to be installed
rhythmbox : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-gst0.10 (>= 0.10.1) but it is not going to be installed
rhythmbox-plugins : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Recommends: python-mako but it is not going to be installed
scribus : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-tk but it is not going to be installed
sessioninstaller : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: aptdaemon (>= 0.30) but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
Depends: python-defer but it is not going to be installed
Depends: python-gst0.10 but it is not going to be installed
Depends: python-xapian but it is not going to be installed
Depends: python-gi but it is not going to be installed
software-center : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: aptdaemon (>= 0.40) but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-gi-cairo but it is not going to be installed
Depends: python-xapian but it is not going to be installed
Depends: python-apt (>= 0.8.3ubuntu4) but it is not going to be installed
Depends: python-aptdaemon (>= 0.40) but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-defer but it is not going to be installed
Depends: python-xdg but it is not going to be installed
Depends: python-piston-mini-client (>= 0.1+bzr29) but it is not going to be installed
Depends: python-debtagshw but it is not going to be installed
Recommends: update-notifier but it is not going to be installed
software-center-aptdaemon-plugins : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi but it is not going to be installed
software-properties-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-dbus but it is not going to be installed
software-properties-gtk : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-software-properties but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
system-config-printer-common : Depends: python-cups (>= 1.9.60) but it is not going to be installed
Depends: python-smbc but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-cupshelpers but it is not going to be installed
system-config-printer-gnome : Depends: python-gtk2 but it is not going to be installed
Depends: python-notify but it is not going to be installed
Depends: python-gobject but it is not going to be installed
Depends: python-libxml2 but it is not going to be installed
Depends: python-gnomekeyring but it is not going to be installed
system-config-printer-udev : Depends: python-cups (>= 1.9.55) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-cupshelpers but it is not going to be installed
totem : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
totem-plugins : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python2.7 but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-xdg but it is not going to be installed
Depends: python-httplib2 but it is not going to be installed
ubuntu-sso-client : Depends: python but it is not going to be installed
Depends: python-ubuntu-sso-client (= 3.0.2-0ubuntu3) but it is not going to be installed
ubuntu-sso-client-gtk : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-ubuntu-sso-client (= 3.0.2-0ubuntu3) but it is not going to be installed
ubuntu-sso-client-qt : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-imaging but it is not going to be installed
Depends: python-qt4 but it is not going to be installed
Depends: python-qt4-dbus but it is not going to be installed
Depends: python-ubuntu-sso-client (= 3.0.2-0ubuntu3) but it is not going to be installed
ubuntu-system-service : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt (>= 0.7.0) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
ubuntuone-control-panel-qt : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-qt4 but it is not going to be installed
Depends: python-qt4-dbus but it is not going to be installed
Depends: python-twisted-core but it is not going to be installed
Depends: python-ubuntu-sso-client (>= 2.99.92) but it is not going to be installed
Depends: python-ubuntuone-client (>= 2.99.92) but it is not going to be installed
Depends: python-ubuntuone-control-panel (= 3.0.1-0ubuntu1) but it is not going to be installed
Depends: ubuntuone-client (>= 2.99.92) but it is not going to be installed
Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but it is not going to be installed
Depends: ubuntuone-control-panel-common (= 3.0.1-0ubuntu1) but it is not going to be installed
ubuntuone-couch : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-oauth but it is not going to be installed
Depends: python-httplib2 but it is not going to be installed
Depends: python-ubuntuone-client but it is not going to be installed
ubuntuone-installer : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt but it is not going to be installed
Depends: python-aptdaemon but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
Depends: python-defer but it is not going to be installed or
python-aptdaemon-defer but it is not installable
Depends: python-gi but it is not going to be installed
ufw : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
unity-lens-video : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-zeitgeist but it is not going to be installed
unity-scope-video-remote : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-zeitgeist but it is not going to be installed
update-manager : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: gksu but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-gobject (>= 2.28.6-2) but it is not going to be installed
update-manager-core : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-apt (>= 0.7.13.4ubuntu3) but it is not going to be installed
Depends: python-gnupginterface but it is not going to be installed
usb-creator-common : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-debian but it is not going to be installed
usb-creator-gtk : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi but it is not going to be installed
Depends: python-dbus but it is not going to be installed
vim : Depends: libpython2.7 (>= 2.7) but it is not going to be installed
xdiagnose : Depends: python2.7 but it is not going to be installed
Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-gi (>= 2.28) but it is not going to be installed
zeitgeist : Depends: python-zeitgeist but it is not going to be installed
zeitgeist-core : Depends: python-zeitgeist but it is not going to be installed
zeitgeist-extension-fts : Depends: python (>= 2.7.1-0ubuntu2) but it is not going to be installed
Depends: python-xapian but it is not going to be installed
Depends: python-xdg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@hvsius:~# sudo apt-get install python
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:
apturl : Depends: gconf2 (>= 2.28.1-2)
checkbox-gtk : Depends: gksu but it is not going to be installed
gnome-applets-data : Depends: gconf2 (>= 2.28.1-2)
gwibber : Depends: libgwibber-gtk2 (>= 3.1.4.1+r1119) but it is not going to be installed
Depends: libgwibber2 (>= 3.1.4.1) but it is not going to be installed
ibus : Depends: gconf2 (>= 2.28.1-2)
language-selector-gnome : Depends: aptdaemon (>= 0.40+bzr527) but it is not going to be installed
python : Depends: python-minimal (= 2.7.3-0ubuntu2.2) but 2.7.3-0ubuntu2 is to be installed
python-gnome2 : Depends: libbonoboui2-0 (>= 2.15.1) but it is not going to be installed
Depends: libgnome2-0 (>= 2.17.3) but it is not going to be installed
Depends: libgnomeui-0 (>= 2.22.0) but it is not going to be installed
Depends: libgnomevfs2-0 (>= 1:2.17.90) but it is not going to be installed
python-software-properties : Depends: unattended-upgrades but it is not going to be installed
sessioninstaller : Depends: aptdaemon (>= 0.30) but it is not going to be installed
software-center : Depends: aptdaemon (>= 0.40) but it is not going to be installed
Recommends: update-notifier but it is not going to be installed
ubuntuone-control-panel-qt : Depends: ubuntuone-client (>= 2.99.92) but it is not going to be installed
Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but it is not going to be installed
Depends: ubuntuone-control-panel-common (= 3.0.1-0ubuntu1) but it is not going to be installed
update-manager : Depends: gksu but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@hvsius:~# xargs sudo apt-get install <dipendenze
un' altra serie di programmi che non inserisco per non incasinare il topic.. l'output è questo:
Note, selecting "programma" for regex "python-apt-common"
poi verso la fine anche
"programma" Conflicts "altro programma"
poi alla fine :
zentyal-common : Conflicts: sudo-ldap but 1.8.3p1-1ubuntu3.6 is to be installed
zephyr-server : Conflicts: zephyr-server-krb5 but 3.0.1-1 is to be installed
zephyr-server-krb5 : Conflicts: zephyr-server
zope-quotafolder : Depends: zope3 but it is not installable or
zope2.10 but it is not installable or
zope2.9 but it is not installable or
zope2.8 but it is not installable or
zope2.7 but it is not installable or
zope2.6 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
Specie dove suggerisce di ripetere piu volte la sequenza apt-get -f install e dpkg --configure -a
PS
Ma non hai per caso abilitato qualche repository esterno?
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
http://i59.tinypic.com/1z56w6d.png
C'è un modo per farlo da terminale?
--UPDATE--
Ho trovato il modo per eseguirlo tramite terminale e l'ho fatto, ma i passaggi successivi non sono riusciti ad eseguirli, perchè spunta il solito errore:
Codice: Seleziona tutto
apt-get -f install
After this operation, 6,920 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Setting up python2.7-minimal (2.7.3-0ubuntu3.6) ...
# Empty sitecustomize.py to avoid a dangling symlink
Traceback (most recent call last):
File "/usr/lib/python2.7/py_compile.py", line 170, in <module>
sys.exit(main())
File "/usr/lib/python2.7/py_compile.py", line 162, in main
compile(filename, doraise=True)
File "/usr/lib/python2.7/py_compile.py", line 106, in compile
with open(file, 'U') as f:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/sitecustomize.py'
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
Setting up python2.7-minimal (2.7.3-0ubuntu3.6) ...
# Empty sitecustomize.py to avoid a dangling symlink
Traceback (most recent call last):
File "/usr/lib/python2.7/py_compile.py", line 170, in <module>
sys.exit(main())
File "/usr/lib/python2.7/py_compile.py", line 162, in main
compile(filename, doraise=True)
File "/usr/lib/python2.7/py_compile.py", line 106, in compile
with open(file, 'U') as f:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/sitecustomize.py'
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.7:
python2.7 depends on python2.7-minimal (= 2.7.3-0ubuntu3.6); however:
Package python2.7-minimal is not configured yet.
dpkg: error processing python2.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython2.7:
libpython2.7 depends on python2.7 (= 2.7.3-0ubuntu3.6); however:
Package python2.7 is not configured yet.
dpkg: error processing libpython2.7 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.7-minimal
python2.7
libpython2.7
-
- Imperturbabile Insigne
- Messaggi: 2848
- Iscrizione: domenica 11 maggio 2008, 18:03
- Desktop: plasma
- Distribuzione: 22.04
- Località: Palermo
Re: Rimuovere tutte le versioni di python installate?
potresti provare a cercare se questo file esiste ancora nel tuo file system: (da me è in /etc/python3.2/)IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/sitecustomize.py'
Codice: Seleziona tutto
locate sitecustomize.py
Codice: Seleziona tutto
sudo cp /dove/è/adesso/sitecustomize.py /usr/lib/python2.7/
Codice: Seleziona tutto
sudo dpkg -a --configure
- AllExJ
- Prode Principiante
- Messaggi: 96
- Iscrizione: mercoledì 28 agosto 2013, 20:52
- Desktop: kde
- Distribuzione: ArchLinux 64 bit
- Sesso: Maschile
Re: Rimuovere tutte le versioni di python installate?
cp: cannot stat sitecustomize.py: no such file or directory...
Mentre invece il file esiste eccome. Cavolo non ce la faccio più.
Chi c’è in linea
Visualizzano questa sezione: Google [Bot] e 26 ospiti