1

I have some problems with my Ubuntu 14.04. I can get both wireless and wired Internet with it. It is also very slow to start. When I performed any actions like update, upgrade or install, it will show me this message.

W: You may want to run apt-get update to correct these problems
E: The package skype:i386 needs to be reinstalled, but I can't find an archive for it.

How can I solve those issues?

user.dz
  • 48,105
coulou
  • 11
  • 1
  • 4
  • Sorry, I can't get Internet with both wireless and wired network – coulou Jun 22 '14 at 19:30
  • It's not clear to me if you have an Internet connection or not. Please clarify the question, and show exactly which commands you run and the resulting output. – Gunnar Hjalmarsson Jun 22 '14 at 19:54
  • Yes I can get internet connection, but using wired network. But if I want to install any other package or updating my system, it will show me that message about "package skype:i386" needs to be reinstalled, but I can't find an archive for it. And that operation, installing another package stops. – coulou Jun 22 '14 at 20:15
  • Show the content of /etc/apt/sources.list file – enedil Jun 22 '14 at 20:18
  • Here are the contents of /etc/apt/sources.listd – coulou Jun 22 '14 at 21:17
  • Here are the contents of /etc/apt/sources.listd canonical_partner.list google-chrome.list canonical_partner.list.save google-chrome.list.distUpgrade dropbox.list google-chrome.list.save dropbox.list.distUpgrade nhandler-ppa-trusty.list dropbox.list.save nhandler-ppa-trusty.list.save – coulou Jun 22 '14 at 21:18

2 Answers2

2

here's the solution that worked for me, I had the same problem,

dpkg --remove --force-remove-reinstreq skype

If you have any broken package, just replace skype with the name of the package. Try that and let me know if that helped you.

guntbert
  • 13,134
Jake
  • 21
  • just copy and paste- " dpkg --remove --force-remove-reinstreq skype " in the terminal and hit enter and problem solved, :) – Jake Dec 06 '14 at 06:25
0

If apt-get can't find the skype package, the Canonical Partner repository is probably not enabled. I suggest that you enable it and try again.

Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94
  • How to enable skype package? Because I can't even open my Ubuntu Software Center. – coulou Jun 22 '14 at 22:39
  • How to enable Canonical Partner repository? Because I can't even open my Ubuntu Software Center – coulou Jun 22 '14 at 22:41
  • @coulou: Can you please open a terminal window, run sudo apt-get update and sudo apt-get upgrade, and show us all the resulting output? (Edit your question and post it there; don't post it as a comment.) – Gunnar Hjalmarsson Jun 22 '14 at 23:07
  • sudo apt-get upgrade gives me that: W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages) W: You may want to run apt-get update to correct these problems E: The package skype:i386 needs to be reinstalled, but I can't find an archive for it. – coulou Jun 22 '14 at 23:43
  • @coulou: Try removing the skype package: sudo apt-get purge skype and then run sudo apt-get update and sudo apt-get upgrade – Gunnar Hjalmarsson Jun 22 '14 at 23:47
  • it doen't work. update is showing : Err http://ppa.launchpad.net trusty/main Sources
    404 Not Found Err http://ppa.launchpad.net trusty/main amd64 Packages
    404 Not Found Err http://ppa.launchpad.net trusty/main i386 Packages
    404 Not Found
    – coulou Jun 22 '14 at 23:54
  • @coulou: Ignore those errors for now. Did you run all the commands I asked you to run? – Gunnar Hjalmarsson Jun 23 '14 at 00:09