LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-get error blocking all new packages and upgrades (https://www.linuxquestions.org/questions/linux-software-2/apt-get-error-blocking-all-new-packages-and-upgrades-599995/)

hedpe 11-15-2007 09:17 PM

apt-get error blocking all new packages and upgrades
 
Hi all,

Code:

gnychis@monster:~$ sudo apt-get install gtkpod
[sudo] password for gnychis:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
gtkpod is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  gtkpod: Depends: libgpod2 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

gnychis@monster:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libgpod2
The following NEW packages will be installed:
  libgpod2
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0B/181kB of archives.
After unpacking 385kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 140069 files and directories currently installed.)
Unpacking libgpod2 (from .../libgpod2_0.5.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgpod2_0.5.2-2_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libgpod.so.2.0.0', which is also in package libgpod1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgpod2_0.5.2-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This error is blocking the installation of all packages, so I would greatly appreciate any help.

- George

iqbaltabrez 11-15-2007 10:22 PM

An earlier version of libgpod2 already seems to be installed on your machine. Try uninstalling it first, then re-install it. Delete /var/cache/apt/archives/libgpod2_0.5.2-2_i386.deb before you try the above.

HappyTux 11-16-2007 12:02 AM

dpkg -i --force-overwrite /var/cache/apt/archives/libgpod2_0.5.2-2_i386.deb to force the package install or you might want to try dpkg -P libgpod1 to see if it will let you uninstall the conflicting package first then try a normal install.


All times are GMT -5. The time now is 02:04 AM.