PDA

View Full Version : [ubuntu] messed up something in 11.10



artofshred87
September 18th, 2012, 06:16 PM
i was trying to install a program like this

aos87@ubuntu:/media/Guitar Pro 6$ sudo linux32 dpkg -i guitarpro6.deb
[sudo] password for aos87:
Selecting previously deselected package guitarpro6:i386.
(Reading database ...
dpkg: warning: files list file for package `sandboxgamemaker' missing, assuming package has no files currently installed.
(Reading database ... 293847 files and directories currently installed.)
Unpacking guitarpro6:i386 (from guitarpro6.deb) ...
dpkg: dependency problems prevent configuration of guitarpro6:i386:
guitarpro6:i386 depends on libasound2.
guitarpro6:i386 depends on libxml2.
guitarpro6:i386 depends on libxslt1.1.
guitarpro6:i386 depends on libportaudio0.
guitarpro6:i386 depends on libportaudio2.
guitarpro6:i386 depends on libglu1-mesa.
guitarpro6:i386 depends on gksu.
dpkg: error processing guitarpro6:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
guitarpro6:i386
aos87@ubuntu:/media/Guitar Pro 6$


when that happened i was going to try and install each of those dependencys individually and then this happened..

aos87@ubuntu:/media/Guitar Pro 6$ sudo apt-get install libasound2
[sudo] password for aos87:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
guitarpro6:i386 : Depends: libasound2:i386 but it is not going to be installed
Depends: libxml2:i386 but it is not going to be installed
Depends: libxslt1.1:i386 but it is not going to be installed
Depends: libportaudio0:i386 but it is not going to be installed
Depends: libportaudio2:i386 but it is not going to be installed
Depends: libglu1-mesa:i386 but it is not going to be installed
Depends: gksu:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
aos87@ubuntu:/media/Guitar Pro 6$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


So i tried 'apt-get -f install' and then this happened (mind you im still a noob)


aos87@ubuntu:/media/Guitar Pro 6$ sudo apt-get -f install
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:
libaccess-bridge-java hydrogen-drumkits libportsmf0 gdebi-core
rubberband-cli libaccess-bridge-java-jni audacity-data libasound2:i386
libglu1-mesa:i386 libportaudio2:i386 libjack-jackd2-0:i386
libportaudio0:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libasound2:i386 libglu1-mesa:i386 libjack-jackd2-0:i386 libportaudio0:i386
libportaudio2:i386
Suggested packages:
libasound2-plugins:i386 libasound2-python:i386 jackd2:i386
The following packages will be REMOVED:
audacity checkbox-gtk empathy espeak gdebi gksu gnome-codec-install
guitarpro6:i386 hydrogen libespeak1 libgksu2-0 libpam-gnome-keyring
libportaudio2 nautilus-gksu nautilus-sendto-empathy seahorse
speech-dispatcher sudo ubuntu-minimal update-notifier winetricks wireshark
x11-apps x11-session-utils xorg
The following NEW packages will be installed:
libasound2:i386 libglu1-mesa:i386 libjack-jackd2-0:i386 libportaudio0:i386
libportaudio2:i386
0 upgraded, 5 newly installed, 25 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 797 kB of archives.
After this operation, 121 MB disk space will be freed.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libasound2 libjack-jackd2-0 libportaudio0 libportaudio2
Install these packages without verification [y/N]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libasound2 i386 1.0.24.1-0ubuntu10 [418 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libjack-jackd2-0 i386 1.9.7~dfsg-1ubuntu2 [123 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main libglu1-mesa i386 7.11-0ubuntu3.2 [167 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libportaudio0 i386 18.1-7.1 [16.8 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libportaudio2 i386 19+svn20110326-2 [72.4 kB]
Fetched 797 kB in 10s (79.0 kB/s)
(Reading database ...
dpkg: warning: files list file for package `sandboxgamemaker' missing, assuming package has no files currently installed.
(Reading database ... 296084 files and directories currently installed.)
Removing guitarpro6:i386 ...
Removing audacity ...
Removing checkbox-gtk ...
Removing empathy ...
Removing espeak ...
Removing gdebi ...
Removing update-notifier ...
Removing nautilus-gksu ...
Removing gnome-codec-install ...
update-alternatives: using /usr/bin/gst-install to provide /usr/bin/gstreamer-codec-install (gstreamer-codec-install) in auto mode.
Removing gksu ...
Removing hydrogen ...
Removing speech-dispatcher ...
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
Removing libespeak1 ...
Removing libgksu2-0 ...
update-alternatives: removing manually selected alternative - switching libgksu-gconf-defaults to auto mode
Removing libpam-gnome-keyring ...
Removing wireshark ...
Removing libportaudio2 ...
Removing nautilus-sendto-empathy ...
Removing seahorse ...
Removing ubuntu-minimal ...
Removing winetricks ...
Removing sudo ...
Removing xorg ...
Removing x11-apps ...
Removing x11-session-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for gconf2 ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for hicolor-icon-theme ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for install-info ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously deselected package libasound2:i386.
(Reading database ...
dpkg: warning: files list file for package `sandboxgamemaker' missing, assuming package has no files currently installed.
(Reading database ... 292602 files and directories currently installed.)
Unpacking libasound2:i386 (from .../libasound2_1.0.24.1-0ubuntu10_i386.deb) ...
Selecting previously deselected package libjack-jackd2-0:i386.
Unpacking libjack-jackd2-0:i386 (from .../libjack-jackd2-0_1.9.7~dfsg-1ubuntu2_i386.deb) ...
Selecting previously deselected package libglu1-mesa:i386.
Unpacking libglu1-mesa:i386 (from .../libglu1-mesa_7.11-0ubuntu3.2_i386.deb) ...
Selecting previously deselected package libportaudio0:i386.
Unpacking libportaudio0:i386 (from .../libportaudio0_18.1-7.1_i386.deb) ...
Selecting previously deselected package libportaudio2:i386.
Unpacking libportaudio2:i386 (from .../libportaudio2_19+svn20110326-2_i386.deb) ...
Setting up libasound2:i386 (1.0.24.1-0ubuntu10) ...
Setting up libjack-jackd2-0:i386 (1.9.7~dfsg-1ubuntu2) ...
Setting up libglu1-mesa:i386 (7.11-0ubuntu3.2) ...
Setting up libportaudio0:i386 (18.1-7.1) ...
Setting up libportaudio2:i386 (19+svn20110326-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

aos87@ubuntu:/media/Guitar Pro 6$


so as you can a lot of stuff was removed that i need how do i undo do that? my system updater is gone i cant seem to use 'sudo' some programs that i want were removed wth is going on.can some one please help me? i dont want to reinstall i think ive spent more time reinstalling this os than using it.

bart.a
October 24th, 2012, 09:10 AM
It looks to me like there are packages on your system that are updated and your install file expects another version of that file.

'apt-get -f install' fixed broken packages and deleted packages where it dit not have dependencies for and cleaned up your system.. In other words it did just what you asked it to do, but it dit not fix your problem, GuitarPro was not installed..

have you tried the solution posted on this forum? You can find it here (http://ubuntuforums.org/showthread.php?t=1458626)..

If that does not work, or you get the same result, report back and we'll see what packages need to be downgraded to make it work..